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
const https = require('https'); | |
var querystring = require('querystring'); | |
//FixMe; this is INSECURE! | |
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"; | |
var payload = querystring.stringify({ | |
"username": "dandye", | |
"password": "redacted", |
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
rpm -qa --queryformat "%{RPMTAG_NAME}\n" | \ | |
grep soltra-edge | \ | |
sort | \ | |
xargs -I {} \ | |
rpm -qa --queryformat "%-60{RPMTAG_NAME} \ | |
%{RPMTAG_VERSION}-%{RPMTAG_RELEASE}\n" {} |
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
#!/bin/csh | |
osascript -e 'set volume with output muted' | |
if ( $# != "0" ) then | |
sleep $1 | |
osascript -e 'set volume without output muted' | |
endif |
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
#!/usr/bin/python | |
""" | |
Referencing current branch in github readme.md[1] | |
This pre-commit hook[2] updates the README.md file's | |
Travis badge with the current branch | |
[1] http://stackoverflow.com/questions/18673694/referencing-current-branch-in-github-readme-md | |
[2] http://www.git-scm.com/book/en/v2/Customizing-Git-Git-Hooks | |
[3] https://docs.travis-ci.com/user/status-images/ |
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
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 4, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [ | |
{ |
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
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:3d39a8b952a425df0decd18096ff73a97e5e89d0ee6dda1072913087ddd431ba" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
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
.. image:: picture.jpeg | |
:height: 100px | |
:width: 200 px | |
:scale: 50 % | |
:alt: alternate text | |
:align: right |
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
{ | |
"metadata": { | |
"name": "hailataxii_disovery_with_libtaxii" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
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
CREATE TABLE #sp_who2 (SPID INT,Status VARCHAR(255), | |
Login VARCHAR(255),HostName VARCHAR(255), | |
BlkBy VARCHAR(255),DBName VARCHAR(255), | |
Command VARCHAR(255),CPUTime INT, | |
DiskIO INT,LastBatch VARCHAR(255), | |
ProgramName VARCHAR(255),SPID2 INT, | |
REQUESTID INT) | |
INSERT INTO #sp_who2 EXEC sp_who2 | |
SELECT * | |
FROM #sp_who2 |
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
{ | |
"metadata": { | |
"name": "" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |