Skip to content

Instantly share code, notes, and snippets.

Tom Wheeler racecarparts

  • Salt Lake City, UT, USA
Block or report user

Report or block racecarparts

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@racecarparts
racecarparts / SYNC_GITHUB_FORK_INSTALL.txt
Last active May 23, 2019 — forked from fernandoaleman/INSTALL.txt
Shell script to sync remote branches from upstream and push them up to forked origin
View SYNC_GITHUB_FORK_INSTALL.txt
1. Copy 'git-sync-fork' script code from gist
2. Create a file called 'git-sync-fork.sh' in any directory available to you
3. Paste script into this new file 'git-sync-fork.sh' and save
4. Source the file (in your bash profile script) `source [/path/to/file]git-sync-fork.sh`
5. Call either function: `gh_sync` (for auto confirmation) or `sync_upstream upstream origin`
Example:
gh_sync
@racecarparts
racecarparts / HangoutLinkMaker.gs
Last active May 17, 2016
How to make Google Hangout links work with regular calendar apps.
View HangoutLinkMaker.gs
function moveHangoutLinks() {
var calendarId = 'YOUR CALENDAR ID';
var now = new Date();
var events = Calendar.Events.list(calendarId, {
timeMin: now.toISOString(),
singleEvents: true,
orderBy: 'startTime',
maxResults: 10
});
if (events.items && events.items.length > 0) {
You can’t perform that action at this time.