I hereby claim:
- I am scottlowe on github.
- I am scottlowe (https://keybase.io/scottlowe) on keybase.
- I have a public key ASDmb7xiKJx5NtXBSQj-vkI7ltEVbh3l9PLSo_H8hnfefAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX ospc: <http://data.ordnancesurvey.co.uk/ontology/postcode/> | |
PREFIX geopos: <http://www.w3.org/2003/01/geo/wgs84_pos#> | |
PREFIX geosparql: <http://www.opengis.net/ont/geosparql> | |
CONSTRUCT { | |
?postcode geosparql:hasGeometry [ | |
a geosparql:Geometry ; | |
geosparql:asWKT ?wktlit ; | |
] | |
} |
var eventArgs = [new cljs.core.Keyword("foo"), "bar"] | |
var evt = new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, eventArgs) | |
re_frame.core.dispatch(evt); |
; Clojure is your friend and it will help you bag that Nexus you wanted. | |
; Paste into your REPL, sit back and wait in comfort. Checks every 60 seconds. | |
(import 'java.util.Date) | |
(import 'java.util.concurrent.Executors) | |
(import 'java.util.concurrent.TimeUnit) | |
(use 'clojure.java.browse) | |
(def nexus-page "https://play.google.com/store/devices/details?id=nexus_4_16gb") |
You will need curl
. If you don't have it, install it via apt-get.
Now use curl
to download and execute the latest RVM shell script:
curl -L get.rvm.io | bash -s stable
source /etc/profile.d/rvm.sh
(def axial-tree-a {:start [\F] | |
:rules {\F "F[+F]F[-F]F"} | |
:angle 25.7 | |
:constants #{\F \+ \- \[ \]} | |
:cmd-map {\F :forward | |
\+ :left | |
\- :right | |
\[ :push | |
\] :pop}}) |
(defn next-factor [target candidate] | |
(if (= 0 (mod target candidate)) | |
candidate | |
(recur target (inc candidate)))) | |
(defn largest-factor [n] | |
(loop [primes [(next-factor n 2)]] | |
(if (= n (reduce * primes)) | |
(last primes) | |
(recur (conj primes (next-factor n (inc (last primes)))))))) |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Security.Cryptography; | |
using System.Text; | |
namespace dotnet_aes | |
{ | |
public class OpenSslAes | |
{ |
#! /bin/bash | |
### BEGIN INIT INFO | |
# Provides: unicorn | |
# Required-Start: $local_fs $remote_fs $network $syslog | |
# Required-Stop: $local_fs $remote_fs $network $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts the unicorn web server | |
# Description: starts unicorn |
“Debugging is twice as hard as writing the code in the first place. | |
Therefore, if you write the code as cleverly as possible, you are, by definition, | |
not smart enough to debug it.” | |
Brian Kernighan |