Skip to content

Instantly share code, notes, and snippets.

View omegahm's full-sized avatar

Mads Ohm Larsen omegahm

View GitHub Profile
@omegahm
omegahm / SassMeister-input.scss
Created April 30, 2014 12:03
Generated by SassMeister.com.
// ----
// Sass (v3.3.5)
// Compass (v1.0.0.alpha.18)
// ----
.head {
.body {
color: red;
}
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
name;to;
Mads Øhm;mads.ohm@gmail.com;

Keybase proof

I hereby claim:

  • I am omegahm on github.
  • I am ohm (https://keybase.io/ohm) on keybase.
  • I have a public key whose fingerprint is 325A 9501 EF27 4119 9D95 6B2C 6160 D55A B733 0741

To claim this, I am signing this object:

@omegahm
omegahm / .bashrc
Last active August 29, 2015 14:08
.bashrc for servers
# LOKALEBASEN BASHRC
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
PS1="\[\e[01;30m\][\t] \[\e[0m\]\[\e[00;35m\]\u\[\e[0m\]\[\e[00;37m\]@\[\e[0m\]\[\e[00;31m\]\h\[\e[0m\]\[\e[00;37m\]:\[\e[0m\]\[\e[00;36m\]\w\[\e[0m\]\[\e[00;37m\] \\$ \[\e[0m\]"
/**************************/
/* GECKOBOARD LIGHT THEME */
/**************************/
.icons-sprite,
.geckometer-widget .widget-canvas .scale,
.geckometer-widget .widget-canvas .scale-big {
background: url(https://d28q98t4icjy0h.cloudfront.net/assets/icons-s9344ff3d6a-79d79b411ae93eb9bbd8151b2a5bf8e8.png) no-repeat;
}
body {
@sums = ko.computed =>
$.map data.sums, (value, key) =>
if @kinds().length is 0 || @kinds().indexOf(key) isnt -1
value
.reduce (a, b) ->
a + b
, 0
@omegahm
omegahm / reddit.css
Created April 8, 2015 17:08
Reddit minimal style
@font-face {
font-family: 'Nunito';
font-style: normal;
font-weight: 300;
src: local('Nunito-Light'), url(http://fonts.gstatic.com/s/nunito/v7/1TiHc9yag0wq3lDO9cw0vpBw1xU1rKptJj_0jans920.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
@font-face {
font-family: 'Nunito';
\documentclass[a4paper,10pt]{article}
\usepackage[top=2.5cm, bottom=3cm, left=3cm, right=3cm]{geometry}
% Standard preamble
\usepackage[danish]{babel}
\usepackage[utf8]{inputenc}
\usepackage[sc]{mathpazo}
\linespread{1.05} % Palatino needs more leading (space between lines)
\usepackage[T1]{fontenc}
@omegahm
omegahm / README.md
Created May 21, 2015 13:48
Couch Presentation
@omegahm
omegahm / Output
Created May 21, 2015 16:49
4d9 > 6d6
Matches: 101640
4d9 wins: 55948
4d9 wins %: 0.550452577725305
6d6 wins: 40641
6d6 wins %: 0.3998524203069658
Draws: 5051