Skip to content

Instantly share code, notes, and snippets.

@kordless
kordless / README.md
Last active August 29, 2015 14:21
StackMonkey Quick and Dirty APIs
@jdevera
jdevera / ecs.py
Created February 26, 2010 16:24
A replacement for pyaws's ecs.py to make it work with signed requests.
# Author: Kun Xi <kunxi@kunxi.org>
# License: Python Software Foundation License
#
# Note: This version, 0.3.1, supports the signed requests required
# by Amazon.
# The changes over 0.3.0 are based on a patch for 0.2.0 found here:
# http://blog.umlungu.co.uk/blog/2009/jul/12/pyaws-adding-request-authentication
# To make it work, just download pyaws from http://trac2.assembla.com/pyaws
# and replace the ecs.py file with this one.
@goozbach
goozbach / ndb-local
Created May 19, 2011 18:49
Chaining PXELINUX bootloaders
ip=192.168.1.100 sys=laptop ether=001c25123456
dom=laptop.example.com
bootf=/386/syslinux/pxelinux.0
@btoews
btoews / fakedns.py
Created June 20, 2012 18:10
Nice DNS Spoofer
# File: fakedns.py
# Name: Interactive CLI DNS Spoofer
# by: @mastahyeti
#
# based off of http://code.activestate.com/recipes/491264/
from __future__ import print_function
from gevent.event import Event
from gevent.pool import Pool
from gevent import socket
@terrancesnyder
terrancesnyder / install.cmd
Last active December 15, 2015 08:59
VeeWee Windows 7
# install ruby http://rubyinstaller.org/downloads/
http://rubyforge.org/frs/download.php/76798/rubyinstaller-1.9.3-p392.exe
# download and configure devkit for windows @http://rubyinstaller.org/downloads/
https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
cd <DEVKIT_INSTALL_DIR>
ruby dk.rb init
ruby dk.rb review
ruby dk.rb install
@kesor
kesor / LICENSE
Created March 13, 2012 15:15
Making Amazon AWS API Queries
Copyright (c) 2013, Evgeny Zislis
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
@bot11
bot11 / mybmc.emu
Created June 2, 2015 10:51
BMC.emu
# This is an example simulation setup for ipmi_sim. It creates a single
# management controller as a BMC. That will have the standard watchdog
# sensor and we add a temperature sensor.
# The BMC is the MC at address 20
mc_setbmc 0x20
# Now add the BMC
mc_add 0x20 0 no-device-sdrs 0x23 9 8 0x9f 0x1291 0xf02 persist_sdr
sel_enable 0x20 1000 0x0a
@kidpixo
kidpixo / CiscoVPNConnection.scpt
Last active May 29, 2016 09:36 — forked from twksos/CiscoVPNConnection.scpt
Cisco VPN Connection: Adapted for 10.8.5 notification window prompt "Enter Username and Password.".
-- Please set your vpn connection name and password here
set VPNName to "VPN name"
set VPNpassword to "VPN password"
set window_prompt to "Enter Username and Password." -- this works for OS X 10.8.5, check yours.
tell application "System Events"
tell current location of network preferences
set VPNService to service VPNName
end tell
-- Please set your vpn connection name and password here
set VPNName to "VPN name"
set VPNpassword to "VPN password"
tell application "System Events"
tell current location of network preferences
set VPNService to service VPNName
end tell
set isConnected to connected of current configuration of VPNService
@rgolangh
rgolangh / large-setup.yml
Last active August 16, 2017 06:41
Build an ovirt lab using ansible
---
- hosts: localhost
connection: local
vars:
#engine_prefix: /
engine_url: "http://example.com:8080/ovirt-engine/api"
engine_user: admin@internal
engine_password: PASSWORD
engine_insecure: true
#engine_cafile: /etc/pki/ovirt-engine/ca.pem