Skip to content

Instantly share code, notes, and snippets.

@VessoVit
VessoVit / fb_scrape.rb
Last active August 29, 2015 14:00 — forked from ashaw/fb_scrape.rb
# gem install crack rest-client fastercsv
require 'rubygems'
require 'crack'
require 'rest_client'
require 'csv'
# To use, get an access token here, by clicking "get access token"
# and checking user.groups in the dialog box
# https://developers.facebook.com/tools/explorer?method=GET&path=209024949216061%2Ffeed
#
# Run `ruby fb_scrape.rb ACCESS_TOKEN GROUP_ID`
@VessoVit
VessoVit / FabricDjangoDefault.py
Last active July 30, 2021 12:49 — forked from anonymous/gist:156623
Default script for python/django deployment with Fabric.
"""
This fabric file makes setting up and deploying a django application much
easier, but it does make a few assumptions. Namely that you're using Git,
Apache and mod_wsgi and your using Debian or Ubuntu. Also you should have
Django installed on your local machine and SSH installed on both the local
machine and any servers you want to deploy to.
_note that I've used the name project_name throughout this example. Replace
this with whatever your project is called._