Skip to content

Instantly share code, notes, and snippets.

@fkaizo
fkaizo / using_git-svn.md
Created May 14, 2018 10:42 — forked from rickyah/using_git-svn.md
A simple guide to git-svn

#Getting started with git-svn

git-svn is a git command that allows using git to interact with Subversion repositories.git-svn is part of git, meaning that is NOT a plugin but actually bundled with your git installation. SourceTree also happens to support this command so you can use it with your usual workflow.

Reference: http://git-scm.com/book/en/v1/Git-and-Other-Systems-Git-and-Subversion

##Cloning the SVN repository

You need to create a new local copy of the repository with the command

@fkaizo
fkaizo / background.js
Created January 11, 2018 14:29 — forked from danharper/background.js
Bare minimum Chrome extension to inject a JS file into the given page when you click on the browser action icon. The script then inserts a new div into the DOM.
// this is the background code...
// listen for our browerAction to be clicked
chrome.browserAction.onClicked.addListener(function (tab) {
// for the current tab, inject the "inject.js" file & execute it
chrome.tabs.executeScript(tab.ib, {
file: 'inject.js'
});
});
@fkaizo
fkaizo / mac-php-composer-setup.md
Created November 27, 2017 17:39 — forked from tomysmile/mac-php-composer-setup.md
Setup PHP Composer using Brew