This file contains 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
{ name = 'TM_SOFT_TABS'; | |
value = 'YES'; | |
}, |
This file contains 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
someVar = new SomeClass() |
This file contains 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
#!/usr/bin/env python | |
import RomanNumerals | |
rn = RomanNumerals.RomanNumerals() |
This file contains 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
page.headerData.301 = TEXT | |
page.headerData.301 { | |
typolink { | |
parameter.data = TSFE:id | |
returnLast = url | |
} | |
wrap = <link rel="canonical" href="|" /> | |
} |
This file contains 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
tail -670 /var/log/cli.log |grep "CLI RUN TIME"|sed 's/.*\([0-9]\.[0-9][0-9][0-9]\).*/\1/'|awk '{ s += $1 } END { print "Average: ", s/NR}' |
This file contains 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
dojo.provide('com.clauswitt.TwitterTickerWidget'); | |
dojo.require("dijit._Widget"); | |
dojo.require("dijit._Templated"); | |
dojo.require("dojo.io.script"); | |
dojo.declare("com.clauswitt.TwitterTickerWidget", [dijit._Widget, dijit._Templated], { | |
templateString: "<div>${name}Widget</div>", | |
tweeter: 'clauswitt', | |
tweetCount: 3, | |
tweetSearchUrl: 'http://search.twitter.com/search.json', |
This file contains 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
tell application "Safari" | |
activate | |
open location "http://gist.github.com" | |
end tell | |
delay 1 | |
tell application "System Events" | |
tell process "Safari" | |
keystroke "v" using {command down} | |
end tell | |
end tell |
This file contains 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
templateString: "<div>Twitter Widget for ${tweeter}</div>", | |
tweeter: 'clauswitt', | |
tweetCount: 3, | |
tweetSearchUrl: 'http://search.twitter.com/search.json', | |
header: 'Twitter Widget', | |
preamble: function() { | |
arguments[0].class = 'twitterTickerWidget ' + arguments[0].class; | |
if(typeof arguments[0].header == 'undefined' || arguments[0].header == '') { | |
arguments[0].header = arguments[0].tweeter; |
This file contains 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
<div dojoType="com.clauswitt.TwitterTickerWidget" header="Claus Witt" tweeter="clauswitt" class="clauswittTwitterWidget"></div> |
This file contains 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
<script type="text/javascript"> | |
var djConfig = { | |
'parseOnLoad': true, | |
'baseUrl' : "./", | |
'modulePaths' : { | |
"com.clauswitt" : "com/clauswitt/" | |
} | |
}; | |
</script> | |
<script src="https://ajax.googleapis.com/ajax/libs/dojo/1.5.0/dojo/dojo.xd.js"></script> |