This list served quite some people but someone else did a better job since.
Go to https://github.com/umpirsky/country-list for a list in your language and format.
I've also compiled a list of nationalities
| <div id='header' class='header' macro='gradient vert #555555 #3b3b3b '> | |
| <div class='siteTitle' refresh='content' tiddler='SiteTitle'></div> | |
| <span id='topMenu' refresh='content' tiddler='MainMenu'></span> | |
| </div> | |
| <div id='sidebar'> | |
| <div id='sidebarOptions' refresh='content' tiddler='SideBarOptions'></div> | |
| <div id='sidebarTabs' refresh='content' force='true' tiddler='SideBarTabs'></div> | |
| </div> | |
| <div id='displayArea'> |
This list served quite some people but someone else did a better job since.
Go to https://github.com/umpirsky/country-list for a list in your language and format.
I've also compiled a list of nationalities
| TarGZ = function(){}; | |
| // Load and parse archive, calls onload after loading all files. | |
| TarGZ.load = function(url, onload, onstream, onerror) { | |
| var o = new TarGZ(); | |
| o.onload = onload; | |
| o.onerror = onerror; | |
| o.onstream = onstream; | |
| o.load(url); | |
| return o; |
| <?php | |
| class Scrape { | |
| public $headers = array(); | |
| public $result; | |
| public $error; |
| A backup of http://sites.google.com/site/redcodenl/creating-shazam-in-java-1 just in case | |
| Why is this necessary? Read http://sites.google.com/site/redcodenl/patent-infringement | |
| Please fork, tweet about, etc. | |
| ---- | |
| Creating Shazam in Java | |
| A couple of days ago I encountered this article: How Shazam Works | |
| This got me interested in how a program like Shazam works… And more importantly, how hard is it to program something similar in Java? |
| using namespace std; | |
| #include <algorithm> | |
| #include <iostream> | |
| #include <iterator> | |
| #include <sstream> | |
| #include <fstream> | |
| #include <cassert> | |
| #include <climits> | |
| #include <cstdlib> | |
| #include <cstring> |
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |
| var express = require('express'), | |
| request = require('request'), | |
| BufferList = require('bufferlist').BufferList, | |
| sys = require('sys'); | |
| var app = express.createServer( | |
| express.logger(), | |
| express.bodyDecoder() | |
| ); |
| defaults: | |
| format: '%n - %s%e - %t%x' | |
| library: thetvdb | |
| organise: yes | |
| renamed: /Volumes/Media/TV/ | |
| the: true | |
| '24': | |
| format: '%n - %s%e' |
| import _winreg as reg | |
| import win32file | |
| adapter_key = r'SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}' | |
| def get_device_guid(): | |
| with reg.OpenKey(reg.HKEY_LOCAL_MACHINE, adapter_key) as adapters: | |
| try: |