ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$ts = '1463646983'; | |
$hash = str_replace('=', '',strtr(base64_encode(md5('1463646983 secret', TRUE)), '+/', '-_')); // base64url | |
echo $hash; | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### 1 | |
sudo nano /etc/apt/sources.list | |
deb http://www.deb-multimedia.org/ stretch main non-free | |
apt-key adv --recv-keys --keyserver pgpkeys.eu 5C808C2B65558117 | |
sudo apt-get install debian-keyring | |
sudo apt-get update | |
sudo apt-get -f install | |
sudo apt-get install deb-multimedia-keyring | |
sudo apt-get update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
root /path/to/app/public; | |
index index.php; | |
server_name test.dev; | |
set $cors_headers "whatever-custom-headers,you-would-like"; | |
# redirection to index.php | |
location / { | |
try_files $uri $uri/ /index.php?$query_string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to build HDF5 for Android | |
References: | |
----------- | |
[1] http://developer.android.com/tools/sdk/ndk/index.html | |
[2] http://developer.android.com/sdk/index.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
STANDLONE_PREFIX=/Users/palmerc/Development/android-ndk/standalone-r13b | |
HDF5_PARENT_DIR=${HOME}/Development/HDF5-compile | |
HDF5_INSTALL_DIR=${HDF5_PARENT_DIR}/HDF5 | |
EMULATOR_NAME_ARM="nexus19-arm" | |
EMULATOR_NAME_X86="nexus19-x86" | |
function find_device { | |
local UUID=$1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""an alpha version of the plotter""" | |
import signal | |
import sys | |
import pyqtgraph as pg | |
import pyqtgraph.dockarea as pgd | |
import h5py | |
import numpy as np | |
from PyQt4 import QtGui, QtCore | |
from PyQt4.phonon import Phonon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
import os | |
import shutil | |
import stat | |
import subprocess | |
import time | |
import numpy as np | |
from scipy.io import wavfile | |
import re | |
import glob |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
import subprocess | |
import shutil | |
import os | |
import stat | |
import time | |
# This script looks extremely defensive, but *should* let you rerun at | |
# any stage along the way. Also a lot of code repetition due to eventual support | |
# for "non-blob" install from something besides the magic kk_all_deps.tar.gz |