Skip to content

Instantly share code, notes, and snippets.

View gcsfred2's full-sized avatar

gcsfred2 gcsfred2

View GitHub Profile
import sublime
import sublime_plugin
class ReggaeCommand(sublime_plugin.TextCommand):
def run(self, edit, pattern_args):
p = 0
colours = ["region.cyanish", "region.orangish", "region.bluish"]
icons = ["dot", "circle"]
for pattern_arg in pattern_args:
@gcsfred2
gcsfred2 / gist:c832b769f087a66b8a8788bc1cd5fe32
Created April 26, 2021 13:23
find_walmart_covid_vaccine_slot_Ottawa_shell_script
locations=(1082 1190 1159 1114 1180 1087 1183)
locnamesa=([1082]=OttawaE [1190]=OttawaGloucester [1159]=Bayshore [1114]=OttawaS [1180]=BillinsBridge [1087]=Rockland [1183]=Kanata)
while [ 1 ]
do
for m in "${locations[@]}"
do
curl "https://portal.healthmyself.net/walmarton/guest/booking/4752/schedules?locId=${m}" \
-H 'authority: portal.healthmyself.net' \
-H 'sec-ch-ua: "Google Chrome";v="89", "Chromium";v="89", ";Not\"A\\Brand";v="99"' \
@gcsfred2
gcsfred2 / test.go
Last active September 23, 2020 21:56
Solution to the Sandy, John and mines problem
package main
import (
"flag"
"fmt"
"math"
"strings"
)
// N Length of the axis of one quadrant in the map
@gcsfred2
gcsfred2 / keybase.md
Created March 27, 2020 15:27
keybase.md

Keybase proof

I hereby claim:

  • I am gcsfred2 on github.
  • I am gcsfred (https://keybase.io/gcsfred) on keybase.
  • I have a public key ASD4iiICuVaGRy_9JZBtnZvq8ERz4qsY1HBk0MRWSNXTfQo

To claim this, I am signing this object: