Skip to content

Instantly share code, notes, and snippets.

View krantzinator's full-sized avatar

Rae Krantz krantzinator

View GitHub Profile

Keybase proof

I hereby claim:

  • I am krantzinator on github.
  • I am raeofsun (https://keybase.io/raeofsun) on keybase.
  • I have a public key ASD8ACOGWLf-w1sBt9UReCTMyPrTijEjwnfyEFslYIp2wQo

To claim this, I am signing this object:

@krantzinator
krantzinator / gmailAutoArchive.js
Last active August 12, 2019 12:43
A Google function to auto-archive all email between two dates
function gmailAutoArchive() {
var startDate = new Date("August 10 2019");
var endDate = new Date("November 21 2019");
// https://developers.google.com/apps-script/reference/gmail/gmail-app
var threads = GmailApp.getInboxThreads();
// Archive all messages between the leave dates that don't have the
// `dont-archive` label (as in, aren't currently in my inbox where I want them)
for (var i = 0; i < threads.length; i++) {
@krantzinator
krantzinator / call-for-mentors.md
Last active June 20, 2017 17:20
Akron Women in Tech is looking for mentors for our Code Epic, a part-time bootcamp alternative for women who can't afford a full bootcamp, and who can't attend a part-time bootcamp for dependent care or financial reasons.

Call for volunteer mentors

We need volunteer mentors for our Code Epic! We will have five students in the upcoming Epic cohort, and need your help to make this awesome.

You can see our syllabus here. Our Code Epic is comprised of four Code Quests. Each Quest is completed as one unit with a week or two off in between, to allow for holidays as well as breathing time. Whether you can mentor for one Quest or all four, reach out to codeepic@akronwit.org and let us know you are interested.

Expectations of mentors

  • quick check in with your mentee daily, through text or our Slack group
  • weekly check in to go over their completed work from the previous week and their slated work for the upcoming week (likely a ~20-30 minute conversation)
  • monthly or bi-monthly participation in a cohort sprint planning (still iterating this piece)
@krantzinator
krantzinator / empty-js-array-with-settable-values.js
Last active April 20, 2017 13:17
instantiate JavaScript array with x empty values
// make a new empty array that has a length of 10
var arr = new Array(10);
// console.log(arr)
// > [undefined x 10]
// (put another way, per MDN -> [;;;;;;;;;])
// console.log(arr.length)
// > 10
// set random indices to random values; remaining indices stay undefined