Skip to content

Instantly share code, notes, and snippets.

View S0Ulle33's full-sized avatar
👨‍💻

S0Ulle33

👨‍💻
View GitHub Profile
@hellerbarde
hellerbarde / latency.markdown
Created May 31, 2012 13:16 — forked from jboner/latency.txt
Latency numbers every programmer should know

Latency numbers every programmer should know

L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns             
Compress 1K bytes with Zippy ............. 3,000 ns  =   3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns  =  20 µs
SSD random read ........................ 150,000 ns  = 150 µs

Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs

@idmontie
idmontie / glitch.html
Last active June 15, 2022 12:42
Glitch Text Effect with CSS
<!doctype html>
<html>
<head>
<!-- Based on http://codepen.io/lbebber/pen/ypgql -->
<link href="http://necolas.github.io/normalize.css/3.0.2/normalize.css" rel='stylesheet'/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
<style>
/* Just colors and font sizes */
* {
font-family: sans-serif;
@aparrish
aparrish / understanding-word-vectors.ipynb
Last active November 9, 2024 12:16
Understanding word vectors: A tutorial for "Reading and Writing Electronic Text," a class I teach at ITP. (Python 2.7) Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@a-recknagel
a-recknagel / .coveragerc
Created August 28, 2019 14:13
gitlab CI template
[run]
branch = True
source = my_django_lib
omit =
src/my_django_lib/settings.py
*/__init__.py
[paths]
source = src