Skip to content

Instantly share code, notes, and snippets.

View xueshanf's full-sized avatar

Xueshan Feng xueshanf

  • Stanford University
View GitHub Profile
@olih
olih / jq-cheetsheet.md
Last active April 15, 2025 17:19
jq Cheet Sheet

Processing JSON using jq

jq is useful to slice, filter, map and transform structured json data.

Installing jq

On Mac OS

brew install jq

@rushimusmaximus
rushimusmaximus / gmailToSlack.js
Last active March 2, 2024 13:00
Google Apps Script to post filtered Gmail messages to Slack
/*
The intent of this script is for posting filtered Gmail messages to Slack.
This script could be used on its own with manually-marked messages, but it
is most useful it when combined with a Gmail filter. The script assumes that
target messages have had a specific label set on them and have been starred.
The Apps Script can then be set to run periodically.
2015/02 cmyers, rush