$ screen -list
์คํฌ๋ฆฐ ๋ฆฌ์คํธ ๋ณด๊ธฐ$ screen -r 16546.pts-1.ssenbuntu
์คํฌ๋ฆฐ ์ฌ์ ์$ screen -d
orctrl + d
orctrl + a, d
์คํฌ๋ฆฐ ๋์ค๊ธฐctrl + a, w
์๋์ฐ ๋ฆฌ์คํธ ๋ณด๊ธฐctrl + a, "
์๋์ฐ ์ ํctrl + a, c
์ ์๋์ฐ ๋ง๋ค๊ธฐctrl + a, a
๋ฐ๋ก ์ ์๋์ฐ๋ก ์ด๋ctrl + a, ์ซ์
ํด๋น ์๋์ฐ๋ก ์ด๋exit
์๋์ฐ ๋ซ๊ธฐ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** sort compare function : ๋ฌด์์๋ก ์๋๋ค */ | |
function random(a : Number, b : Number) : Number { | |
return MathUtils.rand(0, 1000000); | |
trace(a, b); | |
} | |
/** sort compare function : ์ซ์ํ์ ์ญ์์ ๋ ฌ ํ๋ค */ | |
function desc_number(a : Number, b : Number) : Number { | |
return b - a; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package test { | |
import avmplus.getQualifiedClassName; | |
import mx.charts.chartClasses.CartesianChart; | |
import mx.charts.chartClasses.ChartElement; | |
import mx.core.mx_internal; | |
use namespace mx_internal; | |
public class CustomChartElement extends ChartElement { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style type="text/css"> | |
html, body, .gist table { | |
font-size: 12px; | |
} | |
</style> | |
</head> | |
<body> | |
๊ฐ๋๋ค๋ผ๋ง๋ฐ์ฌ <br /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('source-map-support').install() | |
class AAA | |
gl : null | |
constructor : (gl) -> | |
if not @gl? | |
@gl = | |
a : 1 | |
b : 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task 'run', 'Run Server', -> | |
build -> | |
node = exec('node lib/server.js') | |
node.stdout.on 'data', (data) -> | |
console.log(data.toString('utf8')) | |
node.stderr.on 'data', (data) -> | |
console.log(data.toString('utf8')) | |
build = (callback) -> | |
coffee = exec('coffee -m -o lib/ -c src/') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function update_initHandler(event:Event):void { | |
trace("DashboardApp.update_initHandler()", event); | |
if (!Capabilities.isDebugger && update.state === AIRUpdateState.AVAILABLE) { | |
update.update(); | |
} else { | |
currentState="run"; | |
} | |
} | |
<update:AIRUpdate id="update" updateURL="http://xxx.com/air/update.xml" init="update_initHandler(event)"/> |
sudo -E node server.js
os ์ environments ๋ฅผ node.js ์์ ์ฝ์ด๋ค์ด๋๋ก ์ค์ process.env.ENV_NAME
os ์ environments ์ฝ๊ธฐ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{exec} = require('bbang') | |
task 'download', 'Download Files', -> | |
download() | |
download = (callback) -> | |
exec 'curl https://gist.github.com/iamssen/5400496/raw/5e8540a31b2ae05312bc8daee3868d06c71de5f5/markdown.css -o markdown.css', -> | |
exec 'curl https://...prettify.css -o prettify.css', callback |
์ฐ์ https://github.com/settings/applications ์์ Application ์ ๋ฑ๋ก๋ ์ ๋ณด๋ค ํ์ธ
get https://github.com/login/oauth/authorize?client_id={client_id}&redirect_uri={http://...}
ํํ๋ก ์ดํ๋ฆฌ์ผ์ด์ ๋ฑ๋ก ์ ๋ณด๋ฅผ ๋ฐํ์ผ๋ก ์ฑ ์น์ธ ์ฃผ์๋ก ๋ ๋ ค๋ณด๋get http://ssen.name/devlog?code=x1aa07b850cbf6eeba1a
๊ณผ ๊ฐ์ ํํ๋ก code ๋ฅผ ๋ณด๋ด์ฃผ๊ฒ ๋จ- ๋ฐ์ ์ฝ๋๋ฅผ ์ฌ์ฉํด์
post https://github.com/login/oauth/access_token
๋ก ์ ๋ณด๋ฅผ ์์ฒญ
header Accept : application/json
param code : {๋ฐ์ ์ฝ๋}
OlderNewer