Skip to content

Instantly share code, notes, and snippets.

View jamesfairhurst's full-sized avatar

James Fairhurst jamesfairhurst

View GitHub Profile
@chrpinedo
chrpinedo / insert-signature-in-pdf.md
Created April 4, 2016 10:27
How to insert your signature in a PDF file by using PDFtk

How to insert your signature in a PDF file by using PDFtk

Your signature in all the sheets

  1. convert the signature image to PDF file
convert firma.png firma.pdf

Git Cheat Sheet

Commands

Getting Started

git init

or

@riywo
riywo / gist:5023060
Created February 24, 2013 07:58
Join mp3 files with homebrew
$ brew install -v mp3wrap ffmpeg id3lib
$ mp3wrap tmp.mp3 1.mp3 2.mp3 3.mp3 ....
$ ffmpeg -i tmp_MP3WRAP.mp3 -acodec copy all.mp3 && rm tmp_MP3WRAP.mp3
$ id3cp 1.mp3 all.mp3
@oodavid
oodavid / README.md
Last active June 12, 2024 00:28 — forked from aronwoost/README.md
Deploy your site with git

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/