Skip to content

Instantly share code, notes, and snippets.

View luigi's full-sized avatar

Luigi Ray-Montañez luigi

  • Atlanta, GA
  • 22:29 (UTC -04:00)
View GitHub Profile
h scroll left
j scroll down
k scroll up
l scroll right
gg scroll to top of the page
G scroll to bottom of the page
f activate link hints mode to open in current tab
F activate link hints mode to open in new tab
r reload
@luigi
luigi / .gitconfig
Created January 6, 2024 14:57
My dotfiles
[alias]
c = commit -m
a = add
st = status
cm = commit
br = branch
co = checkout
df = diff
lg = log -p
pl = pull
@luigi
luigi / README.md
Created July 19, 2017 13:40
Python SimpleHTTPServer for AMP

A small Python webserver for serving AMP files locally in development. Adds the required headers for CORS requests.

Run the server.py script from the directory you wish to act as the root of your webserver:

$ python server.py

<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Luigi Montanez's Ruby Feeds</title>
</head>
<body>
<outline title="ruby" text="ruby">
<outline text="Aaron Patterson" title="Aaron Patterson"
type="rss" xmlUrl="http://tenderlovemaking.com/feed/" htmlUrl="http://tenderlovemaking.com"/>
<outline text="Aaron Quint" title="Aaron Quint" type="rss"
@luigi
luigi / counter.rb
Created November 5, 2013 16:44
An updated Tweet button counter.
#
# Before running:
# $ gem install twitter -v 4.8.1
#
# Register a Twitter application to get auth credentials:
# https://dev.twitter.com/apps
#
# To run:
# $ ruby counter.rb upworthy.com
#

Better Atlanta

  • Mathilde Piard & Terry Allen (original project owners)
  • Diane DeSeta & Alesia Ervin (Taxonomy)
  • Jack Curtis (Socrata databases)
  • Landon Reed (WordPress protype)
  • Luigi Montanez (Ruby on rails prototype)
  • Chinedu Ezeamuzie (Designs)
@luigi
luigi / counter.rb
Last active October 27, 2015 00:24
Calculate the percentage of tweets linking to a website that came from the Tweet button
#
# Before running:
# $ gem install twitter
#
# Register a Twitter application to get auth credentials:
# https://dev.twitter.com/apps
#
# To run:
# $ ruby counter.rb upworthy.com 500
#
@luigi
luigi / twofifty.md
Created November 19, 2012 19:04 — forked from anonymous/twofifty.md

NOTE This gist is forked from one compiled by Laurent Bossanti. I've added links to the original tweets.

It's a compilation of all the tweets made about the BritRuby situation before it was announced that the conference was cancelled. In other words, these are the tweets that led to the cancellation.

It may be the case that some tweets were deleted after the fact (one example listed here can't be found anymore), but there's no way of knowing unless someone took screenshots.


Nice speaker lineup for @BritRuby. Except for the 100% white guys part. I don't think adding diversity at the end works. You have to start with it as one of your goals. Who wants to be the token female? Not meaning to single out @BritRuby, just saying I'm disappointed. I know it's a systemic/cultural problem.