start new:
tmux
start new with session name:
tmux new -s myname
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
{ | |
"ad": [ | |
"42.5000", | |
"1.5000" | |
], | |
"ae": [ | |
"24.0000", | |
"54.0000" | |
], | |
"af": [ |
Work in progress, I'll write this up properly when I'm done.
Almost all credit goes to @maxogden for putting me on to this and pointing me in the right direction for each of these items.
Prerequisites:
from subprocess import Popen, PIPE | |
from docx import opendocx, getdocumenttext | |
#http://stackoverflow.com/questions/5725278/python-help-using-pdfminer-as-a-library | |
from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter | |
from pdfminer.converter import TextConverter | |
from pdfminer.layout import LAParams | |
from pdfminer.pdfpage import PDFPage | |
from cStringIO import StringIO |
(ns MY_NAMESPACE.analytics | |
(:require [cljsjs.google-analytics] | |
[autotrack])) | |
(def tracking-code "UA-XXXXX-Y") | |
(defn start [] | |
(js/ga "create" tracking-code "auto") | |
(js/ga "require" "autotrack") | |
(js/ga "send" "pageview")) |
No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.
gpg --list-secret-keys
and look for sec
, use the key ID for the next stepgit
to use GPG -- replace the key with the one from gpg --list-secret-keys
Because every time I want to flash a new ROM, I forgot how I did it the last time.
This is how I re-flashed my unbranded Samsung Galaxy S4 (german black edition) with a stock ROM (because Cyanogenmod crashed my phone all the time). The correct Stock ROM for my Galaxy S4 is: I9505XXUHOJ2_I9505OXAHOJ2_I9505XXUHOJ2
(ns cljsjs.jwt | |
(:require | |
[clojure.spec :as s] | |
[clojure.string :as str] | |
[goog.json :as json] | |
[goog.crypt.base64 :refer [encodeString decodeString]])) | |
;; https://github.com/Caligatio/jsSHA | |
;; goog.crypt.hmac produces different signature than nodejs version | |
(def jssha (js/require "jssha")) |
$ wget --no-check-certificate -P /tmp http://flydata-rpm.s3-website-us-east-1.amazonaws.com/patchelf-0.8.tar.gz | |
$ tar xvf /tmp/patchelf-0.8.tar.gz -C /tmp | |
$ cd /tmp/patchelf-0.8 && ./configure && make && sudo make install | |
$ sudo yum install -y blas-devel boost-devel lapack-devel gcc-c++ cmake python-devel git | |
$ git clone https://github.com/davisking/dlib.git | |
$ cd dlib/python_examples/ | |
$ mkdir build && cd build | |
$ cmake -D USE_SSE4_INSTRUCTIONS:BOOL=ON ../../tools/python | |
$ cmake --build . --config Release --target install |