I hereby claim:
- I am mortik on github.
- I am mortik (https://keybase.io/mortik) on keybase.
- I have a public key whose fingerprint is 57D0 873A FEBA 9A36 8F26 1420 2A56 7A59 2839 06D1
To claim this, I am signing this object:
| export const calculateTravelTime = ( | |
| a1: number, | |
| a2: number, | |
| vmax: number, | |
| distance: number, | |
| ) => { | |
| const dc = distance - (4 * vmax ** 2 * (2 * a1 + a2)) / (3 * (a1 + a2) ** 2); | |
| if (dc < 0) { | |
| // drive does not reach vmax |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
I hereby claim:
To claim this, I am signing this object:
Installs 2.1.2 on debian/ubuntu via checkinstall so it's in your package manager and you can remove it.
Quick install:
curl -L https://gist.github.com/mortik/4ea0208b1688097c9549/raw/855840025891f3b7e764bf720026072104c5c3bd/ruby-2-install-debian.sh | bash -s
| global | |
| log 127.0.0.1 local0 | |
| log 127.0.0.1 local1 debug | |
| #log loghost local0 info | |
| maxconn 4096 | |
| #chroot /usr/share/haproxy | |
| #daemon | |
| #debug | |
| #quiet |
| server { | |
| listen 8080; | |
| server_name reckoning.dev; | |
| location / { | |
| root ~/dev/work/mortik/reckoning/public; | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
| proxy_set_header Host $http_host; | |
| proxy_redirect off; | |
| if (!-f $request_filename) { |
| worker_processes 1; | |
| error_log /usr/local/etc/nginx/logs/error.log debug; | |
| #pid logs/nginx.pid; | |
| events { | |
| worker_connections 128; | |
| } |