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
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
"use strict"; | |
// ############# | |
// Basic example | |
// - example reading and writing data on from/to card | |
// - should work well with any compatible PC/SC card reader | |
// - tested with Mifare Ultralight cards but should work with many others | |
// - example authentication for Mifare Classic cards | |
// ############# |
// No Security | |
{ | |
"rules": { | |
".read": true, | |
".write": true | |
} | |
} |
// Create an array to sort | |
var array = [9, 2, 5, 6, 4, 3, 7, 10, 1, 12, 8, 11]; | |
// Basic implementation (pivot is the first element of the array) | |
function quicksort(array) { | |
if (array.length == 0) return []; | |
var left = [], right = [], pivot = array[0]; | |
for (var i = 1; i < array.length; i++) { |
Well, that was unexpected. In the following, I’m trying to follow Jon Evans’ advice from “The Terrible Technical Interview”.
To: recruitment@EmployerABC.com
From: Ahmed Fasih
Subject: Re: Programming Test Invitation
Hi there! Thanks for offering to let me take a HackerRank test for ABC, I appreciate the vote of confidence.