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 hidden or 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
// Signature inflation/deflation | |
var inflateToJsonSignature = function (deflatedSig) { | |
var intArray = []; | |
for (var i = 0; i < deflatedSig.length; i++) { | |
intArray.push((deflatedSig[i].charCodeAt()).toString(16)); | |
} | |
var sigString = "["; | |
for (var j = 0; j < intArray.length; j = j + 4) { | |
sigString += ( |
This file contains hidden or 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
# | |
# Add vim-pathogen bundle as git submodules | |
# | |
for plugin in `ls bundle`; do | |
URL=`grep -A 1 origin bundle/$plugin/.git/config | grep "url =" | awk '{print $3}'` | |
git submodule add $URL bundle/$plugin ; | |
done |
This file contains hidden or 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
## /lib/systemd/system/supervisord.service | |
## systemctl enable supervisord.service | |
## systemctl start supervisord.service | |
[Unit] | |
Description=Supervisor process control system for UNIX | |
Documentation=http://supervisord.org | |
After=network.target | |
[Service] |
This file contains hidden or 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
<? | |
## Example in PHP | |
class Decryption | |
{ | |
public $privateKey = '{yourPrivateKey}'; | |
public function decrypt($data) | |
{ |
This file contains hidden or 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
<script src="//js.jotform.com/actions.js"></script> | |
<script> | |
// INIT JotFormActions | |
if (typeof window.JotFormActions === "undefined") { | |
window.JotFormActions = JotFormActions("project-id"); | |
} | |
</script> | |
// Simple tick on an action (click, view, scroll, or anything else) |
This file contains hidden or 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
wget https://us.download.nvidia.com/tesla/460.73.01/NVIDIA-Linux-x86_64-460.73.01.run | |
bash NVIDIA-Linux-x86_64-460.73.01.run |