Skip to content

Instantly share code, notes, and snippets.

View bryanveloso's full-sized avatar

Bryan Veloso bryanveloso

View GitHub Profile
@bryanveloso
bryanveloso / pip.conf
Created March 10, 2010 21:15 — forked from jezdez/pip.conf
Sample pip configuration file.
[global]
default-timeout = 60
respect-virtualenv = true
download-cache = /tmp
log-file = /tmp/pip-log.txt
[install]
find-links =
http://pypi.pinaxproject.com
http://pypi2.pinaxproject.com
@bryanveloso
bryanveloso / general_python_reqs.txt
Created March 19, 2010 09:34 — forked from toastdriven/general_python_reqs.txt
The Python packages I install globally.
cherrypy
coverage
Cython
python-dateutil
distribute
docutils
eventlet
fabric
greenlet
gunicorn

Campfire client

A simple campfire client similar to Propane for OSX.

Wanted Features

  • Ability to stay logged into multiple rooms with unread counts
  • Noise / notification when people mention my name or listed aliases (Kyle, kneath, etc)
  • Upload / paste in images
  • Username completion

Gist Clients

Want to create a Gist from your editor, the command line, or the Services menu? Here's how.

Editor Support

// copy+paste this into your browser's javascript
// console on any site running jQuery
// kicking the machine
setInterval(function(){
// picking the monkey's nose
$('p, a, span, label, title, legend, h1, h2, h3, h4, h5, h6').each(function(){
// putting on my pah pah pah poker face
@bryanveloso
bryanveloso / puppet.txt
Created January 4, 2011 08:37
Links I've found while studying the world of Puppet.
http://about.digg.com/blog/master-puppets-2-speaking-language
http://agiletesting.blogspot.com/2009/11/automated-deployments-with-puppet-and.html
http://articles.itecsoftware.com/linux/install-and-configure-puppet-client-on-ubuntu-10-10
http://articles.itecsoftware.com/linux/install-and-configure-puppet-server-puppetmaster-on-ubuntu-10-10
http://bitfieldconsulting.com/puppet-and-mysql-create-databases-and-users
http://blog.credativ.com/en/2010/03/howto-introduction-to-puppet.html
http://blog.kumina.nl/2010/11/puppet-tipstricks-running-apt-get-update-only-when-needed/
http://en.gentoo-wiki.com/wiki/Puppet (the "User" portion)
http://evolvingweb.ca/story/controlling-your-cloud-puppet
http://library.linode.com/application-stacks/puppet/automation
@bryanveloso
bryanveloso / aws.txt
Created January 10, 2011 00:01
Links I've find while studying the world of Amazon Web Services.
http://alestic.com/
http://distractable.net/tech/amazon-aws-ec2-vs-rackspace-high-level-comparison/
http://www.mlsite.net/blog/?p=43
http://stackoverflow.com/questions/4488793/getting-started-with-django-on-amazon-web-services
http://thomas.broxrost.com/2008/08/21/persistent-django-on-amazon-ec2-and-ebs-the-easy-way/
http://www.google.com/search?client=safari&rls=en&q=puppet+ec2&ie=UTF-8&oe=UTF-8
http://agiletesting.blogspot.com/2009/09/bootstrapping-ec2-images-as-puppet.html
http://blog.taggesell.de/index.php?/archives/66-Managing-Amazon-EC2-virtual-machines-101-part-1-creating-AMI-images.html
http://www.google.com/search?client=safari&rls=en&q=ec2+101&ie=UTF-8&oe=UTF-8
http://paulstamatiou.com/how-to-getting-started-with-amazon-ec2
@bryanveloso
bryanveloso / dashboard.py
Created January 18, 2011 21:01
Hello! Ranking's usage of Grappelli's dashboard functionality.
from grappelli.dashboard import modules, Dashboard
from grappelli.dashboard.utils import get_admin_site_name
class CustomIndexDashboard(Dashboard):
columns = 3
def init_with_context(self, context):
site_name = get_admin_site_name(context)
@bryanveloso
bryanveloso / models.py
Created February 10, 2011 03:50
An example of django-imagekit's specfile.
class Shot(ImageModel):
photo = models.ImageField(upload_to='photos/groups/')
taken = models.DateField()
class IKOptions:
image_field = 'photo'
spec_module = 'specs'
@bryanveloso
bryanveloso / gist:1130902
Created August 7, 2011 23:01
The form code I used to customize PayPal's "Buy Now" button, leveraging Harmony's template system.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="(your e-mail address)">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="Honeyfund: {{ item.title }}">
<input type="hidden" name="amount" value="{{ item.data.price }}">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="button_subtype" value="services">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="no_shipping" value="1">