Skip to content

Instantly share code, notes, and snippets.

View luigi's full-sized avatar

Luigi Ray-Montañez luigi

View GitHub Profile
@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

# Prereq: Current branch is the feature branch and all pending changes are committed locally
# First pull down the changes from master
$ git checkout master
$ git pull
# Then, go back to the feature branch and merge in master
$ git checkout my-feature
$ git merge master

Keybase proof

I hereby claim:

  • I am luigi on github.
  • I am luigi (https://keybase.io/luigi) on keybase.
  • I have a public key whose fingerprint is 0B70 8FA1 4380 AB34 FE55 0CC9 2894 B745 8DDE 8223

To claim this, I am signing this object:

@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 / 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.

@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
#