Skip to content

Instantly share code, notes, and snippets.

View sachinr's full-sized avatar

Sachin Ranchod sachinr

View GitHub Profile
@sachinr
sachinr / slack-app-req-sig.js
Created July 25, 2018 21:19
Slack verifying request signatures with Node & Express
const express = require('express');
const bodyParser = require('body-parser');
const qs = require('querystring');
const crypto = require('crypto');
const app = express();
const rawBodySaver = function (req, res, buf, encoding) {
if (buf && buf.length) {
req.rawBody = buf.toString(encoding || 'utf8');
@sachinr
sachinr / Gemfile.rb
Last active March 8, 2017 02:54
Slack app for creating webhooks
source 'https://rubygems.org'
ruby "2.3.1"
gem 'sinatra'
gem 'rest-client'
@sachinr
sachinr / cape-town.md
Created June 20, 2016 20:43
Cape Town Travel Guide

If you're spending time in Johannesburg, definitely go to the Apartheid Museum, Constitution Hill and the Lion Park. If you have anything more than a day or two in the city, considering making a trip to the Pilanseberg game reserve.

For wine tasting, you have to go to Stellenbosch and Franschoek. Some recommendations:

  • L'Omarins
  • Haute Cabriere
  • Chamonix
  • Rust en Vrede
  • Kanonkop
  • Jordan
  • Ernie Els
@sachinr
sachinr / siyelo_reading_list.md
Created November 8, 2012 14:26
Siyelo's reading list

Personal Development

The Passionate Programmer

Ruby

The Ruby Programming Language - David Flanagan, Yukihiro Matsumoto

Programming Ruby 1.9 - Dave Thomas, Chad Fowler, Andy Hunt