Skip to content

Instantly share code, notes, and snippets.

View daha's full-sized avatar

David Haglund daha

  • SSAB Oxelösund
  • Sweden
View GitHub Profile
@daha
daha / 3e7d1e3d.main.css
Last active September 25, 2016 09:48
Running calculator
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}a:hover,a:active{outline:0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{max-width:100%;width:auto\9;height:auto;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}#map_canvas img,.google-maps img{max-width:none}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle}button,input{*overflow:visible;line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}label,select,button,input[type=button],input[type=reset],input[type=submit
@daha
daha / LICENSE
Created July 4, 2012 15:49
AngularJS: GitHub Contributors
Copyright (c) 2012, David Haglund
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
@daha
daha / .gitignore
Created June 17, 2012 16:41
CB palettes
.DS_Store
@daha
daha / index.html
Created June 7, 2012 18:38
thecrapmen
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"
type="text/javascript"></script>
<script>
$(document).ready(function () {
'use strict';
function success(data) {
$('body').append(JSON.stringify(data));
}
@daha
daha / README.md
Created May 18, 2012 10:03
User tweet downloader

Twitter user tweets downloader

This gist is basically a snapshot of my project twitter-viz on GitHub. My goals with this project is to:

  1. Play with the twitter API in javascript.
  2. Play a little with jQuery, css-selectors and effects.
  3. Try twitter bootstrap for the layout/formatting of the page.