Skip to content

Instantly share code, notes, and snippets.

View rodriguezcommaj's full-sized avatar
👋

Jason Rodriguez rodriguezcommaj

👋
View GitHub Profile
@rodriguezcommaj
rodriguezcommaj / plain-text-template.txt
Created April 29, 2021 14:53
An example plain text email template.
Hello friends!
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ut leo faucibus, pharetra velit vel, porta tortor. In ac est odio. Sed dolor erat, bibendum vel cursus et, mollis vitae eros. Fusce volutpat, quam vel rutrum tristique, mi lectus tincidunt massa, at sodales arcu nibh in erat. Sed accumsan mi at ipsum feugiat laoreet. Fusce blandit nulla at imperdiet condimentum. Etiam eget aliquet leo. Mauris interdum ligula facilisis arcu hendrerit rutrum.
- Bullet list item
- Bullet list item
- Bullet list item
_,.-'~'-.,__,.-'~'-.,__,.-'~'-.,__,.-'~'-.,__,.-'~'-.,_

Keybase proof

I hereby claim:

  • I am rodriguezcommaj on github.
  • I am rodriguezcommaj (https://keybase.io/rodriguezcommaj) on keybase.
  • I have a public key whose fingerprint is BBA2 28D4 6A9F 45C9 BADE 40B4 5A23 E37B 07AD 05EB

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am rodriguezcommaj on github.
  • I am rodriguezcommaj (https://keybase.io/rodriguezcommaj) on keybase.
  • I have a public key ASAsDkzZlVAdLXnAgIohun-LEqIqETlmga8ulx5LNR7ggQo

To claim this, I am signing this object:

@rodriguezcommaj
rodriguezcommaj / gist:4011904
Created November 4, 2012 13:28
Python Day 6 - 2
from sys import argv
from os.path import exists
script, from_file, to_file = argv
print "Copying from %s to %s" % (from_file, to_file)
# we could do these two on one line too, how?
in_file = open(from_file)
indata = in_file.read()
@rodriguezcommaj
rodriguezcommaj / gist:4011902
Created November 4, 2012 13:28
Python Day 6 - 1
new = "n"
target.write(line1 + new + line2 + new + line3 + new)
@rodriguezcommaj
rodriguezcommaj / RCJ-AnotherPythonExercise
Created November 4, 2012 13:24
Another Python Exercise
# import modules
from sys import argv
# unpack argv
script, input_file = argv
# define a function that reads the passed argument
def print_all(f):
print f.read()
@rodriguezcommaj
rodriguezcommaj / RCJ-PythonExercise
Created November 4, 2012 13:18
Python Exercise
def break_words(stuff):
"""This function will break up words for us."""
words = stuff.split(' ')
return words
def sort_words(words):
"""Sorts the words."""
return sorted(words)
def print_first_word(words):
@rodriguezcommaj
rodriguezcommaj / dietcoke2.py
Created August 14, 2012 18:16
Buying a Diet Coke version 2
money = int(raw_input("How much money do you have? "))
price = int(raw_input("How much is a Diet Coke? "))
leftover_money = money - price
print "So, you have %r dollars and a Diet Coke costs %r." % (money, price)
print "If you buy one, you will have %r left over." % leftover_money