Skip to content

Instantly share code, notes, and snippets.


Shrayas Rajagopal shrayasr

View GitHub Profile
shrayasr / keys.ahk
Last active Sep 6, 2021
AutoHotKey shortcuts
View keys.ahk
if not A_IsAdmin
Run *RunAs "%A_ScriptFullPath%" ; Requires v1.0.92.01+
#SingleInstance Force
shrayasr / SketchSystems.spec
Last active May 30, 2019
Order Status Transitions
View SketchSystems.spec
Order Status Transitions
payment done -> StatusPlaced
pulled into WINBDS -> StatusProcessing
invoice created -> Choose Shipment Address
Choose Shipment Address
View SketchSystems.spec
Logged Out
No Mobile Number
mobile numbered entered -> Is Mobile Valid?
Is Mobile Valid?
valid -> Send OTP
invalid -> No Mobile Number
Send OTP
otp sent -> Accept OTP
Accept OTP
otp entered -> Is OTP Valid?
View SketchSystems.spec
Unselected Member
select member -> Member Select Popup
select CLP PR paymode -> Member Select Popup
Selected Member
select CLP PR paymode -> CLPPR Popup
details entered -> Redeem Validations
errored -> Selected Member
shrayasr /
Last active Dec 31, 2018
Recipes | Slow Cooked Potatoes

Slow cooked Potatoes


  • Potato: Keep the cut even so that they will all cook together. Having differently sized potatos means that they cook at different times. Never recommended. Unless you're cooking them in batches
  • Spice: I used Za'athar. You can use whatever you have. Paprika works. Cayan pepper would work. Plain old chilly powder + Turmeric would also taste godlike
  • Time: This would take about 45 minutes. Patience is the key-est ingredient


shrayasr / fu-garmin-bulk-delete.js
Created Mar 28, 2018
Bulk delete activities in Garmin Connect
View fu-garmin-bulk-delete.js
function foo() {
console.log("foo - start")
setTimeout(function() {
var li = $(".list-item")[0]
var delButton = $(li).find("button.js-activity-delete")
var confirmDelButton = $(li).find("button.delete-yes")
console.log(delButton, confirmDelButton)
shrayasr /
Last active Apr 16, 2018 stylesheet
body {
margin: 0 auto;
width: 900px;
font-family: Trebuchet MS;
font-size: 16px;
line-height: 23px;
margin-top: 20px;
background: #fff8ec;
shrayasr /
Created Sep 15, 2017
permissions permissions permissions


On the home server (yuksam henceforth), I have deluge running for torrenting and plex running as a media center.


When torrenting, my method of consumption will be either plex or not-plex. If it is plex, then I want my downloads to go to X place. If it isn't plex, then they can go to a default location (currently /shares/t which is a samba

shrayasr / gist:39630169b06fab9a9b141463894a7889
Created Mar 2, 2017 — forked from jimbojsb/gist:1630790
Code highlighting for Keynote presentations
View gist:39630169b06fab9a9b141463894a7889

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2:

shrayasr / reclaimWindows10.ps1
Last active Jun 11, 2019 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Fork via (different defaults)
View reclaimWindows10.ps1
# Win10 Initial Setup Script
# Author: Disassembler <>
# Version: 1.7, 2016-08-15
# dasm's script:
# This script leaves more MS defaults on, including MS security features.
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1