Skip to content

Instantly share code, notes, and snippets.

View Cozmo25's full-sized avatar

Ollie Graham Cozmo25

View GitHub Profile
@RHavar
RHavar / RandomUint32.js
Created July 31, 2015 14:48
Generate a random 32 bit unsigned integer
function randomUint32() {
if (window && window.crypto && window.crypto.getRandomValues && Uint32Array) {
var o = new Uint32Array(1);
window.crypto.getRandomValues(o);
return o[0];
} else {
console.warn('Falling back to pseudo-random client seed');
return Math.floor(Math.random() * Math.pow(2, 32));
}
}
@theodorosploumis
theodorosploumis / Nework_throttling_profiles.md
Last active July 17, 2024 03:15
Web development - Custom network throttling profiles
Profile download (kb/s) upload (kb/s) latency (ms)
Native 0 0 0
GPRS 50 20 500
56K Dial-up 50 30 120
Mobile EDGE 240 200 840
2G Regular 250 50 300
2G Good 450 150 150
3G Slow 780 330 200
@bepuca
bepuca / object_detection_error_analysis_article.ipynb
Last active April 28, 2024 14:37
object detection error analysis article - Interactive version of the article as a Jupyter notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.