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
alias gittoplist='LC_ALL="C"; git log --pretty=format:"%an (%ar)" | awk "{cnt[\$1]++; if (cnt[\$1]==1) line[\$1]=\$0} END {for(i in cnt) {printf \"%5d %s\n\", cnt[i], line[i]}}" | sort -r' |
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
Compile the Haskell code with ghc and put it somewhere convenient. Then call Pandoc as: | |
pandoc -t json test.md | handleBlockdiag png | pandoc -f json -o test.html |
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
SOURCE = example_file.md | |
HTML = $(SOURCE:.md=.html) | |
PDF = $(SOURCE:.md=.pdf) | |
WIKI = $(SOURCE:.md=.wiki) | |
all: $(HTML) $(PDF) $(WIKI) | |
clean: | |
rm -f *.aux *.tex *.out *.log *.html *.pdf *.wiki |
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
; -*- st-default_line_ending: windows -*- | |
; National characters ======================================================== | |
#Hotstring * ? ; Expand immediately everywhere | |
::,aa::á | |
::,ae::æ | |
::,ag::à | |
::,cc::ç | |
::,ee::é |
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
#!/bin/bash | |
function actual_path() { | |
if [ [ -z "$1" ] -a [ -d $1 ] ]; then | |
echo $(cd $1 && test `pwd` = `pwd -P`) | |
return 0 | |
else | |
return 1 | |
fi | |
} |
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
<?php | |
class FakeStuff | |
{ | |
private $faker = null; | |
public function __construct() | |
{ | |
$this->faker = Faker\Factory::create('sv_SE'); | |
} |
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
homebrew/cask | |
homebrew/cask-versions | |
homebrew/core |
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
automake | |
bfg | |
clang-format | |
cmake | |
cocoapods | |
composer | |
docker | |
docker-machine | |
dos2unix | |
duti |
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
1password | |
adguard | |
adobe-digital-editions | |
agenda | |
araxis-merge | |
bartender | |
betterzip | |
bookmacster | |
busycal | |
cleanmymac |
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
#!/bin/bash | |
PREFIX="${1%/}" | |
if [ -z "$PREFIX" ]; then | |
PREFIX="." | |
fi | |
for D in $PREFIX/*/; do | |
pushd "${D}" &> /dev/null | |
if [ -d ".git" ]; then | |
echo "Updating ${D}" |
OlderNewer