Skip to content

Instantly share code, notes, and snippets.

@oyvholm
oyvholm / gist:165531
Created August 11, 2009 00:33
Test. Cool stuff.
File ID: 0031ff28-8613-11de-b659-00248cd5cf1e
Javelja. Så her kan man paste. Har ikke noe å paste. Sorry. Det er bare sånn det er.
Ny linje
We even have branches.
Denne ble skrevet fra git-urlen
Og en til.
to osv.
*Perl 6 has missed the boat.*
What boat? There is no boat.
*I used to like Perl, but now I use Ruby and Python.*
Glad to hear it.
*The only thing Perl has going for it is the "CPAN":http://search.cpan.org.*
# apt-get install erlang-doc-html
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
odbcinst1debian1 unixodbc erlang-mode
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED
erlang erlang-base erlang-dev erlang-examples erlang-nox erlang-src erlang-x11
The following NEW packages will be installed
# Useful Git alias, found somewhere on the Internet
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
:⌉
=⌉
¦-) as opposed to |
⍥ om nom nom
<!--[if lte IE 6]>
<style type="text/css">
#ie6msg{border:3px solid #090; margin:8px 0; background:#cfc; color:#000;}
#ie6msg h4{margin:8px; padding:0;}
#ie6msg p{margin:8px; padding:0;}
#ie6msg p a.getie8{font-weight:bold; color:#006;}
#ie6msg p a.ie6expl{font-weight:normal; color:#006;}
</style>
<div id="ie6msg">
<h4>Did you know that your browser is out of date?</h4>
#!/bin/sh
# git-eb
# File ID: 45c7afa2-434a-11df-8880-90e6ba3022ac
#
# Create new and unconnected branch
# usage: git eb <newbranch>
[ -z "$1" ] && { echo "usage: git eb <newbranch>" >&2; exit 1; }
[ -d ".git/." ] || { echo "git-eb: has to be executed from the top level of the tree" >&2; exit 1; }
Please excuse me while I gist the sky.
@oyvholm
oyvholm / Makefile
Created April 25, 2010 19:10
Example of US date formats in manpages generated by DocBook. :(
#!/usr/bin/make
#=======================================================================
# Makefile for http://gist.github.com/378643
# File ID: e1f98eac-fafa-11dd-97ce-000475e441b9
#=======================================================================
dbfile=dft.xml
htmlfile=dft.html
manpage=dft.1
@oyvholm
oyvholm / README.md
Created April 25, 2010 22:32
Demo of MIME problem when using git format-patch.

Demo of MIME problem when using git format-patch.

Execute ./runme.sh and enjoy.