- inside vm
- vm.js
- 성능??
- 데모
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"/> | |
<script src="http://cmx.io/v/0.1/cmx.js"></script> | |
<body> | |
<scene id="scene1"> | |
<drawing t="translate(0,31) rotate(1)"> | |
<line stroke="black"> | |
<point x="0" y="0"></point> | |
<point x="250" y="20"></point> |
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
<!-- | |
_______ _______ _______ _______ _______ _______ _______ ___ __ | |
| _| | |_ _|_ _| _ | _| _ | \| | | |
| |_| |_| |_ | | | | |_| | |__ | |
|_______|___|___|_______| |___| |___|___|_______|___|___|__|\___|__| | |
--> | |
<!-- | |
_ _ _ _ _ _ _ _ | |
| |/ |_ _ _ _ ___ ___| || | ___ ___| | | |/ (_) ____ |
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
<!-- | |
___ ___ ___ _ | |
/ __/ _ _ / __/ ___ ___ ___ | _ \__ _ _ _| |_ | |
\__ \| || |\__ \/ -_)/ _ \/ | | _/ _` | `_| ` / | |
/___/ \_,_|/___/\___|\___/__|_| |_| \__,_|_| |_,_\ | |
--> |
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
// This are the transitions we want: | |
// | |
// +--------+ +------------+ +-------+ +----------+ | |
// | Camera |---------->| Fullscreen |--->| Album |--->| AlbumSet | | |
// | View | thumbnail | Photo | up | Page | up | Page | | |
// +--------+ +------------+ +-------+ +----------+ | |
// ^ | | ^ | | |
// | | | | | close | |
// +----------back--------+ +----back----+ +--back-> app | |
// |
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
<snippet> | |
<content><![CDATA[(function(){ | |
${0} | |
}());]]></content> | |
<tabTrigger>siaf</tabTrigger> | |
<scope>source.js</scope> | |
<description>self invoke anonymous function</description> | |
</snippet> |
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
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/use_theme_background" --type bool false | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/use_theme_colors" --type bool false | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/palette" --type string "#070736364242:#D3D301010202:#858599990000:#B5B589890000:#26268B8BD2D2:#D3D336368282:#2A2AA1A19898:#EEEEE8E8D5D5:#00002B2B3636:#CBCB4B4B1616:#58586E6E7575:#65657B7B8383:#838394949696:#6C6C7171C4C4:#9393A1A1A1A1:#FDFDF6F6E3E3" | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/background_color" --type string "#00002B2B3636" | |
gconftool-2 --set "/apps/gnome-terminal/profiles/Default/foreground_color" --type string "#65657B7B8383" |
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 com.example.gdg_opensource_codelab_sample_1; | |
import android.os.AsyncTask; | |
import com.google.api.client.extensions.android.http.AndroidHttp; | |
import com.google.api.client.http.HttpRequest; | |
import com.google.api.client.http.HttpRequestInitializer; | |
import com.google.api.client.http.HttpTransport; | |
import com.google.api.client.json.JsonFactory; | |
import com.google.api.client.json.gson.GsonFactory; |
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
int pid = Process.myPid(); | |
String statpath = "/proc/" + pid + "/stat"; | |
a | |
try { | |
BufferedReader br = new BufferedReader( | |
new InputStreamReader(new FileInputStream(new File(statpath))) | |
); | |
String[] statline = br.readLine().split(" "); | |
// get system boot time | |
long bootime = System.currentTimeMillis() - SystemClock.elapsedRealtime(); |
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
(function() { | |
if (document.querySelector('.spotlight')) { | |
power(); | |
return; | |
} | |
var radius = 100; | |
var isOn = false; | |
var css = ".spotlight { \n\ | |
position: fixed; \n\ | |
top: 0; \n\ |