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 | |
# encoding: utf-8 | |
''' | |
${module} | |
''' | |
import sys | |
import os | |
from os import path |
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
# Obviously you're appending these sections. | |
[core] | |
ignorecase = true | |
[merge] | |
renormalize = true | |
tool = msaccess-merge | |
[mergetool "msaccess-merge"] | |
cmd = $(git rev-parse --show-toplevel)/msaccess-merge "$BASE" "$LOCAL" "$REMOTE" "$MERGED" | |
trustExitCode = 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
/* http://www.jquerybyexample.net/2012/06/get-url-parameters-using-jquery.html */ | |
// Modified to include the default value line. | |
function getUrlParameter(sParam, default_value) | |
{ | |
var sPageURL = window.location.search.substring(1); | |
var sURLVariables = sPageURL.split('&'); | |
for (var i = 0; i < sURLVariables.length; i++) | |
{ | |
var sParameterName = sURLVariables[i].split('='); | |
if (sParameterName[0] == sParam) |
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
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
var statusCodes []int = []int{100,101,102,103,104,105,106,107,110,111,112,115,119,120,121,124} | |
var output []string | |
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
/** | |
* Created by will on 6/09/15. | |
*/ | |
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var source = require('vinyl-source-stream'); | |
var browserify = require('browserify'); | |
var babelify = require('babelify'); |
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 path = require('path'); | |
var gulp = require('gulp'); | |
var run = require('gulp-run'); | |
var gutil = require('gulp-util'); | |
var minimist = require('minimist'); | |
var options = minimist(process.argv.slice(2), { | |
string: 'env', |
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
on.task:methods.run.9f7fb951-ac72-449a-97d9-cc0e5821b2d6:4ynliVuS-Fe 0 | |
on.task-graph-runner:methods.defineTask:NJVsNdSZtl 0 | |
on.task:methods.cancel.367b2191-0c02-4f33-a0ca-5ec47b69addf:N1wej4Or-Ye 0 | |
on.task:ipmi.command.sel.result.aa7f3485-6271-4f90-b6da-ad7571d9d597:4ywGj4_Sbtx 0 | |
on.task:metric.*.result.aa7f3485-6271-4f90-b6da-ad7571d9d597:Vk9fiVOSWtl 0 | |
on.scheduler:schedule:E1YiVuSbYl 0 | |
on.task:methods.cancel.40777f26-22d4-45b4-870a-e493808bf30f:N1WeoVuSZFe 0 | |
on.task-graph-runner:methods.getActiveTaskGraph:4JWsVOBZte 0 | |
on.task:ipmi.command.sel.aa7f3485-6271-4f90-b6da-ad7571d9d597:4JJmiVuH-Fe 0 | |
on.events:task.finished.643f2357-bd9d-40d6-834f-09c77ca591c4:4kRWiEOSWFl 0 |
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
--- | |
# Provisions a Debian base-image | |
- hosts: local | |
connection: local | |
force_handlers: True | |
sudo: yes | |
tasks: | |
# - name: Check environment set | |
# fail: msg="Configuration incompletely specified!" | |
# when: (server_ip is defined|bool and netmask is defined|bool and gateway is defined|ipaddr and |
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 | |
from __future__ import print_function | |
import os | |
import sys | |
import requests | |
import keyring | |
import getpass |
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
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-s' -o main . |