Search for 16-04
docker search 16-04
Search for ubuntu
| // ==UserScript== | |
| // @name Count Media on Auvio Page | |
| // @version 1 | |
| // @include https://*.rtbf.be/auvio/* | |
| // @author Sébastien Barbieri | |
| // ==/UserScript== | |
| var counter = document.createElement("div"); | |
| counter.innerHTML = '<div id="myCounter" style="margin: 0 auto 0 auto; ' + |
| 1) Generate a private key and certificate signing request: | |
| openssl genrsa -out ios_distribution.key 2048 | |
| openssl req -new -key ios_distribution.key -out ios_distribution.csr -subj '/emailAddress=me@example.com, CN=Example, C=US' | |
| 2) Upload CSR to apple at: https://developer.apple.com/account/ios/certificate/create | |
| - choose Production -> App Store and Ad Hoc | |
| 3) Download the resulting ios_distribution.cer, and convert it to .pem format: |
| <?php | |
| function sphericalDistance($lat1,$lon1,$lat2,$lon2){ | |
| $R = 6371.0; // km | |
| $d = acos( | |
| sin(deg2rad($lat1))*sin(deg2rad($lat2)) | |
| + cos(deg2rad($lat1))*cos(deg2rad($lat2)) | |
| * cos(deg2rad($lon2-$lon1)) | |
| ) | |
| * $R; | |
| return $d; |
| xmllint --xpath '//testcase[@time>"0.1"]' test.xml |
| # Tunnel the 443 port of your host to the vagrant machine you have | |
| sudo ssh -g -L 443:localhost:443 -f -N vagrant@192.168.33.10 |
| <script src="https://unpkg.com/vue"></script> | |
| <style> | |
| .done { | |
| text-decoration: line-through; | |
| } | |
| </style> | |
| <div id="app"> | |
| <p> | |
| <label v-for="m in modes"> |
| # Usage Get base64 decoded from dump: cat searchd.* | awk -f crash.awk | base64 -d | |
| # Usage Get specific term that caused the crash: cat searchd.* | awk -f crash.awk | base64 -d | awk 'match($0, /.*\^(\w+)\$.*/, a) {print a[1]}' | sort | uniq -c | |
| BEGIN { RS=""; FS="\n" } | |
| { | |
| keep=0 | |
| for(i=1;i<=NF;i++) { | |
| if ( $i ~ /request dump end/ ) { | |
| keep=0 | |
| print temp |