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 | |
for vm in $(virsh list --all | sed 1,2d | cut -d' ' -f 7); do | |
virsh start $vm | |
done |
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
{ | |
"always_show_minimap_viewport": true, | |
"auto_complete_commit_on_tab": true, | |
"auto_complete_delay": 20, | |
"auto_complete_with_fields": true, | |
"bold_folder_labels": false, | |
"caret_extra_width": 1, | |
"caret_style": "phase", | |
"close_windows_when_empty": 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
echo "alias lookfor=\"grep -r -i -n $1\"" >>~/.bash_profile && source ~/.bash_profile |
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
''' | |
Netgear Utils | |
''' | |
import urllib2 | |
try: | |
from bs4 import BeautifulSoup as bs | |
except: | |
raise |
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
// ==UserScript== | |
// @id www.youtube.com-2925af97-1b59-4d38-bc09-e2fff53f9d6a@defb5eb4-0168-463d-913b-8b4fbfa18502 | |
// @name YouTube + MP3 Downloader | |
// @version 1.3.2.1 | |
// @namespace defb5eb4-0168-463d-913b-8b4fbfa18502 | |
// @author atmega | |
// @description Download YouTube videos with a single click of a button! | |
// @include http://www.youtube.com/watch?v=* | |
// @include http://www.youtube.com/watch?feature=* | |
// @run-at document-end |
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
(function () | |
{ | |
// Video Settings | |
var VIDEO_TITLE = document.getElementById('eow-title').getAttribute('title'); | |
var VIDEO_ID = window.location.href.match(/v=[A-Za-z0-9-_]{11}/)[0].substring(2); | |
// Script settings | |
var SETTINGS = { | |
"DEBUG_MODE": false, | |
"SCRIPT_VERSION": "1.0.3", |
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
<?php | |
/** | |
* Unofficial Google Weather API wrapper | |
* @author Foxhoundz | |
* @version 0.4 | |
* @license GPL version 3 | |
* @link http://code.google.com/p/php-google-weather-wrapper/wiki/Documentation | |
*/ | |
class weather { | |
private $_location; |