Skip to content

Instantly share code, notes, and snippets.

View jpdelatorre's full-sized avatar

John De La Torre jpdelatorre

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jpdelatorre on github.
  • I am jpdelatorre (https://keybase.io/jpdelatorre) on keybase.
  • I have a public key ASBATHkeg0hTW8Qds4-rEt0VqqIZEbjhpb3XYr-fN2BlzQo

To claim this, I am signing this object:

@jpdelatorre
jpdelatorre / .bash_profile
Last active January 31, 2020 16:50
dotfiles
[[ -s ~/.bashrc ]] && source ~/.bashrc
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
alias ls='ls -GFh'
alias ll='ls -lha'
function prompt {
local BLACK="\[\033[0;30m\]"
@jpdelatorre
jpdelatorre / gist:1014726
Created June 8, 2011 16:08
Basic SVN commands
#initial import to repository
$ cd project_dir
$ mkdir branches tags trunk
$ svn import . http://repository/
#checkout a working copy
$ cd project_dir
$ svn co http://repository/trunk . --username your_username
#creating a new branch
@jpdelatorre
jpdelatorre / display.php
Created December 11, 2009 02:14
A CakePHP helper that displays navigation dynamically. It detects what page you're in and adds a class "active" to the list element.
<?php
class DisplayHelper extends AppHelper {
var $helpers = array('Html');
/**
*
* Display navigation and detects currect page and adds 'active' class
* to the <li> tag
*