Skip to content

Instantly share code, notes, and snippets.

@dvergur
dvergur / index.html
Created July 24, 2018 09:23
MathJax example // source http://jsbin.com/ximojuf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>MathJax example</title>
<script type="text/javascript" async
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML" async>
</script>
</head>
@dvergur
dvergur / keybase.md
Last active September 19, 2017 14:15

Keybase proof

I hereby claim:

  • I am dvergur on github.
  • I am acmeto (https://keybase.io/acmeto) on keybase.
  • I have a public key whose fingerprint is C326 B37A 1531 01EF 179F DE39 C18D 53B3 851F F08E

To claim this, I am signing this object:

@dvergur
dvergur / lottopicker
Last active September 12, 2022 01:00
Simple python lotto number picker
#!/usr/bin/python
import random
from random import choice
for k in range(10):
pick = list(range(1,43))
numbers = []
i=1
for j in range(5):
num = random.choice(pick)
pick.remove(num)
@dvergur
dvergur / vehicle registration's
Last active January 29, 2019 10:00
Number of vehicle registration's from The road traffic directorate.Show the current numbers of the day.
curl --silent http://xml.us.is/webaction/dailyRegistrationStatistics 2>/dev/null | sed -e :a -e 's/<[^>]*>//g;/</N;//ba' | sed -e 's/^[ \t]*//'