Skip to content

Instantly share code, notes, and snippets.

@andrewbtran
andrewbtran / gsiterator.R
Created June 19, 2019 17:39
gsiterator template
library(tidyverse)
library(googlesheets)
# Authorize user on Google
gs_auth(new_user = TRUE)
# Naming the sheet
name_of_googlesheet <- "Testing out gsiterator"
# Test array
// ==UserScript==
// @name Fix Core Publisher Printing Styles
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Make it so Core Publisher actually prints acceptably.
// @author Nathan Lawrence
// @match *://www.kbia.org/*
// @grant none
// @require http://code.jquery.com/jquery-latest.js
// ==/UserScript==
@mandiwise
mandiwise / Sync gh-pages + master branches
Last active September 28, 2024 09:43
Keep gh-pages up to date with a master branch
// Reference: http://lea.verou.me/2011/10/easily-keep-gh-pages-in-sync-with-master/
$ git add .
$ git status // to see what changes are going to be commited
$ git commit -m 'Some descriptive commit message'
$ git push origin master
$ git checkout gh-pages // go to the gh-pages branch
$ git rebase master // bring gh-pages up to date with master
$ git push origin gh-pages // commit the changes