As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.
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
try{ | |
$(document).ready(function() { | |
$('<div id="NittyContainer" class=""></div>').prependTo("body"); | |
$("#NittyContainer").css({ | |
"top": 0, | |
"left": 0, | |
"position": "fixed", | |
"width": "100%", | |
"height": "100%", | |
"z-index": "1000", |
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
#!/bin/bash | |
filename="domains.txt" | |
while read -r line | |
do | |
name="$line" | |
open -a "Firefox" https://$name | |
done < "$filename" |
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
#!/bin/python | |
# | |
# Connects to a Wifi network | |
# | |
import os | |
def commandExists(command): | |
def canExecute(file): | |
return os.path.isfile(file) and os.access(file, os.X_OK) |
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
ssid | |
xfinitywifi | |
linksys | |
<no ssid> | |
BTWiFi-with-FON | |
NETGEAR | |
Ziggo | |
dlink | |
BTWifi-X | |
default |
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
# -*- coding: utf-8 -*- | |
#!/usr/bin/env python | |
import socket | |
import cPickle | |
class ExploitServer(): | |
def run(self): | |
HOST = '127.0.0.1' | |
PORT = 8080 |