Search for 16-04
docker search 16-04
Search for ubuntu
xmllint --xpath '//testcase[@time>"0.1"]' test.xml |
<?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; |
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 '/[email protected], 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: |
// ==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; ' + |
setInterval(() => {console.info(document.activeElement);}, 1000) | |
/* | |
* @author [@françoismassart](https://github.com/francoismassart) | |
*/ |
~\Applications\ffmpeg-2021-11-29-git-86a2123a6e-full_build\bin\ffmpeg.exe -i "concat:user03-mobile-part1.MTS|user03-mobile-part2.MTS" -f mp4 -vcodec h264_nvenc -acodec mp3 user03-mobile-full-compressed.mp4 |
<!-- begin snippet: js hide: false console: false babel: null --> | |
<!-- language: lang-js --> | |
<!-- @credit: EtherDream https://stackoverflow.com/users/4565883/etherdream --> | |
// | |
// firefox, ie8+ | |
// | |
var accessor = Object.getOwnPropertyDescriptor(XMLHttpRequest.prototype, 'responseText'); | |
Object.defineProperty(XMLHttpRequest.prototype, 'responseText', { |
// ==UserScript== | |
// @name Google Analytics Checker | |
// @namespace https://rtbf.be/ | |
// @version 0.1 | |
// @description Modify the lang to track in Real Time on GA | |
// @author Sébastien Barbieri | |
// @match https://*.rtbf.be/ | |
// @icon https://www.google.com/s2/favicons?domain=userscript.zone | |
// @grant none | |
// @run-at document-start |