TV, Pig, Bug Crazy cars on the road even today. Where the children are? Empty playground. I spent all day long, in front of TV. Fill up and up but still poor world, our greed shoot up to the sky. I ate and ate again all day long, like a pig. Face up but don't be afraid. The pipe dream world. How soon will the sorrow of river meet the blue sea. Don't be angry, you'll be tired. Don't argue against..
뜬금없이...는 아니고 예전에 쓰다 말고 비공개로 방치해둔 걸... 오늘 발견 -_-;;; 휴가 마지막날 한라산 올라갔다가... 대략 1분에 걸쳐서 천천히 구름이 백록담을 넘어가는 동영상을 찍었는데... 인스타그램은 15초만 재생할 뿐이고~ 구간을 이리저리 바꿔봐도 15초만 놓고 보면 움직이는지 마는지 느낌도 없고... 그래서! 뒤져보았습니다. 결론은 ffmpeg!! $ ffmpeg -i ~baekrokdam.mov -vf "setpts=(1/4)*PTS" -an baekrokdam4x.mov 여기서 "setpts=(1/4)*PTS"의 1/4를 원하는 배속으로 바꿔주면 됨. 오디오는 재생 속도가 변경되지 않으므로 -an 옵션으로 오디오 제거. 요걸 응용하면, 최근 인스타그램에서 나온 hyperlapse ..
주의: 예제 코드 따위(!) 없음. 최근 회사 일로 nodejs에서 mysql을 쓰고 있는데, node-mysql로 날코딩 - 특히 connection pooling, validation, pyramid-of-doom - 하는 게 맘에 걸려서 ORM 비슷한 걸 써볼까 궁리질 중... 구글링을 해보니 역시나 비슷한 고민들이 스택에 넘치네...: http://stackoverflow.com/questions/21309311/nodejs-orm-which-one-is-best-formysql http://stackoverflow.com/questions/6007353/which-orm-should-i-use-for-node-js-and-mysql 메이저한 것들로는: sequelize.js 2.0.0-rc1, ..
오랜만에 mysql 닭질... 별 생각없이 허접한 테이블을 만들어서 brew로 설치한 mariadb로 잘 쓰고 있었는데... CREATE TABLE foo ( ... created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, ...); 진짜 mysql이 깔린 리눅스 서버에 배포하다가... 밑도 끝도 없는 에러~(두둥!) ERROR 1294 (HY000) at line 2: Invalid ON UPDATE clause for 'created_at' column구글링을 좀 해보니... http://jasonbos.c..
- Total
- Today
- Yesterday
- JavaScript
- CSS
- Eclipse
- 노래
- ****
- Prototype
- 영화
- 장필순
- ***
- maven
- Ajax
- Dojo
- 독후감
- HTML5
- 땅끝마을
- 자전거
- docker
- nodejs
- ***1/2
- 자바스크립트
- DeveloperWorks
- Java
- 해남
- webapp
- jQuery
- 책
- web
- 여행
- **
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |