ssh-keygen -t rsa
Once you have entered the Gen Key command, you will get a few more questions:
#!/bin/bash | |
JAILS=`fail2ban-client status | grep "Jail list" | sed -E 's/^[^:]+:[ \t]+//' | sed 's/,//g'` | |
for JAIL in $JAILS | |
do | |
fail2ban-client status $JAIL | |
done |
# forked from http://forge.mysql.com/tools/tool.php?id=137 | |
[client] | |
#password = [your_password] | |
port = 3306 | |
socket = /tmp/mysqld.sock | |
# *** Application-specific options follow here *** | |
# |
// Source: http://jsfiddle.net/3ZmvS/5/ | |
function openNewTab(url) { | |
var a = document.createElement("a") | |
, ev = document.createEvent("MouseEvents") | |
a.href = url | |
ev.initMouseEvent( "click", true, true, window | |
, 0, 0, 0, 0, 0, true, false | |
, false, false, 0, null ) |
{ | |
".123" : "application/vnd.lotus-1-2-3", | |
".3dml" : "text/vnd.in3d.3dml", | |
".3g2" : "video/3gpp2", | |
".3gp" : "video/3gpp", | |
".a" : "application/octet-stream", | |
".aab" : "application/x-authorware-bin", | |
".aac" : "audio/x-aac", | |
".aam" : "application/x-authorware-map", | |
".aas" : "application/x-authorware-seg", |
To do so: | |
1. Export your Burp Certificate | |
Proxy > Options > CA Certificate > Export in DER format | |
2. Convert it to PEM | |
openssl x509 -inform der -in cacert.der -out burp.pem | |
3. Download it on the device |
<?php | |
// Delete all nodes. | |
entity_delete_multiple('node', \Drupal::entityQuery('node')->execute()); | |
// Delete all files. | |
entity_delete_multiple('file', \Drupal::entityQuery('file')->execute()); | |
// Delete all taxonomy terms. | |
entity_delete_multiple('taxonomy_term', \Drupal::entityQuery('taxonomy_term')->execute()); |
A running example of the code from:
This gist creates a working example from blog post, and a alternate example using simple worker pool.
TLDR: if you want simple and controlled concurrency use a worker pool.