This gist was moved to its own repository: https://github.com/aguslr/multibootusb
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>getUserMedia Example</title> | |
<meta name="description" content="WebRTC Simple example" /> | |
<meta name="author" content="Ido Green | greenido.wordpress.com"> | |
<meta name="keywords" content="WebRTC, HTML5, JavaScript, Hack, Ido Green" /> | |
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1"> |
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
#include <iostream> | |
#include <fstream> | |
#include <map> | |
#include <set> | |
#include <vector> | |
#include <algorithm> | |
struct line { | |
std::string file; | |
size_t line_number; |
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
log syslog all; | |
router id 0.0.0.159; | |
# Turn on global debugging of all protocols | |
debug protocols all; | |
# Define a route filter... | |
# filter test_filter { | |
# if net ~ 10.0.0.0/16 then accept; |
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
$ nmap --script dns-zone-transfer --script-args dns-zone-transfer.domain=zonetransfer.me -p 53 -Pn $(dig +short zonetransfer.me NS | head -1) | |
Starting Nmap 6.02 ( http://nmap.org ) at 2012-07-09 10:50 CDT | |
Nmap scan report for ns12.zoneedit.com. (209.62.64.46) | |
Host is up (0.033s latency). | |
rDNS record for 209.62.64.46: ns12.zoneedit.com | |
PORT STATE SERVICE | |
53/tcp open domain | |
| dns-zone-transfer: | |
| zonetransfer.me. SOA ns16.zoneedit.com. soacontact.zoneedit.com. |
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
// Sample pdnsd configuration file. Must be customized to obtain a working pdnsd setup! | |
// Read the pdnsd.conf(5) manpage for an explanation of the options. | |
// Add or remove '#' in front of options you want to disable or enable, respectively. | |
// Remove '/*' and '*/' to enable complete sections. | |
global { | |
perm_cache=999999; | |
cache_dir="/usr/local/var/cache/pdnsd"; | |
# pid_file = /var/run/pdnsd.pid; | |
run_as="nobody"; |
The best way to use this tool is to hook apt's use of dpkg to run it before doing any package installs.
In your apt.conf, put this:
DPkg::Pre-Install-Pkgs {"xargs -rL1 bash /path/to/stripdeb.sh 2>&1 | logger -t stripdeb"}
Then, a demo:
% sudo apt-get install mysql-server-5.1
NewerOlder