Skip to content

Instantly share code, notes, and snippets.

Avatar

Falko Janak daredude

  • Falko Janak Software Development
  • Berlin, Germany
View GitHub Profile
@daredude
daredude / docker-clear.bat
Created Jun 5, 2016
delete all docker container and images on windows
View docker-clear.bat
@echo off
FOR /f "tokens=*" %%i IN ('docker ps -aq') DO docker rm %%i
FOR /f "tokens=*" %%i IN ('docker images --format "{{.ID}}"') DO docker rmi %%i
View setup_p4merge.cmd
git config --global merge.tool p4merge
git config --global mergetool.p4merge.cmd 'p4merge.exe \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"'
git config --global diff.tool p4merge
git config --global difftool.p4merge.cmd 'p4merge.exe \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"'
@daredude
daredude / gist:1360840
Created Nov 12, 2011
access jQuery's event data
View gist:1360840
jQuery._data(element, "events")
@daredude
daredude / css custom font
Created Oct 28, 2010
provide a custom font for your website with css WORKS WITH IE, FIREFOX, OPERA AND SAFARI
View css custom font
@font-face
{
font-family: my_font;
src: url('my_font.eot');
src: local(my_font), url('my_font.ttf') format('opentype');
}
p
{
font-family: my_font;