Skip to content

Instantly share code, notes, and snippets.

View colinhunt's full-sized avatar

Colin Hunt colinhunt

  • Canada
View GitHub Profile
@colinhunt
colinhunt / BootstrapLayout.elm
Created April 16, 2017 17:08 — forked from anonymous/BootstrapLayout.elm
elm-bootstrap-layout
module BootstrapLayout exposing (main)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick)
import Navigation exposing (Location)
import UrlParser exposing ((</>))
import Bootstrap.Navbar as Navbar
import Bootstrap.Grid as Grid
import Bootstrap.Grid.Col as Col
anonymous
anonymous / BootstrapLayout.elm
Created April 16, 2017 17:07
elm-bootstrap-layout
module BootstrapLayout exposing (main)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (onClick)
import Navigation exposing (Location)
import UrlParser exposing ((</>))
import Bootstrap.Navbar as Navbar
import Bootstrap.Grid as Grid
import Bootstrap.Grid.Col as Col
@gitaarik
gitaarik / git_submodules.md
Last active May 27, 2025 09:09
Git Submodules basic explanation

Git Submodules basic explanation

Why submodules?

In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:

  • Separate big codebases into multiple repositories.
@willurd
willurd / web-servers.md
Last active June 11, 2025 16:12
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@pdl
pdl / pl2py.pl
Created October 23, 2012 14:28
Convert perl scripts to python with the awesome power of regular expressions.
#!perl -w
=head1 NAME
pl2py.pl
=head1 DESCRIPTION
Attempts to convert perl scripts to python with the awesome power of regular expressions.