sudo apt-get install build-essential git
sudo apt-get build-dep linux-image-$(uname -r) libncurses5-dev
mkdir ~/dev; cd ~/dev
wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.10.19.tar.xz
wget http://vserver.13thfloor.at/Experimental/patch-3.10.19-vs2.3.6.8.diff
tar xJf linux-3.10.19.tar.xz
mv patch-3.10.19-vs2.3.6.8.diff linux-3.10.19
cd linux-3.10.19
git apply patch-3.10.19-vs2.3.6.8.diff
cp /boot/config-* .config
# CRITICAL STEP: Replace*
with the latest vanilla kernel version you have installed from the Debian package repositories. Tryls /boot
for info.
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
//C99 program that prints out the supplied command line arguments and exits. WTFPL | |
//Compile with `gcc -std=c99 pcae.c -o pcae` | |
#include <stdio.h> | |
int main(int argc, char **argv) | |
{ | |
for(int i = 0; i < argc; i++) | |
{ | |
printf("argument %d: %s\n", i, argv[i]); | |
} |
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 | |
directory=$(pwd) | |
pattern=$(awk -vORS=" " -v q="'" '{ print q $1 q }' .gitignore | sed 's/,$/\n/') | |
echo zip -r ignored $directory -i $pattern | |
zip -r ignored $directory -i $pattern |
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> | |
<title></title> | |
<style> | |
body { | |
background: white; | |
text-align: center; | |
padding: 20px; | |
font-family: Georgia, serif; |
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> | |
<title></title> | |
<style> | |
body { | |
background: white; | |
text-align: center; | |
padding: 20px; | |
font-family: Georgia, serif; |
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 lang="en-us"><head><meta charset="utf-8"><meta http-equiv="Content-Type" content="text/html;charset=utf-8"><title>Emscripten-Generated Code</title><style>.emscripten{padding-right: 0;margin-left: auto;margin-right: auto;display: block;}textarea.emscripten{font-family: monospace;width: 80%;}div.emscripten{text-align: center;}div.emscripten_border{border: 1px solid black;}/* the canvas *must not* have any border or padding, or mouse coords will be wrong */ canvas.emscripten{border: 0px none;}</style></head><body><hr/><div class="emscripten" id="status">Downloading...</div><div class="emscripten"><progress value="0" max="100" id="progress" hidden=1></progress></div><div class="emscripten_border"><canvas class="emscripten" id="canvas" oncontextmenu="event.preventDefault()"></canvas></div><hr/><div class="emscripten"><input type="checkbox" id="resize">Resize canvas <input type="checkbox" id="pointerLock" checked>Lock/hide mouse pointer <input type="button" value="Fullscreen" onclick="Module |
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>FF Linux SVG Browser Crash</title> | |
<script type="text/javascript"> | |
var i = 0, j = 2500, removePrev = false; | |
var urls = ['http://openclipart.org/people/lalolalo/lalolalo_kagami_mochi.svg','http://openclipart.org/people/lijenhsin/lijenhsin_head_mirror.svg','http://openclipart.org/people/johnny_automatic/johnny_automatic_mirror_drawing.svg','http://openclipart.org/people/milker/milker_Can_You_See_Me_.svg','http://openclipart.org/people/barthm8s/barthm8s_Heiko-Barth_GlassButton_Mirror_Shadow.svg','http://openclipart.org/people/sophokles/sophokles_Yet_another_arrow_2.svg','http://openclipart.org/people/eeyrsja/eeyrsja_Disco_Ball.svg','http://openclipart.org/people/Anonymous/Anonymous_Disco_ball.svg','http://openclipart.org/people/tom/tom_2_fold_symmetry.svg','http://openclipart.org/people/tom/tom_4_fold_symmetry.svg','http://openclipart.org/people/tom/tom_kaleidoscope_3_fold_symmetry.svg','http://openclipart.org/people/tom/tom_kaleidoscope_in |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
eyJ0cmFja2VyIjp7Ijg5NTE3NCI6WyJzYmFhYWFuZyIsImJhZGJldG9uYnJlYWtidXRiZWRiYWNrYm9uZSIsIm9rb2siLCJkb25vdHVzZXRhYnRvZGlnaXR0aGlzbmljayJdfSwidXNlcnMiOnsiNzMyOTciOnRydWUsIjk0Nzc0Ijp0cnVlLCI0NzM5MiI6dHJ1ZSwibGVuZ3RoIjowLCIxNzY4Ijp0cnVlLCI2OTMwMyI6dHJ1ZSwiMzQwMTMiOnRydWUsIjM1ODIyIjp0cnVlLCI0NjYyNiI6dHJ1ZSwiMjUwIjp0cnVlLCIxMzAzMCI6dHJ1ZSwiNDY0NDIiOnRydWUsIjQ0MDI3Ijp0cnVlLCI1NzQ1OSI6dHJ1ZSwiNDYyNTAiOnRydWUsIjg2MTAxIjp0cnVlLCI0MDcyMiI6dHJ1ZSwiMzExOTMiOnRydWUsIjI0NDYzIjp0cnVlLCI1OTY3NSI6dHJ1ZSw | |
iMTY5NDIiOnRydWUsIjEwODg2Ijp0cnVlLCIzMTIyNiI6dHJ1Z | |
SwiMjgyNyI6dHJ1ZSwiMTgyMjgiOnRydWUsIjMzMDQiOnRydWU | |
sIjc3ODAxIjp0cnVlLCI0NTA5MyI6dHJ1ZSwiMzU3MjEiOnRyd | |
WUsIjM1MjE3Ijp0cnVlLCI4ODcyNCI6dHJ1ZSwiMzEyMSI6dHJ | |
1ZSwiMjY1MDEiOnRydWUsIjk0OTA1Ijp0cnVlLCIxNjc5NiI6d | |
HJ1ZSwiODI5MjciOnRydWUsIjk0MDc3Ijp0cnVlLCI0NDkyNSI | |
6dHJ1ZSwiMjM5NjgiOnRydWUsIjk0OTg5Ijp0cnVlLCI1NDY3M | |
iI6dHJ1ZSwiMTI1NiI6dHJ1ZSwiMTQ2NzEiOnRydWUsIjk1MDU | |
4Ijp0cnVlLCIyMTI3Ijp0cnVlLCIxODIzMCI6dHJ1ZSwiMzY2O |
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
// Make sure we got a filename on the command line. | |
if (process.argv.length < 3) { | |
console.log('Usage: node ' + process.argv[1] + ' FILENAME'); | |
process.exit(1); | |
} | |
// Read the file and print its contents. | |
var fs = require('fs') | |
, filename = process.argv[2] | |
, happy = ""; | |
fs.readFile(filename, 'utf8', function(err, data) { |
OlderNewer