Skip to content

Instantly share code, notes, and snippets.

@tijn
tijn / splitter.rb
Last active December 15, 2015 18:09 — forked from ChrisLundquist/splitter.rb
split off subdirectories of a git repo to their own repo.
#!/usr/bin/env ruby
# preliminary:
#
# git clone remote_repo repo
# cd repo
# for remote in `git branch -r | grep -v master `; do git checkout --track $remote ; done
def git_repo(subdir)
if File.directory?(subdir + "/.git")
@tijn
tijn / scss.xml
Created June 29, 2011 09:23 — forked from razor-x/scss.xml
SCSS syntax highlighting for Kate. Based on Kate CSS syntax file.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!--
Kate SCSS syntax highlighting definition
A few lines were added to the Kate CSS syntax highlighting definition to support SCSS
The latest version of this file can be found at https://gist.github.com/958598
Changelog: