Skip to content

Instantly share code, notes, and snippets.

View TylerLubeck's full-sized avatar

Tyler Lubeck TylerLubeck

View GitHub Profile

Keybase proof

I hereby claim:

  • I am tylerlubeck on github.
  • I am tylerlubeck (https://keybase.io/tylerlubeck) on keybase.
  • I have a public key ASAspAt1GuaM7g61qW9GIXrYMe_K1gIpNzLVR7Xw4mVYtwo

To claim this, I am signing this object:

@TylerLubeck
TylerLubeck / Tufts_Hack_Commit_Logger--Tweet_To_Both
Last active December 26, 2015 09:39
Submit your tweet both to the logger and to your personal twitter account
#!/usr/bin/python
# To Install:
# This script will go in your git directory, in the folder .git/hooks
# It has to be called "post-commit", so the final path will be
# MYGITPROJECT/.git/hooks/post-commit
# Then give this script execute permissions:
# chmod +x MYGITPROJECT/.git/hooks/post-commit
# You will need to get the twitter python library, as such:
# pip install twitter
@TylerLubeck
TylerLubeck / Tufts_Hack_Commit_Tweeter--Tweet_To_Me
Last active December 26, 2015 09:39
A much simpler way to tweet
#!/usr/bin/python
# To Install:
# This script will go in your git directory, in the folder .git/hooks
# It has to be called "post-commit", so the final path will be
# MYGITPROJECT/.git/hooks/post-commit
# Then give this script execute permissions:
# chmod +x MYGITPROJECT/.git/hooks/post-commit
# Then change the GROUP_NAME to your group name. This allows for some fun analytics later
@TylerLubeck
TylerLubeck / TuftsHack_Commit_Tweeter--Tweet_To_Yourself
Last active December 26, 2015 04:39
Remove unnecessary spacing
#!/usr/bin/python
# To Install:
# This script will go in your git directory, in the folder .git/hooks
# It has to be called "post-commit", so the final path will be
# MYGITPROJECT/.git/hooks/post-commit
# Then give this script execute permissions:
# chmod +x MYGITPROJECT/.git/hooks/post-commit
# You will need to get the twitter python library, as such:
# pip install twitter