Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block DILL44

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
m14t /
Created Jul 5, 2012
Convert HTTPS github clones to use SSH
#-- Script to automate
REPO_URL=`git remote -v | grep -m1 '^origin' | sed -Ene's#.*(https://[^[:space:]]*).*#\1#p'`
if [ -z "$REPO_URL" ]; then
echo "-- ERROR: Could not identify Repo url."
echo " It is possible this repo is already using SSH instead of HTTPS."
ideadapt / formmapper_snippet.php
Created Jan 17, 2012
add tinymce to form field in symfony2
View formmapper_snippet.php
->add('blog', 'textarea', array('attr' => array('class' => 'tinymce', 'tinymce'=>'{"theme":"simple"}')))
You can’t perform that action at this time.