Skip to content

Instantly share code, notes, and snippets.

View en.yml.diff
1c1
< en:
---
> en:
7c7,10
< owntxt: "Bitcoin.org is the original domain name used with the first Bitcoin website. It was registered and is still managed by <a href=\"#development#\">Bitcoin core developers</a> and by additional community members, with the input of <a href=\"#community#\">Bitcoin communities</a>. Bitcoin.org is not an official website. Just like nobody owns the email technology, nobody owns the Bitcoin network. As such, nobody can speak with authority in the name of Bitcoin."
---
> owntxt: "Bitcoin.org was originally registered and owned by Bitcoin's first two developers, <a href=\"https://en.bitcoin.it/wiki/Satoshi_Nakamoto\">Satoshi Nakamoto</a> and <a href=\"https://en.bitcoin.it/wiki/Sirius\">Martti Malmi</a>. When Nakamoto left the project, he gave ownership of the domain to additional people, separate from the Bitcoin developers, to spread responsibility and prevent any one person or group from easily gaining control over the Bitcoin project."
> owntxt2: "From 2011 to 2013
View setup-arch-vm.sh
#!/bin/bash
timedatectl set-ntp true
curl -sL "https://www.archlinux.org/mirrorlist/?country=DE&country=CH&country=UA&protocol=http&protocol=https&ip_version=4" > /etc/pacman.d/mirrorlist.new
sed -i 's/^#Server/Server/' /etc/pacman.d/mirrorlist.new
rankmirrors -n 6 /etc/pacman.d/mirrorlist.new > /etc/pacman.d/mirrorlist
(
#echo o # Create a new empty DOS partition table
@kuzzmi
kuzzmi / timers.debug.js
Last active Nov 24, 2015
Hooking timeouts and intervals to get data about active timers and intervals
View timers.debug.js
window._setTimeout = window.setTimeout;
window._setInterval = window.setInterval;
window._clearTimeout = window.clearTimeout;
window._clearInterval = window.clearInterval;
window.activeTimers = [];
window.activeIntervals = [];
function set(what, container, fn, delay, callback) {
var timerID, message;
var fnStr = fn ? fn.toString() : undefined;
View only-git-all-the-way.sh
# this way is best if you want to stay up to date
# or submit patches to node or npm
mkdir ~/local
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
# could also fork, and then clone your own fork instead of the official one
git clone git://github.com/nodejs/node.git
@kuzzmi
kuzzmi / .jshintrc
Last active Aug 29, 2015
Project bootstrap files
View .jshintrc
{
"node" : true,
"browser" : true,
"esnext" : true,
"bitwise" : false,
"camelcase" : true,
"curly" : true,
"eqeqeq" : true,
"immed" : true,
"indent" : 4,
View install-node-npm
mkdir $HOME/local
mkdir $HOME/node-latest-install
cd $HOME/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=$HOME/local
make install
curl https://www.npmjs.org/install.sh -L | sh
View NotificationExamplesMainActivity
package testing.blog.waynepie.blogtesting;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.app.Notification;
import android.app.PendingIntent;
import android.content.Intent;
You can’t perform that action at this time.