Skip to content

Instantly share code, notes, and snippets.

DILL DILL44

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
m14t / fix_github_https_repo.sh
Created Jul 5, 2012
Convert HTTPS github clones to use SSH
View fix_github_https_repo.sh
#/bin/bash
#-- Script to automate https://help.github.com/articles/why-is-git-always-asking-for-my-password
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."
exit
fi
@ideadapt
ideadapt / formmapper_snippet.php
Created Jan 17, 2012
add tinymce to form field in symfony2
View formmapper_snippet.php
$formMapper
->with('General')
->add('title')
->add('blog', 'textarea', array('attr' => array('class' => 'tinymce', 'tinymce'=>'{"theme":"simple"}')))
You can’t perform that action at this time.