Skip to content

Instantly share code, notes, and snippets.

View Spockuto's full-sized avatar

Venkkatesh Sekar Spockuto

View GitHub Profile
@Spockuto
Spockuto / README.md
Created January 29, 2016 17:07 — forked from oodavid/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/
@Spockuto
Spockuto / pdf2pcl
Last active September 12, 2015 04:58 — forked from ongardie/pdf2pcl
pdf2pcl
#!/bin/sh
# Convert PDF to PCL.
if [ $# -eq 2 ]
then
outfile=$2
elif [ $# -eq 1 ]
then
outfile=`basename "$1" \.pdf`.pcl
else