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
~> cat test.c | |
int main() | |
{ | |
int i = 0; | |
int j = 0; | |
for( i = 0; i < 100; i++ ) | |
j += i; | |
return 1; |
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 (window, document, $, undefined) { | |
if (!$.Deferred) throw 'jQuery 1.5 is required to use the jQuery.oauth script!'; | |
function require(name, url) { | |
if (window[name] === undefined) | |
return $.ajax({ type: 'GET', cache: true, dataType: 'script', url: url }); | |
} | |
$.oauth = function (options) { | |
var d = $.Deferred(); |
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
# Small define to expand a tarball at a location; assumes File[$title] | |
# definition of tarball and installation of pax: | |
define baselayout::drop_tarball($dest, $dir_name, $dir_sub='') { | |
# $dest: cwd in which expansion is done | |
# $dir_name: name of top level directory created in $dest | |
# $dir_sub: regexp to -s for pax - not supported for .zip archives | |
if ($dir_sub) { |
NewerOlder