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
/** | |
* Design Shack Pricing Table Example | |
*/ | |
* {margin: 0; padding: 0;} | |
body {background: #ededed;} | |
#container { | |
width: 780px; |
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
/** | |
* Design Shack Pricing Table Example | |
*/ | |
* {margin: 0; padding: 0;} | |
body {background: #ededed;} | |
#container { | |
width: 780px; |
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
/** | |
* Design Shack Pricing Table Example | |
*/ | |
* {margin: 0; padding: 0;} | |
body {background: #ededed;} | |
#container { | |
width: 780px; |
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
## Macro title: UML Sequence Diagram | |
## Macro has a body: Y | |
## Body processing: Unrendered | |
## | |
## This macro allows use of js-sequence-diagrams from http://bramp.github.io/js-sequence-diagrams/ | |
## | |
## Developed by: Greg MacLellan | |
## Date created: 2015-09-15 | |
## 2015-09-21: Added suppor for displaying parse errors while rendering | |
## Installed by: Greg MacLellan |
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
/* http://www.tug.dk/FontCatalogue/cabin/ */ | |
@font-face { | |
font-family: 'cabinregular'; | |
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAG4IABMAAAAA5ogAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABqAAAABwAAAAcaY3kKEdERUYAAAHEAAAAHgAAACABEgAER1BPUwAAAeQAABPWAABJznTHqw1HU1VCAAAVvAAAACAAAAAgbJF0j09TLzIAABXcAAAAWgAAAGB69SGiY21hcAAAFjgAAAF9AAAB0uOCyEpjdnQgAAAXuAAAAEoAAABKFRUOzmZwZ20AABgEAAABsQAAAmVTtC+nZ2FzcAAAGbgAAAAIAAAACAAAABBnbHlmAAAZwAAASpAAAIQ8hTGGgWhlYWQAAGRQAAAAMwAAADYObSYlaGhlYQAAZIQAAAAgAAAAJA+tBvtobXR4AABkpAAAAmkAAAOUi6dEz2xvY2EAAGcQAAABwgAAAczloQeubWF4cAAAaNQAAAAgAAAAIAICAXZuYW1lAABo9AAAAmYAAAgOxff1SHBvc3QAAGtcAAAB3gAAArptSzhacHJlcAAAbTwAAADDAAABQsTzbm13ZWJmAABuAAAAAAYAAAAGPJZXfgAAAAEAAAAAzD2izwAAAADJrFREAAAAANOj7RR42mNgZGBg4ANiCQYQYGJgBMInQMwC5jEAAA4WARcAAHja1Zx7bNRXdsePbR628dgJL4MhIQGSsAEKaRKMeay9iQPEJUs2yfJwEuqmaYRoswrNVklQ091tNnJRhFKKlLJRxCKWIuSCMQi51LKcWtRrWa5leV136oxcZ3Y6O5pqNBpZo1H+qLj93Pu787LH9tjYhM7Vb+b3uPfc73mfe2dsyRGRQnlQNkjOn/3Rj38k+TKHO6KU6Cc5f/onf67viXPFs1w+c6Ww5B3JKf6N6 |
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
/* denfri.dk css style forbedring */ | |
@font-face { | |
font-family: 'cabinregular'; | |
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAG4IABMAAAAA5ogAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABqAAAABwAAAAcaY3kKEdERUYAAAHEAAAAHgAAACABEgAER1BPUwAAAeQAABPWAABJznTHqw1HU1VCAAAVvAAAACAAAAAgbJF0j09TLzIAABXcAAAAWgAAAGB69SGiY21hcAAAFjgAAAF9AAAB0uOCyEpjdnQgAAAXuAAAAEoAAABKFRUOzmZwZ20AABgEAAABsQAAAmVTtC+nZ2FzcAAAGbgAAAAIAAAACAAAABBnbHlmAAAZwAAASpAAAIQ8hTGGgWhlYWQAAGRQAAAAMwAAADYObSYlaGhlYQAAZIQAAAAgAAAAJA+tBvtobXR4AABkpAAAAmkAAAOUi6dEz2xvY2EAAGcQAAABwgAAAczloQeubWF4cAAAaNQAAAAgAAAAIAICAXZuYW1lAABo9AAAAmYAAAgOxff1SHBvc3QAAGtcAAAB3gAAArptSzhacHJlcAAAbTwAAADDAAABQsTzbm13ZWJmAABuAAAAAAYAAAAGPJZXfgAAAAEAAAAAzD2izwAAAADJrFREAAAAANOj7RR42mNgZGBg4ANiCQYQYGJgBMInQMwC5jEAAA4WARcAAHja1Zx7bNRXdsePbR628dgJL4MhIQGSsAEKaRKMeay9iQPEJUs2yfJwEuqmaYRoswrNVklQ091tNnJRhFKKlLJRxCKWIuSCMQi51LKcWtRrWa5leV136oxcZ3Y6O5pqNBpZo1H+qLj93Pu787LH9tjYhM7Vb+b3uPfc73mfe2dsyRGRQnlQNkjOn/3Rj38k+TKHO6KU6Cc5f/onf67viXPFs1w+c6Ww5B3JKf6N6fuyNE |
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
SELECT | |
REGEXP_EXTRACT((REGEXP_EXTRACT(stories.url,'http://([^/]+)/')),'([^\\.]+\\.[^\\.]+(?:\\.[a-zA-Z].)?)$') AS stories_url_domain, | |
COUNT(stories.id) AS stories_count, | |
COUNT(CASE WHEN stories.score <= 3 THEN 1 ELSE NULL END) AS storiescountscore_3_minus, | |
COUNT(CASE WHEN stories.score <= 3 THEN 1 ELSE NULL END) / COUNT(stories.id) *100 AS stories_percent_3_minus, | |
FROM [fh-bigquery:hackernews.stories] | |
AS stories | |
WHERE | |
REGEXP_EXTRACT((REGEXP_EXTRACT(stories.url,'http://([^/]+)/')),'([^\\.]+\\.[^\\.]+(?:\\.[a-zA-Z].)?)$') NOT IN ('') |
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
require 'HighLine/import' | |
def ok(prompt = '[y/N]') | |
confirm = ask(prompt) { |yn| yn.limit = 1} | |
return true if confirm.downcase == 'y' | |
return false if confirm.downcase == 'n' || confirm.downcase == '' | |
return ok | |
end |
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
if $stdin.tty? | |
ARGV[0].nil? raise "Ingen data til at tygge på. \nPipe indholdet fra inputfil (ruby script.rb < input.txt) \neller angiv filnavn som parameter" | |
dataDump = File.read(ARGV[0]) | |
else | |
dataDump = ARGF.read | |
end |
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
/*http://www.heydonworks.com/article/on-writing-less-damn-code*/ | |
html { | |
font-size: calc(0.5em + 1vw); | |
max-width: 88ex; | |
margin: 1vw auto; | |
padding: 0em 2em; | |
} | |
body { | |
font-family: monospace; | |
margin: 0; |
OlderNewer