This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import random | |
from math import sin, sqrt | |
################################################################################ | |
# Function to minimise | |
################################################################################ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>SVG Test</title> | |
</head> | |
<body> | |
<svg xmlns="http://www.w3.org/2000/svg" height="400" width="400" viewBox="0 0 400 400"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>SVG Test</title> | |
</head> | |
<body> | |
<svg xmlns="http://www.w3.org/2000/svg" height="400" width="400" viewBox="0 0 400 400"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
while true; do | |
echo -n "Whine: " | |
read text | |
echo $text > /dev/null | |
done; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iframe src="http://www.mapplication.eu/partners/4e9c0562-0d66-11e3-a629-28cfe94c9e77" style="width:100%; height:750px; border:1px solid #999;" scrolling="no"></iframe> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am karls on github. | |
* I am karls (https://keybase.io/karls) on keybase. | |
* I have a public key whose fingerprint is C26E 7741 E6E7 2AAD FAAA 99D9 E22A D0D2 17C8 87F4 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Theme cycling. | |
;; NOTE: themes have to exist somewhere on disk, e.g in ~/.emacs.d/themes/ | |
;; Set it with (setq custom-theme-directory "~/.emacs.d/themes/") | |
(defvar current-theme-index 0) | |
(defvar theme-list | |
'(solarized-dark solarized-light) | |
"List of themes to cycle through.") | |
(defun get-theme-name (idx) |