Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?> | |
<InfoDump application="NFC TagInfo" version="1.09c"> | |
<Tag rfTechnology="Type V (ISO/IEC 15693 / Vicinity)"> | |
<GeneralInformation> | |
<Value name="uid" description="UID">e0XXXXXXXXXXXXXX</Value> | |
<Value name="rfTechnology" description="RF technology">Type V (ISO/IEC 15693 / Vicinity)</Value> | |
<Value name="tagType" description="Tag type">SL2 ICS2001 (ICODE SLI)</Value> | |
<Value name="manufacturer" description="Manufacturer">NXP Semiconductors (Germany)</Value> | |
<Value name="afiString" description="Application family identifier (AFI)">all families and sub-families</Value> | |
<Value name="afi" description="AFI (numeric)">00</Value> |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#include <string.h> | |
void *__memcpy_glibc_2_2_5(void *, const void *, size_t); | |
asm(".symver __memcpy_glibc_2_2_5, memcpy@GLIBC_2.2.5"); | |
void *__wrap_memcpy(void *dest, const void *src, size_t n) | |
{ | |
return __memcpy_glibc_2_2_5(dest, src, n); | |
} |
#!/bin/sh | |
echo Install all AppStore Apps at first! | |
# no solution to automate AppStore installs | |
read -p "Press any key to continue... " -n1 -s | |
echo '\n' | |
echo Install and Set San Francisco as System Font | |
ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)" | |
echo Install Homebrew, Postgres, wget and cask | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |
# Create a new Ubuntu 13 instance. | |
# Get the tools and things as specified in https://gist.github.com/curtislacy/3905950/ | |
sudo fdisk -l | |
sudo mkfs -t ext3 /dev/xvde1 | |
sudo mkdir /var/lib/blockchain | |
sudo vi /etc/fstab | |
# Add: | |
# /dev/xvde1 /var/lib/blockchain ext3 defaults,noatime 0 2 | |
sudo mount -a |
<?php | |
namespace Money; | |
class Bitcoin { | |
#const BITCOIN_NODE = '173.224.125.222'; // w001.mo.us temporary | |
const BITCOIN_NODE = '50.97.137.37'; | |
static private $pending = array(); | |
public static function update() { |
var system = require('system'), | |
fs = require("fs"), | |
CACHED_HEADER_NAME_REGEX = /X-Cache/, | |
CACHED_HEADER_VALUE_REGEX = /HIT/, | |
address, | |
parsedAddress, | |
cachedBytes = 0, | |
nocacheBytes= 0, | |
showAllURLS = false, | |
quiet = false, |
# 1) Create your private key (any password will do, we remove it below) | |
$ cd ~/.ssh | |
$ openssl genrsa -des3 -out server.orig.key 2048 | |
# 2) Remove the password | |
$ openssl rsa -in server.orig.key -out server.key |
blink { | |
-webkit-animation: blink 1.2s step-end infinite; | |
-moz-animation: blink 1.2s step-end infinite; | |
-o-animation: blink 1.2s step-end infinite; | |
animation: blink 1.2s step-end infinite; | |
} | |
@-webkit-keyframes blink { | |
0% {opacity: 1.0;} | |
50% {opacity: 0.0;} | |
} |