wget http://nginx.org/download/nginx-1.9.9.tar.gz
tar xvfz nginx-1.9.9.tar.gz
yum install gcc

yum install pcre
yum install pcre-devel


 ./configure --prefix=/usr/local/nginx-1.9.9

make

make install



16.2.16

수정


yum -y install gcc g++ cpp gcc-c++

yum -y install pcre-devel

yum -y install openssl openssl-devel

yum -y install gd gd-devel


./configure --prefix=/usr/local/nginx-1.9.9 --with-http_stub_status_module --with-http_realip_module --with-http_ssl_module



make 

make install



cd /usr/local

ln -s nginx-1.9.9 nginx




서비스 등록

http://czar.tistory.com/1017

Posted by [czar]
,

시작버튼에서 마우스 오른쪽 누르고
명령프롬프트(관리자) 선택하고
명령프롬프트에서 
powershell 치고 엔터
그리고 
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
위 명령어 입력

빨강 에러 떠도 무시





  1. Open Windows PowerShell as Administrator
    1. Right click Start button
    2. Choose Command prompt (Admin)
    3. Key in Powershell in the black window and hit Enter
  2. Paste the following command in the Administrator: Windows PowerShell window and press Enterkey:
    Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}


Posted by [czar]
,

롤리팝 버전에서 

framelayout 을 적용했는데 

원하는 레이아웃이 안보일때


<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MainActivity">

    <Button
        android:id="@+id/some_btn"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true"
        android:layout_gravity="center"
        android:text="button"/>

    <mycustomframelayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#000000"/>

</FrameLayout>
button 에 android:stateListAnimator="@null" 추가하면 정상적으로 보임






Posted by [czar]
,


http://googledevkr.blogspot.kr/2015_06_01_archive.html

도구 모음 축소하기

도구 모음을 AppBarLayout에 직접 추가하면 enterAlwaysCollapsed exitUntilCollapsed 스크롤 플래그에 액세스할 수 있지만, 여러 가지 요소가 축소 작업에 대해 어떻게 반응할지에 대한 상세한 제어 능력은 갖출 수 없습니다. 그렇게 하려면 CollapsingToolbarLayout을 사용하면 됩니다.

<android.support.design.widget.AppBarLayout
       android:layout_height="192dp"
       android:layout_width="match_parent">
   <android.support.design.widget.CollapsingToolbarLayout
           android:layout_width="match_parent"
           android:layout_height="match_parent"
           app:layout_scrollFlags="scroll|exitUntilCollapsed">
       <android.support.v7.widget.Toolbar
               android:layout_height="?attr/actionBarSize"
               android:layout_width="match_parent"
               app:layout_collapseMode="pin"/>
       </android.support.design.widget.CollapsingToolbarLayout>
</android.support.design.widget.AppBarLayout>



이 설정에서는 CollapsingToolbarLayoutapp:layout_collapseMode="pin"을 사용하여 보기가 축소되는 동안 도구 모음 자체는 화면 맨 위에 고정된 상태로 유지되도록 합니다. 이보다 더 좋은 점은, CollapsingToolbarLayout과 도구 모음을 함께 사용하는 경우 레이아웃이 완전히 표시되면 제목이 자동으로 더 크게 나타났다가 레이아웃이 축소되면서 제목도 기본 크기로 전환된다는 것입니다. 이와 같은 경우 도구 모음 자체에서보다는 CollapsingToolbarLayout에서 setTitle()을 호출하는 것이 좋다는 점을 알아두세요.


Posted by [czar]
,

사용할 sub 도메인 (xxx .tistory.com)
이메일주소
를 댓글로 적어주시면 초대해 드리겠습니다.

'TISTORY' 카테고리의 다른 글

티스토리 초대장 5장..  (13) 2006.09.18
Posted by [czar]
,

http://letsencrypt.readthedocs.org/en/latest/using.html#letsencrypt-auto


무료 ssl 인증서

Posted by [czar]
,

http://www.09chunha.com/product/detail.html?product_no=76&cate_no=29&display_group=1


대패

Posted by [czar]
,


Posted by [czar]
,



메인보드에서도 ht 설정되어 있는데

안될때 


Hardware_Accelerated_Execution_Manager 


intelhaxm-android 설치 오류


윈도우 프로그램에서 

hyper-v 가 설정되어 있으면 설정안함으로 하고 재시작



제어판 - 프로그램 및 기능 - 윈도우 기능 켜기 / 끄기에서


hyper-v 체크되어 있으면 체크하지 말고 




-----------------

The best thing you can do to get HAXM detect VT again, is turning the whole Hyper-V "Feature" off. Open "Control Panel -> "Programs" -> "Turn Windows features on or off" (under "Programs and Features") and locate "Hyper-V", uncheck, reboot.



Posted by [czar]
,


안드로이드스튜디오에서 


import android.net.http.AndroidHttpClient;

사용안될때

build.gradle에


android {
    useLibrary 'org.apache.http.legacy'
}



추가

Posted by [czar]
,