I hereby claim:
- I am asbubam on github.
- I am asbubam (https://keybase.io/asbubam) on keybase.
- I have a public key whose fingerprint is 90C0 9D78 42BA C956 89F0 3E92 0D46 D177 CACC 7E36
To claim this, I am signing this object:
/* | |
1부터 n까지의 자연수를 차례로 더하여 구해진 값을 삼각수라고 합니다. | |
예를 들어 7번째 삼각수는 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28이 됩니다. | |
이런 식으로 삼각수를 구해 나가면 다음과 같습니다. | |
1, 3, 6, 10, 15, 21, 28, 36, 45, 55, ... | |
이 삼각수들의 약수를 구해봅시다. | |
1: 1 | |
3: 1, 3 |
#!/usr/bin/env python | |
''' | |
Send memory usage metrics to Amazon CloudWatch | |
This is intended to run on an Amazon EC2 instance and requires an IAM | |
role allowing to write CloudWatch metrics. Alternatively, you can create | |
a boto credentials file and rely on it instead. | |
Original idea based on https://github.com/colinbjohnson/aws-missing-tools | |
''' |
> var str = '안녕하세요\ud83d\ude03하이'; | |
undefined | |
> str | |
'안녕하세요😃하이' | |
> str.length | |
9 | |
> encodeURI(str.slice(0,6)) | |
URIError: URI malformed | |
at encodeURI (native) | |
at repl:1:15 |
tell application "iTerm" | |
set myterm to (make new terminal) | |
tell myterm | |
activate current session | |
launch session "Default Session" | |
tell the last session | |
write text "unset DYLD_LIBRARY_PATH ; unset LD_LIBRARY_PATH" | |
write text "mkdir -p ~/.boot2docker" | |
write text "if [ ! -f ~/.boot2docker/boot2docker.iso ]; then cp /usr/local/share/boot2docker/boot2docker.iso ~/.boot2docker/ ; fi" | |
write text "/usr/local/bin/boot2docker init && /usr/local/bin/boot2docker up && $(boot2docker shellinit) && docker version" |
-- from http://dev.documize.com/boot2docker-iterm/ | |
tell application "iTerm" | |
set myterm to (make new terminal) | |
tell myterm | |
activate current session | |
launch session "Default Session" | |
tell the last session | |
write text "unset DYLD_LIBRARY_PATH ; unset LD_LIBRARY_PATH" | |
write text "mkdir -p ~/.boot2docker" | |
write text "if [ ! -f ~/.boot2docker/boot2docker.iso ]; then cp /usr/local/share/boot2docker/boot2docker.iso ~/.boot2docker/ ; fi" |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<array> | |
<dict> | |
<key>Activate</key> | |
<string>Normal</string> | |
<key>CreationDate</key> | |
<real>506394561.98772597</real> | |
<key>Macros</key> |
[ | |
{ "keys": ["g", "t"], "command": "next_view", | |
"context": | |
[ | |
{ "key": "setting.command_mode", "operand": true }, | |
{ "key": "setting.is_widget", "operand": false } | |
] | |
}, | |
{ "keys": ["g", "T"], "command": "prev_view", |
I hereby claim:
To claim this, I am signing this object:
{ | |
"editor.minimap.enabled": false, | |
"workbench.colorTheme": "One Dark Pro", | |
"workbench.editor.enablePreview": false, | |
"window.title": "${activeEditorMedium}${separator}${rootName}" | |
} |
mkdir -p /tmp/npm-cache-linux | |
docker run -v /tmp/npm-cache-linux:/root/.npm -v "$PWD":/usr/src/app -w /usr/src/app node:alpine sh -c 'npm install --prefix ./build ./' |