Skip to content

Instantly share code, notes, and snippets.

View OKNoah's full-sized avatar
💭
Working on everything JS

Noah OKNoah

💭
Working on everything JS
View GitHub Profile
@OKNoah
OKNoah / dropbox-transfer.sh
Created June 14, 2014 00:05
Transfer files to Dropbox - Upload and delete locally.
#!/bin/bash
#
# This backs-up to Dropbox without leaving files locally.
# A local .tar.gz is made, uploaded, then removed. This saves
# space locally when keeping many backups.
#
# Requires: Dropbox-Uploader from https://github.com/andreafabrizi/Dropbox-Uploader
#
# Install and setup Dropbox-Uploader first!
#
@brwnll
brwnll / form_macro.php
Last active September 7, 2020 09:46
Laravel 4 form inputs for Number and Telephone
<?php
/***
* If you prefer automatic updates or using packages, this is available as a composer
* package: https://github.com/smalldogs/html5inputs
*
* Thank you to @silentcoast for the adding the support of non-valued attributes (such as `required`)
*
* This file allows you to use the other 11 HTML elements the same way as text, email, and URL.
*
* 1. Create the folder /app/misc, or use your preferred directory
@leesmith
leesmith / commit-message-syntax.txt
Created December 31, 2011 06:05
Pivotal Tracker post-commit message syntax
https://www.pivotaltracker.com/help/api?version=v3#github_hooks
https://www.pivotaltracker.com/help/api?version=v3#scm_post_commit_message_syntax
SCM Post-Commit Message Syntax
To associate an SCM commit with a specific Tracker story, you must include a special syntax in the commit message to indicate one or more story IDs and (optionally) a state change for the story. Your commit message should have square brackets containing a hash mark followed by the story ID. If a story was not already started (it was in the "not started" state), a commit message will automatically start it. For example, if Scotty uses the following message when committing SCM revision 54321:
[#12345677 #12345678] Diverting power from warp drive to torpedoes.