I hereby claim:
- I am blacksun1 on github.
- I am blacksun1 (https://keybase.io/blacksun1) on keybase.
- I have a public key whose fingerprint is F182 65EC 3203 B6CA BCE0 2643 E55F 84FD D58F 8136
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
function Get-UsersFullName { | |
$NAME_DISPLAY = [int] 3 | |
$MethodDefinition = @' | |
[DllImport("secur32.dll", CharSet=CharSet.Auto, SetLastError=true)] | |
[return: MarshalAs(UnmanagedType.I1)] | |
public static extern int GetUserNameEx (int nameFormat, StringBuilder userName, ref UInt32 userNameSize); | |
'@ | |
$type = Add-Type -MemberDefinition $MethodDefinition ` | |
-NameSpace Win32 -Name "Secur32" ` | |
-Using "System.Text" -PassThru |
var Handlebars = require('handlebars'), | |
assert = require('assert'), | |
templateSource = '<h1>{{title}}</h1>', | |
template = Handlebars.compile(templateSource), | |
data = { title: 'I like cake' }, | |
result = template(data); | |
assert.equal(result, '<h1>I like cake</h1>'); | |
console.log('All good mate.'); |
#requires -version 2 | |
<# | |
.SYNOPSIS | |
<Overview of script> | |
.DESCRIPTION | |
<Brief description of script> | |
.PARAMETER <Parameter_Name> | |
<Brief description of parameter input required. Repeat this attribute if required> |
"use strict"; | |
const Q = require("q"); | |
Q.async(function*(){ | |
let promiseResults = []; | |
try { | |
promiseResults.push([new Date(), yield Q.resolve("Done?")]); | |
promiseResults.push([new Date(), yield(Q.delay("Done 1", 1000))]); |
'use strict'; | |
// Load modules | |
const Lab = require('lab'); | |
// Test shortcuts |
# WELCOME TO SQUID 3.5.12 | |
# ---------------------------- | |
# | |
# This is the documentation for the Squid configuration file. | |
# This documentation can also be found online at: | |
# http://www.squid-cache.org/Doc/config/ | |
# | |
# You may wish to look at the Squid home page and wiki for the | |
# FAQ and other documentation: | |
# http://www.squid-cache.org/ |
#!/bin/zsh | |
# NVM | |
export NVM_DIR="/home/simon/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
# CDGIT! | |
function cdgit() { |
{ | |
"code": "REJECTED", | |
"rejectionMessage": "Webhook rejection message to be displayed to visitor" | |
} |