Skip to content

Instantly share code, notes, and snippets.

Avatar
🌟
Building Altair

Bryan Veloso bryanveloso

🌟
Building Altair
View GitHub Profile
@bryanveloso
bryanveloso / albums.md
Created Mar 20, 2012
Bryan's Favorite Final Fantasy Albums.
View albums.md

My Favorite Final Fantasy Albums

This is a list, but certainly not an exhaustive list of my favorite Final Fantasy albums. Albums marked in italics signify that the album contains tracks from Final Fantasy but also from other Square, SquareSoft and Square ENIX games.

As you can see, there are no 3rd party albums listed here. While I am a fan of fan and cover band remixes of Final Fantasy music, in my view they hardly beat the first party content that was created by Nobuo Uematsu and those who followed in his footsteps, such as Masashi Hamauzu.

Original Soundtracks

  • Final Fantasy IV Original Sound Version
  • Final Fantasy IX Original Soundtrack
@bryanveloso
bryanveloso / loadtweetsfromjson.php
Created Jan 12, 2012
A horrible, simply horrible hack to getting TweetNest to read JSON. Copy this to the /maintenance/ folder of your TweetNest installation.
View loadtweetsfromjson.php
<?php
// TWEET NEST
// Load tweets (from JSON)
error_reporting(E_ALL ^ E_NOTICE); ini_set("display_errors", true); // For easy debugging, this is not a production page
@set_time_limit(0);
require_once "mpreheader.php";
$p = "";
// The below is not important, so errors surpressed
View Procfile.dev
compass: compass watch static
db: postgres -D /usr/local/var/postgres
redis: redis-server /usr/local/etc/redis.conf
web: python ranking/manage.py runserver
@bryanveloso
bryanveloso / brew-services.rb
Created Dec 8, 2011 — forked from lwe/brew-services.rb
External script for homebrew to simplify starting services via launchctl, out of the box support for any formula which implements #startup_plist. (This version fixes the deprecation warning raised on Formula.resolve_alias.)
View brew-services.rb
#!/usr/bin/env ruby -w
# brew-services(1) - Easily start and stop formulas via launchctl
# ===============================================================
#
# ## SYNOPSIS
#
# [<sudo>] `brew services` `list`<br>
# [<sudo>] `brew services` `restart` <formula><br>
# [<sudo>] `brew services` `start` <formula> [<plist>]<br>
@bryanveloso
bryanveloso / gist:1130902
Created Aug 7, 2011
The form code I used to customize PayPal's "Buy Now" button, leveraging Harmony's template system.
View gist:1130902
<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">
@bryanveloso
bryanveloso / models.py
Created Feb 10, 2011
An example of django-imagekit's specfile.
View models.py
class Shot(ImageModel):
photo = models.ImageField(upload_to='photos/groups/')
taken = models.DateField()
class IKOptions:
image_field = 'photo'
spec_module = 'specs'
@bryanveloso
bryanveloso / dashboard.py
Created Jan 18, 2011
Hello! Ranking's usage of Grappelli's dashboard functionality.
View dashboard.py
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 / aws.txt
Created Jan 10, 2011
Links I've find while studying the world of Amazon Web Services.
View aws.txt
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 / puppet.txt
Created Jan 4, 2011
Links I've found while studying the world of Puppet.
View puppet.txt
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
View gist:585218
// 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