이 프로젝트에서 사용하는 용어의 정의. 새 세션에서 용어를 멋대로 해석하는 것을 방지. 용어 추가/수정 시 반드시 사용자 확인 후 반영.
SDD (Spec Driven Development)
| # OS generated files | |
| .DS_Store | |
| .DS_Store? | |
| ehthumbs.db | |
| Icon? | |
| Thumbs.db | |
| # XCode 4 | |
| *.xcuserstate | |
| *.pbxuser |
| [-:] redism@~: ab -n 10000 -c 10 http://127.0.0.1:2131/files/5b68e493-5055-47b3-91e4-ea11c4cd180c.jpg | |
| This is ApacheBench, Version 2.3 <$Revision: 655654 $> | |
| Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
| Licensed to The Apache Software Foundation, http://www.apache.org/ | |
| Benchmarking 127.0.0.1 (be patient) | |
| Completed 1000 requests | |
| Completed 2000 requests | |
| Completed 3000 requests | |
| Completed 4000 requests |
| [-:] redism@~: ab -n 10000 -c 10 http://127.0.0.1:2131/api/user/1 | |
| This is ApacheBench, Version 2.3 <$Revision: 655654 $> | |
| Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
| Licensed to The Apache Software Foundation, http://www.apache.org/ | |
| Benchmarking 127.0.0.1 (be patient) | |
| Finished 10000 requests | |
| Server Software: |
| /** | |
| * A simple socket.io client for performance benchmark | |
| * | |
| * Created by redism on 2014. 4. 22.. | |
| */ | |
| var SocketIO = require('socket.io-client'), | |
| argv = require('optimist').argv; | |
| var n = argv.n || 10; |
| var Adder = function Adder() { | |
| console.log(arguments); | |
| this.list = Array.prototype.slice.apply(arguments); | |
| }; | |
| Adder.prototype.sum = function sum() { | |
| var sum = 0; | |
| this.list.forEach(function(x) { | |
| sum += x; |
| function pad0(num) { | |
| return num < 10 ? '0' + num.toString() : num.toString(); | |
| } | |
| function getDateStringDaysAgo(days) { | |
| const date = new Date(Date.now() - (days * 24 * 60 * 60 * 1000)); | |
| return date.getFullYear() + "-" + pad0(date.getMonth() + 1) + "-" + pad0(date.getDate()); | |
| } | |
| /** |
| #!/bin/bash | |
| if [ -f ~/Library/KeyBindings/DefaultkeyBinding.dict ]; then | |
| echo "~/Library/KeyBindings/DefaultkeyBinding.dict already exists" | |
| exit -1 | |
| fi | |
| mkdir -p ~/Library/KeyBindings | |
| cat << EOF > ~/Library/KeyBindings/DefaultkeyBinding.dict | |
| { | |
| "₩" = ("insertText:", "\`"); |
| BODY=${1:-"Finished"} | |
| DATA='{"title":"Done","type":"note","body":"'$BODY'"}' | |
| curl --header 'Access-Token: <YOUR_TOKEN_HERE>' \ | |
| --header 'Content-Type: application/json' \ | |
| --data-binary $DATA \ | |
| --silent \ | |
| --request POST \ | |
| https://api.pushbullet.com/v2/pushes > /dev/null |