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 | |
#GPG=gpg | |
# or | |
GPG=gpg2 | |
# Create test keys in `original_gnupg_test_home` folder | |
mkdir original_gnupg_test_home 2>/dev/null | |
cd original_gnupg_test_home |
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
#!/usr/bin/env python | |
# Setup config below | |
# Call simultaneously some: | |
# $ curl http://localhost:8888/ | |
import random | |
import sys |
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
<script src="js/main.js" id="script_include" type="text/javascript"></script> | |
=> | |
<script src="js/main.js" id="script_include" type="text/javascript"></script> | |
<script src="js/less-1.3.0.js" type="text/javascript"></script> | |
<script src="js/jquery-1.7.2.min.js" type="text/javascript"></script> | |
<script src="js/jquery-ui.js" type="text/javascript"></script> | |
user@domain:~/js$ node main.js > out | |
== |
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
Files: | |
mkfifo pipe pipe2 | |
pv -L 3M /dev/zero > pipe | |
pv -L 3M /dev/zero > pipe2 | |
ps -AL | grep node | |
Socket: |
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 | |
public function contentDispose($type, $name=null) | |
{ | |
$header=$type; | |
if ($name) | |
{ | |
// Firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=588409 | |
$isFF=(strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'firefox') !== false); |