[ Launch: worms ] 6957240 by mjgil[ Launch: worms ] 6956898 by enjalot
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
<svg style="display:none;"> | |
<symbol id="test"> | |
<rect x="10" y="10" width="100" height="100" /> | |
<rect x="100" y="10" width="100" height="100" fill="currentColor" /> | |
</symbol> | |
</svg> | |
<svg class="icon icon--BlueBlack"><use xlink:href="#test" /> | |
<use class="icon icon--BlueGreen" xlink:href="#test" x='100' y='50'/></svg> | |
<!--<svg class="icon icon--BlueGreen"><use xlink:href="#test" /></svg>--> |
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
<template name="SignIn"> | |
<form action="/signin" id="signInForm" method="post"> | |
<input id="signInEmail" type="text" name="email" placeholder="Email Address"> | |
<input id="signInPassword" type="password" name="password" placeholder="Password"> | |
<input class="btn-submit" type="submit" value="Sign In"> | |
</form> | |
<!-- end #sign-in-form --> | |
</template> |
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
// Node.js CheatSheet. | |
// Download the Node.js source code or a pre-built installer for your platform, and start developing today. | |
// Download: http://nodejs.org/download/ | |
// More: http://nodejs.org/api/all.html | |
// 0. Synopsis. | |
// http://nodejs.org/api/synopsis.html |
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
//configurable variables | |
boolean | |
exportMode = true; //set to true when exporting, false when designing | |
String | |
folderPrefix = "b"; | |
int | |
fps = 24, | |
outputScale = 2, //set to 2 or 4 when exporting, 1 when designing | |
windowSize = 480 * outputScale, |
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
# http://www.mblondel.org/journal/2010/09/19/support-vector-machines-in-python/ | |
# Mathieu Blondel, September 2010 | |
# License: BSD 3 clause | |
import numpy as np | |
from numpy import linalg | |
import cvxopt | |
import cvxopt.solvers | |
def linear_kernel(x1, x2): |
[ Launch: people on rings ] 6680791 by mjgil
[ Launch: spinner animation ] 6680679 by mjgil
[ Launch: sin waves ] 6680446 by mjgil See Previous Inlet [ Gist ]
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
# View list of connections and their states | |
netstat -tan | grep ':80 ' | awk '{print $6}' | sort | uniq -c | |
# List all connections and timers | |
ss -rota | less |