git local repository 생성 c:\practice\html_01 을 git local repository로 생성하고 해당 폴더에 있는 파일 한개를 commit하는 과정을 비디오로 찍어봤다. git remote repository 생성 at bitbucket bitbucket.com 에 remote repository 생성하는 과정을 찍어보았다. 1.http://bitbucket.com 접속 2.로그인 3.remote repository 생성 자주 쓰는 git command ssh-keygen -t rsa -C "oceanfog1@gmail.com" ssh git@github.com git init git commit -am 'add nellow in index.php' git status ..
intelli j에서 console.log() short cut만들기 ctrl+alt+s 누르고 'live templates'로 검색 하면 아래와 같이 나온다. javascript선택 하고 우측 + 버튼 누르면 한줄을 추가 할 수 있는데 위와 같이 추가 하면된다. 위 그림에서 아래쪽 'Define'을 누른다. 위와 같이 언어를 선택 해준다. 이건 javascript이기 때문에 javascript를 선택 해주었다. 설정을 해주고 나서 코딩 할 때 cl 넣고 ctrl+space나 tab 누르면 console.log();가 자동 완성 된다. end.
윈도우에서 nginx, php, mysql(mariadb) 한번에 설치하고 연동하기 - wnmp 요즘은 nginx랑 maria db가 대세입니다. 이유는 엔진엑스는 빠르기 때문이고. maria db는 잘 모르겠지만 구글이 쓴다는 소문 때문인것 같습니다. nginx, php, mysql을 각각 설치하고 연동하는 것이 꽤나 귀찮은 작업 이기 때문에 어떻게 하면 한번에 할 수 있을까 고민 할 때가 있습니다. 그 고민을 해결할 방법으로 wnmp만 설치하면 위 세가지 툴이 설치되고 연동까지 됩니다. 아래 사이트에 들어가서 받을 수 있습니다. https://www.getwnmp.org/ 이 링크가 안된다면 wnmp를 검색하시면 비슷한 어플리케이션들이 많습니다. 다운 받고 실행하면 끝입니다. 설치 하시고 실행 하시면..
nginx, php, mysql 연동 nginx 다운 받아서c:\development\nginx에 압축 해제 php 다운 받아서c:\development\php에 압축 해제 nginx/conf/nignx.conf에 아래 부분처럼 수정location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } c:\development\php에서 아래 명령어 실행php-cgi -b 127.0.0.1:9000 php.ini에 아래 설정을 추가한다.short_open_tag 항목의 값을 on으..
datetime으로 되어있는 field에서 time빼고 date로만 개수 세기 select cast(entry_time as date), count(*) from live_eleven_schedulewhere entry_time between "2016-02-01" and date_add("2016-02-01", interval 1 month)group by cast(entry_time as date) 아래와 같이 date_time으로 되어있는 field도 이렇게 정리 되어서 뽑힘 end.
application.yml spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/likelion-db username: root password: 1234 UserDao @Repository public class UserDao { private final JdbcTemplate jdbcTemplate; public UserDao(JdbcTemplate jdbcTemplate) { this.jdbcTemplate = jdbcTemplate; } public void add(User user) { jdbcTemplate.update("insert into users(id, name, p..
MySql 날짜 1일 더하기 빼기, String 타입 날짜를 date로 변환, date에 format 적용 select * from game where start_datetime >= date_add(curdate(), interval -1 day) and start_datetime '20150910') ) or (a.gdate='20150910' and (a.gstatus = '2' and a.gdate = date_format(now(), '%Y%m%d') ) ) or (a.gdate='20150910' and (a.gstatus = '1' or a.gstatus = '3')) ) order by gtime,dc_lid,home_name 위 쿼리는 아래 내용이 구현된 쿼리 입니다. 1.join 2.날..
- Total
- Today
- Yesterday
- shellscript
- 싱가폴
- 도커각티슈케이스
- docker container tissue
- docker container tissue box
- 2017 티스토리 결산
- Linux
- 도커티슈박스
- 도커각티슈박스
- vim
- docker container
- 도커티슈케이스
- 개발자
- 이직
- docker container case
- Sh
- 도커컨테이너
- docker container whale
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |