- Twitter: @adman65
- Website or Blog: http://hawkins.io
- Company: Saltside Technologies http://saltside.se
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
<!-- Include the following CSS and Javascript in your page --> | |
<link href="https://coderbits.com/content/widget/coderbits.css" media="all" rel="stylesheet" type="text/css"> | |
<script src="https://coderbits.com/content/widget/coderbits.js"></script> | |
<!-- Place the following in the page where you want the widget to render and set your username --> | |
<section id="coderbits" data-coderbits-username="<your username>"></section> |
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
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod | |
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, | |
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo | |
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse | |
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non | |
proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
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
class my_firewall ( | |
$purge_resources = true, | |
$log_default_drop = true | |
) { | |
if is_hash($purge_resources) { | |
$purge_default_chains = { | |
'PREROUTING:raw:IPv4' => {}, | |
'OUTPUT:raw:IPv4' => {}, | |
'PREROUTING:mangle:IPv4' => {}, | |
'INPUT:mangle:IPv4' => {}, |
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
Index: llvmpy/include/llvm_binding/extra.h | |
=================================================================== | |
--- llvmpy/include/llvm_binding/extra.h (revision 14593) | |
+++ llvmpy/include/llvm_binding/extra.h (revision 14594) | |
@@ -164,6 +164,7 @@ | |
for(; begin != end; ++begin) { | |
PyObject* cap = pycapsule_new(&*begin, capsuleName, className); | |
PyList_Append(list, cap); | |
+ Py_DECREF(cap); | |
} |
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
exports.testFoo = function(assert) { | |
assert.equal(2 + 2, 4, "2 + 2 is 4") | |
} |
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
def changeUrl = "https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/LAST_CHANGE" | |
def latest = changeUrl.toURL().text | |
println "Latest Revision: ${latest}" |
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
def changeUrl = "https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/LAST_CHANGE" | |
def latest = changeUrl.toURL().text | |
println "Latest Revision: ${latest}" |
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
<script> | |
if(!window.location.query) { | |
window.location.query = function(){ | |
var map = {}; | |
if ("" != this.search) { | |
var groups = this.search.substr(1).split("&"), i; | |
for (i in groups) { | |
i = groups[i].split("="); |
NewerOlder