Skip to content

Instantly share code, notes, and snippets.

View bryanveloso's full-sized avatar

Bryan Veloso bryanveloso

View GitHub Profile
@bryanveloso
bryanveloso / intros.md
Created October 21, 2013 19:15
A developing list of my favorite anime intro songs.

This is a work-in-progress list of my favorite anime intros. While I am not as dedicated to anime as I am to the JRPG, I have watched a good amount. That said, my memory sucks, so this list will definitely be missing a lot.

  • Tank, Seatbelts -- Cowboy Bebop (opening)
  • A Cruel Angel's Thesis, Yoko Takahashi -- Neon Genesis Evangelion (opening)
  • Period, Chemistry -- Fullmetal Alchemist: Brotherhood (fourth opening)
  • Guren no Yumiya, Linked Horizon -- Attack on Titan (first opening)
  • Ready Steady Go, L'Arc-en-Ciel -- Fullmetal Alchemist (second opening)
  • We Gotta Power, Hironobu Kageyama -- Dragonball Z (second opening)
  • Cha-La Head-Cha-La, Hironobu Kageyama -- Dragonball Z (first opening)
@bryanveloso
bryanveloso / fix_airplay.sh
Created March 11, 2013 19:02
Fix AirPlay audio when OS X refuses to select an AppleTV as an audio output.
sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'`
@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 / we-support-rest.rst
Created July 19, 2012 20:52
Love for reStructuredText.
import unittest

from fake_github_api_of_death import close_issue

class Highlighting(unittest.TestCase):

    def setUp(self):
        self.tagline = "HIGHLIGHT ALL OF THE REST CODE BLOCKS!?"
@bryanveloso
bryanveloso / albums.md
Created March 20, 2012 22:55
Bryan's Favorite Final Fantasy Albums.

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 January 12, 2012 02:55
A horrible, simply horrible hack to getting TweetNest to read JSON. Copy this to the /maintenance/ folder of your TweetNest installation.
<?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
@bryanveloso
bryanveloso / Procfile.dev
Created January 1, 2012 22:52
A sample Procfile.
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 / 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">
@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 / 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)