Skip to content

Instantly share code, notes, and snippets.

Shrayas Rajagopal shrayasr

Block or report user

Report or block shrayasr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@shrayasr
shrayasr / SketchSystems.spec
Last active May 30, 2019
Order Status Transitions
View SketchSystems.spec
Order Status Transitions
Checkout
payment done -> StatusPlaced
StatusPlaced
pulled into WINBDS -> StatusProcessing
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
POS
Unselected Member
select member -> Member Select Popup
select CLP PR paymode -> Member Select Popup
Selected Member
Init
select CLP PR paymode -> CLPPR Popup
CLPPR Popup
details entered -> Redeem Validations
errored -> Selected Member
@shrayasr
shrayasr / recipes-slow-cooked-potatoes.md
Last active Dec 31, 2018
Recipes | Slow Cooked Potatoes
View recipes-slow-cooked-potatoes.md

Slow cooked Potatoes

Base

  • 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

Cooking

@shrayasr
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")
$("button.search-button").click()
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
shrayasr / danluu.com.css
Last active Apr 16, 2018
danluu.com stylesheet
View danluu.com.css
body {
margin: 0 auto;
width: 900px;
font-family: Trebuchet MS;
font-size: 16px;
line-height: 23px;
margin-top: 20px;
background: #fff8ec;
}
@shrayasr
shrayasr / spermissions.md
Created Sep 15, 2017
permissions permissions permissions
View spermissions.md

Background

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

Constraints

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
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
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 https://github.com/Disassembler0 (different defaults)
View reclaimWindows10.ps1
##########
# Win10 Initial Setup Script
# Author: Disassembler <disassembler@dasm.cz>
# Version: 1.7, 2016-08-15
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/
# THIS IS A PERSONALIZED VERSION
# This script leaves more MS defaults on, including MS security features.
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1
@shrayasr
shrayasr / bootstrap_ms.css
Created Jan 4, 2017 — forked from firepol/bootstrap_ms.css
updated max-width: 767px to avoid breaking the existing behavior on col-sm
View bootstrap_ms.css
.col-ms-1,
.col-ms-2,
.col-ms-3,
.col-ms-4,
.col-ms-5,
.col-ms-6,
.col-ms-7,
.col-ms-8,
.col-ms-9,
.col-ms-10,
You can’t perform that action at this time.