This file has been truncated, but you can view the full file.
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
# flapjacks_and_sasquatches_dice | |
v 1.572017 -33.726002 6.936993 | |
v 1.593304 -33.702614 6.997502 | |
v 1.570440 -33.702282 7.008665 | |
v 1.545229 -33.726002 6.948898 | |
v 1.489930 -33.726002 6.973475 | |
v 1.515995 -33.701485 7.035245 | |
v 1.484023 -33.701015 7.050855 | |
v 1.461280 -33.726002 6.986209 | |
v 1.405981 -33.726002 7.010786 |
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
var http = require('http'); | |
var urlparams = '/api/hermes_msoe_prod/systems/listSystemItems/{"system":"curriculog","id":"18","itemType":"core","template":"True"}'; | |
module['exports'] = function isTheWebSiteDown (hook) { | |
http.get(hook.params.url + urlparams, function(res){ | |
hook.debug(hook.params.url + urlparams + " is up and running.") | |
hook.res.end(hook.res.read()); | |
}).on('error', function (){ | |
hook.debug(hook.params.url + urlparams + " is DOWN!") | |
hook.res.end('true'); |
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
>>> def instiClass(name,attributes_dict,extends=None,functions_list=None): | |
... if extends: | |
... class klass(eval(extends)): pass | |
... else: | |
... class klass: pass | |
... for key,value in attributes_dict.items(): | |
... setattr(klass, key, value) | |
... if functions_list: | |
... for func in functions_list: | |
... setattr(klass,func.__name__, func) |
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
<catalog xmlns="http://acalog.com/catalog/1.0" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:a="http://www.w3.org/2005/Atom" xmlns:xi="http://www.w3.org/2001/XInclude" id="acalog-catalog-11" > | |
<programs> | |
<program id="acalog-program-6595" > | |
<a:title xmlns:a="http://www.w3.org/2005/Atom" >Test Xinclude</a:title> | |
<code/> | |
<parent xmlns:xi="http://www.w3.org/2001/XInclude" > | |
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" xi:xpointer="xmlns(c=http://acalog.com/catalog/1.0) xpointer((//c:hierarchy/c:entity[@id='acalog-entity-763']))" > | |
<xi:fallback>Eastern Michigan University</xi:fallback> | |
</xi:include> | |
</parent> |
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
var ffi = require('ffi'), | |
ref = require('ref'), | |
Struct = require('ref-struct'), | |
Library = require('./Library'), | |
Type = ref.Type, | |
NULL = ref.NULL, | |
isNull = ref.isNull; | |
var groups = ['libs', 'types', 'structs', 'callbacks', 'enums']; |
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
} elseif (isset($_SERVER['SOME_GLOBAL_VARIABLE'])) { | |
$default_context = $_SERVER['SOME_GLOBAL_VARIABLE']; | |
self::log('Found SERVER SOME_GLOBAL_VARIABLE'); | |
} elseif (isset($_ENV['SOME_GLOBAL_VARIABLE'])) { | |
$default_content = $_ENV['SOME_GLOBAL_VARIABLE']; | |
self::log('Found ENV SOME_GLOBAL_VARIABLE'); | |
} else { | |
... | |
if ($default_context == 'search' || $default_content == 'api') { |
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
*** ha_sphinx.cc 2011-09-01 10:33:06.000000000 -0400 | |
--- ha_sphinx.cc.new 2011-09-01 10:32:49.000000000 -0400 | |
*************** | |
*** 1,5 **** | |
// | |
! // $Id: ha_sphinx.cc 2752 2011-03-29 08:21:05Z tomat $ | |
// | |
// | |
--- 1,5 ---- |
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
*** ha_sphinx.h 2011-09-01 10:33:12.000000000 -0400 | |
--- ha_sphinx.h.new 2011-09-01 10:33:01.000000000 -0400 | |
*************** | |
*** 1,5 **** | |
// | |
! // $Id: ha_sphinx.h 2428 2010-08-03 11:38:09Z shodan $ | |
// | |
#ifdef USE_PRAGMA_INTERFACE | |
--- 1,5 ---- |