Skip to content

Instantly share code, notes, and snippets.

View dnordstrom's full-sized avatar

Daniel Nordstrom dnordstrom

View GitHub Profile
projectpage2.com
> ls
app core server.js
app.coffee package.json supervisord.conf
config public
projectpage2.com
> ls app/
controllers/ helpers/ libs/ models/
1.upto(100) do |nr|
if nr % 3 === 0 && nr % 5 === 0
puts 'FizzBuzz'
elsif nr % 3 === 0
puts 'Fizz'
elsif nr % 5 === 0
puts 'Buzz'
else
puts nr
end
@dnordstrom
dnordstrom / COPYING
Last active December 23, 2015 11:59
Search engine management tool for OpenSearch capable browsers—including provider XML for Startpage, DuckDuckGo, DeviantArt People Search, etc.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <[email protected]>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Presentation</title>
<meta name="description" content="Please, tell me a story.">
<meta name="author" content="Mr. Myself">
Slide 1
-------
title: Hello fellas
text: We're great and such.
Slide 2
-------
title: What do we?
text: We do a bit of both, actually.
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>Startpage</ShortName>
<Description>Startpage Search, adds Startpage.com over HTTPS (POST) to your OpenSearch capable browser.</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAC5klEQVQ4jV3O329TZRzH8fMfnGvmRW+88sf+AYUFJAwWJxAhyqI4gUzMWkfUZeg6cMGFlq7LqXS6snVLdWzg5mrpzNlshpNMmjFCNMYbjMR4Ia16YcSe50fX5+3FKaPxSV7J9/l8k0++VvKWNomiJrFe1zivV0lu0VtGb1cZXdek7mhjxW9qE1tTxIqK2NpDmlhREy9q4kWFUygz9nEBp/AHTj13iprRDW2syLfanFtRDF2vW1EMrWiGrmvO31Bcen+cxccCuLaNa9tkjg/Ud5r4TW2sDwra9C8rwq4ivNzAVZxdVuSbAsw+28545wD5Jr8o82KIs8uaoW+0sd5bUqbXVfR+Vecq+lzJh8lbpF4Nk28K0D9fps9VDE7d3Sq5cKHAQEEZ6928NKGsIpRVhBYUPVlFT1Yy/Uw7rm1zrSlA75Uyp7KSd7KSSHgO17a52DXM6bwyVnBBmq6rkq6rijfmFAOLiv5FxVuZMrPNO3Btm7H2IG/OSbrnJOf6/IKRY8OcuqaMdeJzaTpnJN3zko3fagBUF
@dnordstrom
dnordstrom / gist:81cf629886334f3500b1
Last active November 11, 2015 16:37
Pentadactyl Configuration
""
" Configuration File for Pentadactyl Firefox Add-On
"
" Notes:
" - Using `command!` instead of `command` makes sure commands are
" updated when re-sourcing this file
"
" @author 0.1.0
" @version L. Daniel Nordstrom <[email protected]>
" @license MPL 2.0
@dnordstrom
dnordstrom / gist:457eb1926bdf00a5e354
Last active August 29, 2015 14:06
Go · · · Combining `cd` and `ls` commands into one
##
# Simple utility to change directory and list files in one step. If no
# arguments are provided, it just lists the files in the current
# directory. This allows the script to be used as both `cd` and `ls`.
#
# Go to directory and list files:
# `go /home/philosoraptor/thoughts -Ahl`
#
# List files in current directory:
# `go -Ahl`
Verifying that +dnordstrom is my Bitcoin username. You can send me #bitcoin here: https://onename.io/dnordstrom
@dnordstrom
dnordstrom / autoexec.cfg
Last active October 10, 2015 08:28
D‘s CS:GO Configuration for Mac
////
// D's CS:GO Configuration for Mac
////
//
// Sensitivity
//