-
namespaces - overview of Linux namespaces http://man7.org/linux/man-pages/man7/namespaces.7.html
-
mount_namespaces - overview of Linux mount namespaces
This file contains hidden or 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 "ergodox_ez.h" | |
#include "debug.h" | |
#include "action_layer.h" | |
#include "version.h" | |
#include "keymap_german.h" | |
#include "keymap_nordic.h" |
This file contains hidden or 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
% aapt dump xmltree SprintDM.apk AndroidManifest.xml | |
N: android=http://schemas.android.com/apk/res/android | |
E: manifest (line=2) | |
A: android:sharedUserId(0x0101000b)="android.uid.phone" (Raw: "android.uid.phone") | |
A: android:versionCode(0x0101021b)=(type 0x10)0x1 | |
A: android:versionName(0x0101021c)="1.0" (Raw: "1.0") | |
A: package="com.android.sdm.plugins.sprintdm" (Raw: "com.android.sdm.plugins.sprintdm") | |
A: platformBuildVersionCode=(type 0x10)0x19 (Raw: "25") | |
A: platformBuildVersionName="7.1.2" (Raw: "7.1.2") | |
E: uses-sdk (line=8) |
This file contains hidden or 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
/** | |
* example of configurable parallelism | |
*/ | |
// silly counter | |
var i = 0; | |
// configurable amount of work to run in parallel | |
var max = 1; |
This file contains hidden or 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
// See: http://jsfiddle.net/ksoncan34/DQYR2/3/ | |
// Get an objectURL with an ajax object... | |
function getAjaxObjectUrl(url, callback, error) { | |
var xhr = new XMLHttpRequest(), | |
blob, objectURL, arrayBufferView; | |
xhr.open('GET', url, true); | |
xhr.responseType = 'arraybuffer'; | |
xhr.addEventListener('load', function () { |
This file contains hidden or 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 | |
# | |
# git-mv-with-history -- move/rename file or folder, with history. | |
# | |
# Moving a file in git doesn't track history, so the purpose of this | |
# utility is best explained from the kernel wiki: | |
# | |
# Git has a rename command git mv, but that is just for convenience. | |
# The effect is indistinguishable from removing the file and adding another | |
# with different name and the same content. |
This file contains hidden or 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
if ($request_uri = /) { | |
set $test A; | |
} | |
if ($host ~* teambox.com) { | |
set $test "${test}B"; | |
} | |
if ($http_cookie !~* "auth_token") { | |
set $test "${test}C"; |
This file contains hidden or 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
from nltk.probability import ELEProbDist, FreqDist | |
from nltk import NaiveBayesClassifier | |
from collections import defaultdict | |
train_samples = { | |
'I hate you and you are a bad person': 'neg', | |
'I love you and you are a good person': 'pos', | |
'I fail at everything and I want to kill people' : 'neg', | |
'I win at everything and I want to love people' : 'pos', | |
'sad are things are heppening. fml' : 'neg', |
This file contains hidden or 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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Mathieu 'p01' Henri - http://www.p01.org/releases/ | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
NewerOlder