Skip to content

Instantly share code, notes, and snippets.

View danielcosta's full-sized avatar

Daniel Costa danielcosta

View GitHub Profile
@danielcosta
danielcosta / keybase.md
Last active March 10, 2017 01:52
keybase.md

Keybase proof

I hereby claim:

  • I am danielcosta on github.
  • I am danielcosta (https://keybase.io/danielcosta) on keybase.
  • I have a public key ASDEDoD_51rq6giZ8gWsG1a5cKAehbzkMp93GyKUyteOsgo

To claim this, I am signing this object:

@danielcosta
danielcosta / gist:b89f23547915db999b27
Created May 21, 2014 19:46
Kill all processes by PID identifier
alias pid='ps aux | pgrep -d " " ';
kill -9 $(pid chrome)
@danielcosta
danielcosta / gist:d43efdac1dd08faf08f1
Last active August 29, 2015 14:01
Replace "from" with "to" keeping backup of original files
for i in *; do cat $i | sed s/from/to/g > $i.out; mv $i $i.bkp; mv $i.out $i; done
@danielcosta
danielcosta / README.md
Last active December 19, 2015 01:59 — forked from oodavid/README.md

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/
@danielcosta
danielcosta / integrating_jira_with_sourcetree.md
Last active November 7, 2023 21:03
Learn how to integrate your SourceTree repositories with JIRA

Integrating JIRA with SourceTree

Overview

You will learn how to link your JIRA tasks directly on SourceTree

Step by step

1. Setting