Skip to content

Instantly share code, notes, and snippets.

View thealanberman's full-sized avatar
🍸
learning

Alan Berman thealanberman

🍸
learning
  • SF Bay Area
View GitHub Profile
@thealanberman
thealanberman / Instant Pot Butter Chicken.md
Last active August 17, 2018 20:23
Instant Pot Butter Chicken

Instant Pot Butter Chicken

Serves four.

Ingredients

  • 1 (14-ounce) can diced tomatoes (do not drain)
  • 1 tablespoon minced garlic
  • 1 tablespoon minced ginger
  • 1 teaspoon ground turmeric

Keybase proof

I hereby claim:

  • I am thealanberman on github.
  • I am thealanberman (https://keybase.io/thealanberman) on keybase.
  • I have a public key ASC4BO9SHRufBgjW79nTKO1Vfcdob8aadx2GcBADT9-p-go

To claim this, I am signing this object:

@thealanberman
thealanberman / Amazon Search Tweaks Userscript
Last active October 5, 2017 07:37
Amazon — focus on search box on page load. Jump to search box via '/' key. Unfocus with Esc key. https://userscripts-mirror.org/
// ==UserScript==
// @name Amazon Search Tweaks
// @namespace https://gist.github.com/thealanberman/e8b902b8b19636a7c4b08afb93c46140
// @description Focus on search box on page load. Jump to search box via '/' key. Unfocus with Esc key.
// @include http://amazon.*/
// @include https://amazon.*/
// @include http://*.amazon.*/
// @include https://*.amazon.*/
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js
// @version 1
@thealanberman
thealanberman / BingoCardGenerator.gs
Last active August 18, 2017 20:35
BingoCardGenerator
// the ID for the spreadsheet of quotes
var sheet_id = SpreadsheetApp.getActiveSpreadsheet().getId();
var sheet = SpreadsheetApp.openById(sheet_id);
var range = sheet.getDataRange();
var values = range.getValues();
var rows = range.getNumRows();
// Log some things for sanity check
Logger.log("sheet ID: " + sheet_id)
Logger.log("sheet: " + sheet)
module['exports'] = function echo(hook) {
// hook.io has a range of node modules available - see
// https://hook.io/modules.
// We use request (https://www.npmjs.com/package/request) for an easy way to
// make the HTTP request.
var request = require('request');
// The parameters passed in via the slash command POST request.
var params = hook.params;