Skip to content

Instantly share code, notes, and snippets.

View trashhalo's full-sized avatar
:shipit:

Stephen Solka trashhalo

:shipit:
View GitHub Profile
@trashhalo
trashhalo / build.gradle
Created August 13, 2011 23:55
Gradle task converts markdown to pdf
import com.petebevin.markdown.MarkdownProcessor
import org.xhtmlrenderer.pdf.ITextRenderer
import org.ccil.cowan.tagsoup.Parser
import org.apache.xalan.xsltc.trax.SAX2DOM
import org.xml.sax.InputSource
buildscript{
repositories {
mavenCentral()
mavenRepo urls: "http://scala-tools.org/repo-releases"
#Created a github repository called trashhalo.github.com
mkdir trashhalo.github.com
cd trashhalo.github.com
git init
git remote add octopress git://github.com/imathis/octopress.git
git symbolic-ref HEAD refs/heads/source
#Pulling all of octopress into source branch
git pull octopress
git merge octopress/master
git remote add origin git@github.com:trashhalo/trashhalo.github.com.git
@trashhalo
trashhalo / manual-branch.txt
Created November 5, 2010 18:02
manually add branch
git config --add svn-remote.BRANCHNAME.url https://svn/path_to_newbranch/
git config --add svn-remote.BRANCHNAME.fetch :refs/remotes/BRANCHNAME
git svn fetch BRANCHNAME