SCP는 또 뭐야~?


일단 wiki 에는..(http://en.wikipedia.org/wiki/Secure_copy)


Secure copy or SCP is a means of securely transferring computer files between a local host and a remote host or between two remote hosts. It is based on the Secure Shell (SSH) protocol.

The term SCP can refer to one of two related things, the SCP protocol or the SCP program.


라고 한다.

파일 전송 개념인갑다.



Definition - What does Secure Copy mean?

Secure copy (SCP) is a file transfer protocol, which helps in transferring computer files securely from a local host to a remote host. It works on the Secure Shell (SSH) protocol technique. 

The term secure copy refers to either the SCP protocol or the SCP program. The SCP protocol is a file transfer network protocol, which supports encryption and authentication features. It is based on the Berkeley Software Distribution (BSD) Remote Copy Protocol (RCP), which runs on port 22 using the SSH Protocol.



Techopedia explains Secure Copy

SCP can be called more of a combination of RCP and SSH than a protocol because the file transfer is performed using RCP and authentication and encryption are provided by the SSH Protocol. SCP maintains the confidentiality of the data being transferred and protects the authenticity by blocking packet sniffers from extracting valuable information from the data packets.

The SSH protocol supports the inclusion of basic attributes like permissions and timestamps for the file to be uploaded. The inclusion of a date/timestamp attribute is not supported in common FTP. The client provides the server with all the files to be uploaded. A request for downloading the files and directories is sent by the client. The server provides the client with all the subdirectories and files available for download. Since the download is controlled by the server, there are chances of security risks when connected to a malicious server. 

On the other hand, the SCP program implements the SCP protocol as a client or a service daemon. The SCP server program and the SCP client are one and the same. A typical example of an SCP program is the command line SCP program available with most of the SSH implementations.



rsync 가 뭘까? 알씽크..


웬지 맘에 드는 알 ㅋㅋ


wiki 에 의하면 (http://en.wikipedia.org/wiki/Rsync)


rsync is a utility software and network protocol for Unix-like systems (with a port to Microsoft Windows) that synchronizes files and directories from one location to another while minimizing data transfer by using delta encoding when appropriate. It also has the option to provide encrypted transfer by use of SSH. SSL encrypted transfer can be done via Stunnel wrapping. Quoting the official website: "rsync is a file transfer program for Unix systems. rsync uses the 'rsync algorithm' which provides a very fast method for bringing remote files into sync."[3] A feature of rsync not found in most similar programs/protocols[citation needed] is that the mirroring takes place with only one transmission in each direction, eliminating the message latency overhead inherent in transmitting a large number of small messages.[4] rsync can copy or display directory contents and copy files, optionally using compression and recursion.

For secure transfer, rsync can use SSH to encrypt data during the transfer using the "-e ssh" option. From the man page: "For remote transfers, a modern rsync uses ssh for its communications, but it may have been configured to use a different remote shell by default, such as rsh or remsh."

In daemon mode, rsync listens by default on TCP port 873, serving files in the native rsync protocol (using the "rsync://" syntax). You can also implicitly start it through a remote shell such as RSH or SSH[5] (using the "user@host:[:]" syntax. The "::" mode is not well described and not easy to use). Of course, in both cases you need an rsync client executable installed on the local machine; in the latter case, the client executable acts as a server.

Released under the GNU General Public License version 3, rsync is free software and is widely used.[6][7][8][9]


라고 한다.. 먼말인지 알겠음??


나는머.. 그래서 한글 찾아봄..

http://dev.jpblog.co.kr/21

http://www.joinc.co.kr/modules/moniwiki/wiki.php/Site/Tip/Rsync


위 두곳이 정리가 잘 되어 있음.. 정말 잘되어있다.


끝.

mkdir project # 프로젝트 디렉터리 생성

cd project

git init # 깃 초기화


# 그다음에 아무 파일이나 push 한번하자... master 브랜치 생성을 위함


# 다른 경로로 이동


mkdir project.git # bare 폴더 생성

git clone --bare /project ./project.git # bare 만듦

mv hooks/post-update.sample hooks/post-update # post-update 활성

chmod a+x hooks/post-update # 권한, 이미 권한이 있긴함

git update-server-info # 서버 정보 업데이트, 안하면 clone 할때 정보를 찾을 수 없다고 나옴


# apache 설정 (원하는대로 변경가능)


Alias /git /data/git/hook


<Location /git/project.git>

  Options Indexes

  DAV on

  AuthType Basic

  AuthName "Git"

  AuthUserFile /data/git/pwd/passwd.dav

  Require valid-user

</Location>


# apache webdav 용 인증 파일 생성


htpasswd -c /var/www/web1/passwd.dav test

chown root:www-data /var/www/web1/passwd.dav

chmod 640 /var/www/web1/passwd.dav


# 추가 gitweb

# git 저장소를 한눈에 볼 수 있다~ 편함


Alias /gitweb /usr/share/gitweb


<VirtualHost *:80>

    ServerName swgitweb.estsoft.com

    DocumentRoot /usr/share/gitweb

    

    <Directory /usr/share/gitweb>

        Options ExecCGI +FollowSymLinks +SymLinksIfOwnerMatch

        AllowOverride All

        order allow,deny

        Allow from all

        AddHandler cgi-script cgi

        DirectoryIndex gitweb.cgi

    </Directory>

</VirtualHost>

C# Datetime 타임존 변경 표시 방법


TimeZoneInfo.ConvertTime(Convert.ToDateTime(Eval("Timestamp")), TimeZoneInfo.Utc, TimeZoneInfo.Local)

티스토리 초대장 드립니다.


댓글로 남겨주세요. ^^


제목은 낚시고 wc 비슷하게 쓸수있는 방법을 소개하고자 한다.

find /c 를 이용하면 되는데 예제는 다음과 같다.


find "string" /c file.txt

또는 와일드 카드를 쓰고싶으면 findstr과 결합해도될다.


findstr "string" file.* | find "string" /c


리눅스는 거의 모든 메모리를 캐시로 활용하여 top같은 명령으로는 얼마나 메모리를 실제로 사용하는지 알 수 없다. 하지만 ps -aux 를 하면 프로세스별 메모리 사용량을 볼 수 있다.


%CPU cpu 사용비율추정치

%MEM 메모리 사용비율추정치

VSZ 가상메모리사용량

RSS 실제메모리사용량

STAT 현재프로세스상태

R 실행중

S 수면상태

I 휴식상태(idle, intermediate)

T 정지상태

TIME 총 CPU 시간

COMMAND 실행된 명령어


VSZ와 RSS는 KiB 단위. 즉, 1024-byte units.

mysql일 경우 config.php에서 driver 를 mysql -> mysqli 로 변경하고,


CodeIgniter and stored procedures multiple call problem

http://blog.kouratoras.gr/2011/06/codeigniter-and-stored-procedures-multiple-call-problem/



/system/database/drivers/mysqli/mysqli_result.php 파일을 수정하자.


function free_result()

{

if (is_object($this->result_id))

{

mysqli_free_result($this->result_id);

$this->result_id = FALSE;

}

}

 

위 구문을 아래처럼 바꾸면 된다.


function free_result()

{

if (is_object($this->result_id)) {

mysqli_free_result($this->result_id);

while ($this->conn_id->next_result()) {

$result = $this->conn_id->use_result();

if ($result instanceof mysqli_result) {

$result->free();

}

}

$this->result_id = FALSE;

}

}


mysql prepare stmt 셈플

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

-- Routine DDL

-- Note: comments before and after the routine body will not be stored by the server

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

DELIMITER $$


CREATE PROCEDURE `getmemberid` (

p_member_no int

)

BEGIN

set @_p_member_no = p_member_no;


  set @_sql = "select userid from memeber where memeberno = ?";


  prepare stmt from  @_sql;


  execute stmt using 

    @_p_member_no;


deallocate prepare stmt;


END


var dict = new Dictionary<int, string>();
foreach (var name in Enum.GetNames(typeof(Translation)))
{
    dict.Add((int)Enum.Parse(typeof(Translation), name), name);
}

http://stackoverflow.com/questions/1599386/coverting-enums-to-key-value-pairs


위 방법이 좋아보임.

ln(Link)                                                                                                               

i-node는 파일의 생성과 동시에 임의로 부여되며,  번호확인은 ls -i 로 확인할 수 있다. 또한  리눅스에서는 모든 디 

  바이스나 디렉토리를 파일개념으로 인식하기 때문에 전부 inode를 부여받는다.  만약 inode가 같은 파일이 있다면   

  파일 이름이 다르더라도 이 파일은 같은 파일이 된다.

* 하나의 특정한 파일을 다른 파일 이름으로도 사용하고자 할 때 사용                                                      

* cp명령은 원본 파일의 내용을 바꾸어도 복사된 파일의 내용이 그대로 있는데                                              

   ln명령은 원본 파일의 내용을 바꾸면 링크된 파일의 내용도 바뀜                                                       

* 링크된 파일의 어느 한 파일을 수정하면 링크된 다른 파일 모두가 수정됨                                                 

* 특정 파일이 ln멸령으로 생성된 다른 파일에 관계없이 실제로는 하나의 파일만 존재하는 것을 의미                         

* 링크를 부여하는 방법으로는 하드링크와 심볼릭링크가 있음                                                              

* 일반적으로 사용자들이 주로 사용하는 링크는 심복릭링크이며, 윈도우의 바로가기 아이콘도 심볼릭링크                     

                                                                                                                       

하드링크(Hard Link)                                                                                                    

* 하드 링크는 일반 파일을 링크할 때 주로 이용하며, 옵션없이 ln 명령으로 링크시키면 된다. 생성된 링크 파일은 원     래 파일의 inode(index node라 하며 파일에 대한 정보가 저장된 레코드)를 그대로 참조하기에 원 파일이 지워져도    아무런 문제가 되지 않는다.

* 하나의 파일에 여러 개의 이름을 부여하는 것                                                                           

* 같은 파일을 이름만 다르게 부르는 것                                                                                  

* 원본 파일과 같은 데이터 파일을 공유                                                                                  

* 원본 파일의 이름이 바뀌어도 사용이 가능                                                                              

* 파일을 없애려면 링크로 생성된 링크 파일을 모두 지워야 함                                                             

* 다른 파일 시스템 간에는 링크를 할 수 없음                                                                            

*사용방법 : $ln(원본파일명)(대상파일명)                                                                                

                                                                                                                       

심볼릭링크(Symbolic Link)                                                                                              

* 심볼릭 링크는 주로 디렉토리를 링크할 때 사용한다. 원 파일이 삭제되면 실제 데이터 블럭을 참조하던 inode도 삭      제되어, 심볼릭 링크된 파일은 의미가 없어진다.

* 윈도우 운영체제의 '바로가기 아이콘'과 유사                                                                           

* 링크로 생성된 파일에 내용은 존재하지 않으며, 각각의 i-node를 가진 또 다른 파일이 어디를 가리키고 있는지 알려주는 역할

* 하드링크와는 다르게 링크를 다른 곳으로 이동시키면 링크가 깨져서 사용을 하지 못함                                     

* 다른 파일 시스템 간에 생성할 수 있어 다른 파티션에 링크 파일을 생성 가능                                             

* 원본파일 이름이 바뀌면 사용하지 못함                                                                                 

*사용방법 : $ln -s(원본파일명)(대상파일명)



Usage: ln [OPTION]... [-T] TARGET LINK_NAME   (1st form)

  or:  ln [OPTION]... TARGET                  (2nd form)

  or:  ln [OPTION]... TARGET... DIRECTORY     (3rd form)

  or:  ln [OPTION]... -t DIRECTORY TARGET...  (4th form)

In the 1st form, create a link to TARGET with the name LINK_NAME.

In the 2nd form, create a link to TARGET in the current directory.

In the 3rd and 4th forms, create links to each TARGET in DIRECTORY.

Create hard links by default, symbolic links with --symbolic.

When creating hard links, each TARGET must exist.

긴 옵션에서 꼭 필요한 인수는 짧은 옵션에도 꼭 필요합니다.

      --backup[=CONTROL]      make a backup of each existing destination file

  -b                          like --backup but does not accept an argument

  -d, -F, --directory         allow the superuser to attempt to hard link

                                directories (note: will probably fail due to

                                system restrictions, even for the superuser)

  -f, --force                 remove existing destination files

  -n, --no-dereference        treat destination that is a symlink to a

                                directory as if it were a normal file

  -i, --interactive           prompt whether to remove destinations

  -s, --symbolic              make symbolic links instead of hard links

  -S, --suffix=SUFFIX         override the usual backup suffix

  -t, --target-directory=DIRECTORY  specify the DIRECTORY in which to create

                                the links

  -T, --no-target-directory   treat LINK_NAME as a normal file

  -v, --verbose               print name of each file before linking

      --help     이 도움말을 표시하고 끝냅니다

      --version  버전 정보를 출력하고 끝냅니다


The backup suffix is `~', unless set with --suffix or SIMPLE_BACKUP_SUFFIX.

The version control method may be selected via the --backup option or through

the VERSION_CONTROL environment variable.  Here are the values:

none, off       never make backups (even if --backup is given)

numbered, t     make numbered backups

existing, nil   numbered if numbered backups exist, simple otherwise

simple, never   always make simple backups



자바 가상 머신(영어: Java Virtual MachineJVM)은 자바 바이트코드를 실행할 수 있는 주체이다. 일반적으로 인터프리터나 JIT 컴파일 방식으로 다른 컴퓨터 위에서 바이트코드를 실행할 수 있도록 구현되나 자바 프로세서처럼 하드웨어와 소프트웨어를 혼합해 구현하는 경우도 있다. (이론적으로는 100% 하드웨어 구현도 가능하나 비효율적이다) 자바 바이트코드는 플랫폼에 독립적이며 모든 자바 가상 머신은 자바 가상 머신 규격에 정의된 대로 자바 바이트코드를 실행한다. 따라서 표준 자바 API까지 동일한 동작을 하도록 구현한 상태에서는 이론적으로 모든 자바 프로그램은 CPU나 운영 체제의 종류와 무관하게 동일하게 동작할 것을 보장한다.


위키 

http://ko.wikipedia.org/




JDK, JRE, JVM

출처: http://arabiannight.tistory.com/302

JDK : Java Development Kit

말 그대로 자바 개발을 위한 도구(Kit) 입니다. 자바 컴파일러(Javac), 자바가상머신(JVM), 각종 Java Libary 등을 포함하고 있어서 자바 개발을 위한 필수 도구(Kit) 입니다. JDK는 JRE를 포함하고 있습니다. (JDK 설치시 JRE도 설치됨)


JRE : Java Run Environment

역시 말 그대로 자바 실행 환경 이라고 보면 됩니다. Java 파일 실행을 위한 환경이며 JVM이 실행되도록 도와 주는 역할을 합니다. 만약 자바 개발이 필요없고 실행만을 원한다면 JRE만 설치하고 Java 파일을 실행하면 됩니다.


JVM : Java Virtual Machine

사용자가 Java 파일을 생성한 후 JDK의 컴파일을 거쳐 바이트코드(.class)가 되어 JVM을 거치면 컴퓨터가 사용할 수 있는 기계언어로 변경해주는 역할을 합니다.


자바 실행 흐름 : 사용자 Java 코드 생성 -> JDK 컴파일 (.class 파일 생성) ->  JVM -> 실행



JVM이란?


출처 : http://romenz.tistory.com/2


 Java Virtual Machine 를 줄인 것으로 자바를 실행하기 위한 기계라고 할 수 있다.

가상머신은 소프트웨어로 구현된 하드웨어를 뜻하는 넓은 의미의 용어로, 마찬가지로 가상컴퓨터라는 것은 컴퓨터 안에 소프트웨어로 구성된 가상의 컴퓨터 즉 컴퓨터 속에 컴퓨터라고 생각하면 된다.


자바로 작성된 것은 모두 JVM을 통해 실행되기 때문에, 자바를 코딩하고 실행하기 위해서는 컴퓨터기기에 반드시 JVM이 설치되어 있어야 한다.


일반 윈도우나 리눅스 응용프로그램들은 OS를 통해 하드웨어나 기타 제어를 하게 되는데 Java의 경우 가상머신(JVM)을 한 번 더 거치기 때문에 실행시 속도가 약간 느리다는 단점이 있다. 그러나 향상된 컴파일러 기술이 적용되어 속도의 격차는 현재도 줄어들고 있다.


JVM은 OS에 맞는 것이 필요하기 때문에 자신의 컴퓨터에 깔려있는 OS에 맞는 JVM을 설치해야 한다.


머 별거 있겠나 싶은..


그래서 찾아본 것..


WPF(Windows Presentation Foundation)는 시각적으로 뛰어난 사용자 환경에서 Windows 클라이언트 응용 프로그램을 만들 수 있는 차세대 프레젠테이션 시스템입니다. WPF를 사용하면 광범위한 독립 실행형 응용 프로그램과 브라우저에서 호스팅되는 응용 프로그램을 모두 만들 수 있습니다.


먼소리래??


그래 좀 보쟈..


http://msdn.microsoft.com/ko-kr/library/aa970268(v=vs.110).aspx



링크는 저러하고..


아래와 같은 목록으로 되어 있음..




차근차근 봅시다!!




http://jmnote.com/wiki/VirtualBox_%EB%A6%AC%EB%88%85%EC%8A%A4_SSH_%EC%97%B0%EA%B2%B0_(NAT)


VirtualBox 관리자에서 포트포워딩 설정

  • "Oracle VM VirtualBox 관리자" --- [파일(F)] --- [환경 설정(P)...]
  • "VirtualBox - 설정" --- 네트워크 --- VirtualBox Host-Only Ethernet Adapter 선택 --- 오른쪽의 드라이버 아이콘 클릭
  • "호스트 전용 네트워크 정보" --- 어댑터(A) --- IPv4 주소(I)에 있는 IP를 복사 Ctrl+C (예: 169.254.126.146) --- [확인]
  • [확인]
  • "Oracle VM VirtualBox 관리자" --- 리눅스 VM 우클릭 --- [설정(S)...]
  • "VM이름 - 설정" --- 네트워크 --- 어댑터 1 --- [포트 포워딩(P)]
  • "포트 포워딩 규칙" --- 오른쪽 [+] 아이콘 클릭
  • 호스트 IP에 아까 복사한 IP 붙여넣기 ( Ctrl+V ) --- 호스트 포트: 22 --- 게스트 IP 입력[2] --- 게스트 포트: 22 --- [확인]
  • [확인]


요즘 경제책 보고있는데 흥미롭다. 그동안 내가 소프트웨어 이외의 분야에 흥미를 느낄수 있을 것이라고는 생각 못했다. 결론, 똑똑한 것들은 쉽게 돈벌고 있다. 지금 이 순간에도!! 짱나~

프랑스어로 은행(banque)과 보험(assurance)의 합성어로, 은행과 보험회사가 상호제휴와 업무협력을 통해 종합금융서비스를 제공하는 새로운 금융결합 형태이다. 은행과 보험사가 상호제휴와 업무협력을 통해 종합금융서비스를 제공하는 새로운 형태의 금융 서비스로, 보험사는 은행의 전국전인 점포망을 통해 판매채널을 손쉽게 확보할 수 있고, 은행으로서는 각종 수수료 수입을 기대할 수 있으며 부실채권을 방지할 수 있다.

프랑스 등 선진국 금융기관에서 활발히 판매되고 있는 상품이다. 1986년 프랑스 아그리콜은행이 프레디카 생명보험사를 자회사로 설립하여 은행 창구에서 보험 상품을 판매하면서 방카슈랑스가 처음 출현하였다. 이후 영국 독일 네덜란드 등 금융업종 간 경계가 느슨한 유럽 지역에서 유행하다가 최근에는 전 세계의 금융시장으로 확산되고 있다. 프랑스의 경우 2011년 기준으로 생명보험 상품의 절반 이상이 은행을 통해 판매되고 있다. 유럽 전체로는 20% 이상, 미국도 생명보험 상품의 13%가 방카슈랑스 형태라는 통계가 있다. 일본은 2001년 4월부터 자회사의 일부 보험 상품에 한정하여 판매제휴를 허용하고 있다. 우리나라에서는 방카슈랑스가 2003년 8월 말 도입되었다.

우리나라의 방카슈랑스 제도

방카슈랑스 대상 기관은 시중은행과 증권, 상호저축은행 이외에 시중은행과 유사 기능을 수행하는 산업은행과 기업은행, 신용카드사도 포함된다. 우리나라에서는 2003년 8월부터 은행과 증권사 창구에서 저축성보험의 판매가 시작되었고, 2007년 4월 보험상품판매가 완전 개방되었다. 방카슈랑스의 반대 개념인 어슈어뱅크(assurbank)은 보험회사의 보험모집인 등 풍부한 인력을 활용해 은행의 금융상품을 판매하는 것으로, 프랑스의 AGF사가 어슈어뱅킹을 활용하는 대표적인 회사이다.

[네이버 지식백과] 방카슈랑스 [bancassurance] (시사상식사전, 박문각)



SELECT AUTO_INCREMENT
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = "databaseName"
AND TABLE_NAME = "tableName"


http://www.bram.us/2008/07/30/mysql-get-next-auto_increment-value-fromfor-table/


좋은 방법인지는... 글쎄

Bash

위키백과, 우리 모두의 백과사전.


Bash (Bourne-again shell, 본 어게인 셸)은 본 셸을 대체하는 자유 소프트웨어로서 GNU 프로젝트를 위해 브라이언 폭스(Brian Fox)가 작성한 유닉스 셸이다.[2][3] 1989년 발표되어 GNU 운영 체제와 리눅스맥 OS X 그리고 다윈 등 운영 체제의 기본 셸로 탑재되어 광범위하게 배포 되었다. 또한 DJGPP와 노벨 넷웨어에 의해 도스로 이식되었고 시그윈과 MinGW의 배포로 마이크로소프트 윈도로 이식되었다.

특성[편집]

Bash 명령어의 문법은 거의 대부분이 sh와 호환되어 쓰일 수 있다. 또한 kshcsh 에서 많은 아이디어를 받아서 명령 히스토리, 디렉터리 스택, $RANDOMPOSIX 형식 명령어 치환 등을 지원한다. 또한 입력 중에 명령어나 파일 이름을 자동 완성해 주는 기능도 지원한다.

주석[편집]

  1. 이동 GNU Project. README file. “Bash is free software, distributed under the terms of the [GNU] General Public License as published by the Free Software Foundation, version 3 of the License (or any later version).”
  2. 이동 Richard Stallman (forwarded with comments by Chet Ramey) (February 10, 1988). GNU + BSD = ?. comp.unix.questions. Mar 22, 2011에 확인. “For a year and a half, the GNU shell was "just about done". The author made repeated promises to deliver what he had done, and never kept them. Finally I could no longer believe he would ever deliver anything. So Foundation staff member Brian Fox is now implementing an imitation of the Bourne shell.”
  3. 이동 [Hamilton] (May 30, 2008). The A-Z of Programming Languages: BASH/Bourne-Again Shell. 《Computerworld》: 2. Mar 21, 2011에 확인. “When Richard Stallman decided to create a full replacement for the then-encumbered Unix systems, he knew that he would eventually have to have replacements for all of the common utilities, especially the standard shell, and those replacements would have to have acceptable licensing.”

바깥 고리[편집]



Bash demo.png
Bash와 본 셸 세션의 화면
원저자브라이언 폭스
발표일1989년 6월 7일
최근 버전4.2
(2011년 02월 13일, 1124일 경과)
프로그래밍 언어C
운영 체제크로스 플랫폼
플랫폼GNU
언어영어, 다국어
종류유닉스 셸
라이선스GNU 일반 공중 사용 허가서 버전 3+[1]
웹사이트Bash GNU 프로젝트 웹 사이트


http://googledrive.blogspot.kr/2014/03/save-more-with-google-drive.html?m=1

원래 한달에 4달러 정도 내고 100GB 였는데
이제는 1달러대.. 결제고고~

참, 기존 4달러 상품 가입시 변경안하면 계속 4달러로 결제됨 ㅋ

토르? 를 이용하면된다.


토르(Tor)는 자유 소프트웨어 이며 온라인 상에서의 익명을 보장하고 검열을 피할수 있게 해준다. 미국 해군 연구소에서 최초로 시작하여 현재는 EFF 프로젝트에서 관리되고 있다. EFF는 2005년 11월까지 토르를 재정적으로 지원하고 있었고, 현재도 웹 호스팅을 지원하고 있다.


토르는 트래픽 분석 공격으로부터 보호해 주며, 양파 라우터를 거쳐서 네트워크를 사용한다. 나가는 연결이 익명으로 처리되며, 숨겨진 서비스를 사용할 수 있다.


http://ko.wikipedia.org/wiki/%ED%86%A0%EB%A5%B4_(%EB%84%A4%ED%8A%B8%EC%9B%8C%ED%81%AC)


https://www.torproject.org


멋지다!

http://goo.gl/JBQmPa에서 ARM Translation Installer를 다운받고 Genymotion 애뮬 위로 드래그 후 설치


그리고 아래 파일 받고 설치


Google Apps for Android 4.3 - http://goo.im/gapps/gapps-jb-20130813-signed.zip

Google Apps for Android 4.2 - http://goo.im/gapps/gapps-jb-20130812-signed.zip

Google Apps for Android 4.1 - http://goo.im/gapps/gapps-jb-20121011-signed.zip


당황하지 않고... 끝.

http://stackoverflow.com/questions/5343068/is-there-a-way-to-skip-password-typing-when-using-https-github


git config credential.helper store


또는


git config --global credential.helper store



http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade


  • mysqldump로 디비 백업 (유실 대비)
  • /usr/bin/mysqldump -u <username> -p<password> <redmine_database> | gzip > /path/to/backup/db/redmine_`date +%y_%m_%d`.gz

  • 패키지 다운로드 redmine.org 에서 최신버전 다운로드
  • 특정 위치에 압축 해제, 원하는 곳에!
  • 기존 구버전에서 config/database.yml 복사
  • 구버전에서 config/configuration.yml 복사
  • files 디렉터리 복사 (cp -a 옵션 사용하면 편리)
  • plugins 디렉터리 복사
  • public/plugin_assets apache.apache 755 폴더 생성. files, log, tmp 폴더도 포함
  • tmp 폴더 하위 모두 apache.apache 으로 소유자 변경
  • bundle install --without development test 실행
  • rake generate_secret_token
  • 디비 마이그레이션
    • rake db:migrate RAILS_ENV=production 
    • rake redmine:plugins:migrate RAILS_ENV=production 
  • 정리
    • rake tmp:cache:clear
    • rake tmp:sessions:clear
  • service httpd restart


만약 인터넷이 안되면, 아래처럼 gem을 하나씩 설치하는 방법도 있다.


gem install --local ~/?

bundle install --local --without development test

svg  as "image/svg+xml"
ttf  as "application/x-font-ttf" or "application/x-font-truetype"
otf  as "application/x-font-opentype"
woff as "application/font-woff" (per my last paragraph)
eot  as "application/vnd.ms-fontobject"


뉴스위크가 까발림. 놀라운건 진짜 이름이 나가모토 사토시..;;


http://www.zdnet.co.kr/news/news_view.asp?artice_id=20140307114021


하지만 괜히 까발려서 욕먹는 중.


http://mag.newsweek.com/2014/03/14/bitcoin-satoshi-nakamoto.html

https://github.com/NYTimes/document-viewer


쓸만한데? 일단 킵

Backbone.js은 우선 underscore.js에 종속적인 라이브러리이다.

underscore.js는 underscorejs.org에서 찾을 수 있고 Backbone.js은 여기 http://backbonejs.org

underscore는 javascript의 유용한 함수들을 제공하는데 예를들면 map이나 forEach, filter, indexOf 등이다.


Backbone과 jQuery가 약간 중복될 수 있는데 관점은 좀 다르다.

Backbone은 데이터 모델 관점이고 jQuery는 페이지 객체관점이라고 생각할수있겠다.


단적인 예로 애니메이션을 구현하기 위해서는 jQuery를,

사진 앨범을 구현하는데 사용자의 액션에 따라 큰사진, 작은사진, 썸네일등이 바인딩되는 관점이라면 Backbone을 쓰자.



나도 아진 backbone은 안써봐서 더 자세히는 모르겠지만...이쯤만, 나중에 한번써보지 뭐,



http://stackoverflow.com/questions/9715295/backbone-js-and-jquery

http://www.greensock.com/


GreeSock 도 좋은 대안이다. 참고. 하지만 상업용일 경우 라이선스 주의.



GSAP 를 이용한 셈플 사이트


http://mimetic.cmiscm.com/

Google Chrome icon does not show on Taskbar 


위와 같이 크롬 아이콘이 보이지 않을때는..

약간 병맛같지만 IE를 기본 인터넷 프로그램으로 지정하면 잘 나온다.


아래 나와같은 문제 사람들..


http://superuser.com/questions/460401/google-chrome-icon-not-visible



+ Recent posts