Skip to content

Instantly share code, notes, and snippets.

View avsingh999's full-sized avatar
😉
0/0

Avkaran Singh avsingh999

😉
0/0
View GitHub Profile
@dAnjou
dAnjou / flask-upload
Created June 5, 2012 12:35
Flask upload example
<VirtualHost *>
ServerName example.com
WSGIDaemonProcess www user=max group=max threads=5
WSGIScriptAlias / /home/max/Projekte/flask-upload/flask-upload.wsgi
<Directory /home/max/Projekte/flask-upload>
WSGIProcessGroup www
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
@oodavid
oodavid / README.md
Last active March 11, 2025 21:41 — 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/
var paper = Raphael("shapes", 785, 200);
paper.rect(68, 0, 300, 200)
.attr("stroke-width", "1px");
paper.circle(68+150, 100, 75)
.attr("fill", "red").attr("stroke", "white");
paper.ellipse(600, 100, 100, 50)
.attr("fill", "#aaa").attr("stroke-width", "5px");