Skip to content

Instantly share code, notes, and snippets.

@r3ap3r2004
r3ap3r2004 / .gitattributes
Created October 4, 2012 02:10 — forked from iloveitaly/.gitattributes
Snippets for Spree Commerce Development
# with my git configuration the spree repo was giving me issues with line endings
# this fixed the issue for me: marking a file as binary causes git to ignore it completely
core/vendor/assets/javascripts/jquery.alerts/jquery.alerts.css.erb binary
core/vendor/assets/javascripts/jquery.alerts/jquery.alerts.js binary
core/vendor/assets/javascripts/jquery.jstree/themes/apple/style.css binary
sample/db/sample/spree/line_items.yml binary
sample/db/sample/spree/products.yml binary
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
@r3ap3r2004
r3ap3r2004 / docker-destroy.sh
Created December 29, 2016 18:11 — forked from steenzout/docker-destroy.sh
Bash script to wipe out all docker containers, volumes and network.
#!/bin/bash
docker stop $(docker ps -a -q)
docker rm -f $(docker ps -a -q)
docker volume prune -f
docker network prune -f