I hereby claim:
- I am khrome on github.
- I am khrome (https://keybase.io/khrome) on keybase.
- I have a public key ASCh1KTgYzPNQMawEMQVWCBPQemHcfLe0choEKK50WwUCgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
myen0=`ifconfig en0 | grep "inet " | grep -v 127.0.0.1 | awk '{print $2}'` | |
if [ "$myen0" != "" ] | |
then | |
echo "LAN : $myen0" | |
else | |
echo "LAN : INACTIVE" | |
fi | |
myen1=`ifconfig en1 | grep "inet " | grep -v 127.0.0.1 | awk '{print $2}'` | |
if [ "$myen1" != "" ] | |
then |
(function(){ //make __dirname, __filename work in the browser | |
if(window && !window['__dirname']){ | |
var stackTrace = function () { | |
var lines = (new Error()).stack.split("\n"); | |
// 0 = message, 1 = stackTrace | |
lines.shift(); lines.shift(); | |
var result = lines.map(function(line){ | |
if(line.indexOf('(native)') != -1){ | |
return { |
Element.implement({ | |
// if called with callback, the element is set to the optimalWidth and called back when ready | |
// else the optimalWidth is calculated and returned | |
optimalWidth : function(callback){ | |
var increment = 10; | |
var fuse = 10; //how many unchanged iterations before we're done? | |
var originalSize = this.getSize(); | |
var lastForwardChange; | |
for(var lcv=0; lcv < fuse; lcv++){ | |
var currentSize = this.getSize(); |
<?php | |
$soups = array("Avgolemono ", "Borscht ", "Caldo verde ", "Fasolada ", | |
"Goulash soup", "Islensk Kjotsupa ", "Kimchi jjigae ", "Lentil soup", | |
"Menudo", "Mulligan Stew", "Philadelphia Pepper Pot ", "Pho", | |
"Sundubu jjigae ", "Snert ", "Solyanka ", "Tomato soup", "Cold borscht", | |
"Dashi soup ", "Okroshka", "Sour cherry soup", "Vichyssois", "Ginataan", | |
"Naengmyeon ", "Fruktsuppe", "Cioppino ", "Fanesca ", "Lan Sikik ", | |
"Sliced fish soup", "Ukha or Lohikeitto", "Bird's nest soup", "Fuhn", | |
"Mian", "Ramen", "Saimin", "French onion soup", "Tinola", "Crab bisque", | |
"Chestnut bisque", "Cream of Crab Soup", "Clam chowder", "Chupe", |
var parser = new SVGParser(); | |
var svgRequest = new Request({ | |
url: 'awesome.svg', | |
onSuccess: function(responseText, responseXML) { | |
//once we recieve the SVG, we parse it | |
parser.parse(responseText); | |
} | |
}).send(); |
\setsansfont[Mapping=tex-text,Scale=1.1]{Scrawler} | |
\setmainfont[Mapping=tex-text,Scale=1.0]{Lucida Grande} | |
\setmonofont{Courier} |
\usepackage{everypage} | |
\newenvironment{water}{\AddEverypageHook{\waterb}}{ | |
\AddThispageHook{\waterb}\AddEverypageHook{\watere} | |
} | |
\makeatletter | |
\newcommand{\waterb}{ | |
\AddToShipoutPicture*{% | |
\setlength{\@tempdimb}{.5\paperwidth}% |
\definecolor{altlinecolor} {rgb}{0.7,0.7,0.7} | |
\renewcommand{\FancyVerbFormatLine}[1]{% | |
\ifodd\value{FancyVerbLine}% | |
\colorbox{altlinecolor}{ | |
\hspace{-0.04in}\makebox[\textwidth - 16pt][l]{#1} | |
}\else#1\fi} | |
\DefineVerbatimEnvironment{CleanCode}{Verbatim} | |
{ |
if(!String.whenInDOM){ | |
if(!String.defaultReplacementTimeout) | |
String.defaultReplacementTimeout = 16384; | |
String.implement({ | |
whenInDOM : function( | |
callback, | |
delayCallback, | |
timeoutCallback, | |
timeout, | |
counter |