Skip to content

Instantly share code, notes, and snippets.

View sideshowbarker's full-sized avatar
👺
Pay no attention to the man behind the curtain

sideshowbarker

👺
Pay no attention to the man behind the curtain
View GitHub Profile
@sideshowbarker
sideshowbarker / subtrees.sh
Last active November 2, 2025 06:27 — forked from nikita240/subtrees.sh
Convert git submodules to git subtrees
#!/bin/bash
# Converts all git submodules in a repository to subtrees, and writes
# information about their corresponding remotes out to a .gitsubtrees file.
#
# -------------------------------------------------------------------------
# IMPORTANT: Save this script somewhere OUTSIDE YOUR REPO CLONE DIRECTORY
# -------------------------------------------------------------------------
#
# 1. Save the script in, for example, your home directory, as ~/subtrees.sh.
#
@sideshowbarker
sideshowbarker / Custom.css
Created December 5, 2012 03:14 — forked from bentruyman/Custom.css
IR_Black Theme for Chrome Developer Tools + DOM-snippet syntax hilite + no disappearing cursor when editing HTML
/**********************************************/
/*
* Modified copy of IR_Black Skin by Ben Truyman - 2011j
* This version adds syntax highlighting for DOM snippets in console
* message output.
/*
/* Based on Todd Werth's IR_Black:
/* http://blog.toddwerth.com/entries/2
/*
/* Inspired by Darcy Clarke's blog post:
@sideshowbarker
sideshowbarker / Custom.css
Created October 5, 2012 06:57 — forked from bentruyman/Custom.css
modified IR_Black Theme for Chrome Developer Tools
/**********************************************/
/*
* Modified copy of IR_Black Skin by Ben Truyman - 2011j
* This version adds syntax highlighting for DOM snippets in console
* message output.
/*
/* Based on Todd Werth's IR_Black:
/* http://blog.toddwerth.com/entries/2
/*
/* Inspired by Darcy Clarke's blog post: