Skip to content

Instantly share code, notes, and snippets.

View r35krag0th's full-sized avatar
🤖
Beep Boop.

Bob Saska r35krag0th

🤖
Beep Boop.
View GitHub Profile
@r35krag0th
r35krag0th / get_all_tf_versions_using_tfswitch.zsh
Created April 26, 2023 16:51
Downloads and checks codesigning on all TF Versions using TFSwitch
#!/usr/bin/env zsh
declare -a major_minors
major_minors=(
0.11
0.12
0.13
0.14
0.15
1.0
@r35krag0th
r35krag0th / download-latest-release.ps1
Created January 22, 2022 09:10 — forked from Splaxi/download-latest-release.ps1
Download latest GitHub release via Powershell
# Download latest dotnet/codeformatter release from github
$repo = "jgm/pandoc"
$filenamePattern = "*x86_64.zip"
$pathExtract = "C:\Tools\pandoc"
$innerDirectory = $true
$preRelease = $false
if ($preRelease) {
$releasesUri = "https://api.github.com/repos/$repo/releases"
@r35krag0th
r35krag0th / gloomhaven_session_notes.md
Last active September 12, 2020 04:04
Gloomhaven - Group 2 (Electric Boogaloo)
@r35krag0th
r35krag0th / wgrib2_macos_build.sh
Last active June 6, 2023 02:47
Building wgrib2
#!/usr/bin/env bash
# NOTE: This requires you to have Homebrew installed
# --> https://brew.sh/
# NOTE: You need to have Homebrew's GCC installed
# --> brew install gcc
wget ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/wgrib2.tgz
tar xvzf wgrib2.tgz
@r35krag0th
r35krag0th / bookmarklet
Last active September 27, 2018 04:19 — forked from simeonlg/bookmarklet
Pokemongomap.info scraper for pidgey bot
javascript:var markerList = markerList || {}; for (marker in markers) { if (!markerList.hasOwnProperty(markers[marker].options.locmarkerid)) { console.log("Marker added"); markerList[marker] = '"' + markers[marker].options.title.split(': ')[1] + '","' + markers[marker].options.title.split(': ', 2)[0] + '",' + markers[marker]._latlng.lat.toFixed(6) + ',' + markers[marker]._latlng.lng.toFixed(6); } } var markerString = ""; for (marker in markerList) { markerString += "[" + markerList[marker] + "],"; } (function (text) { var node = document.createElement('textarea'); var selection = document.getSelection(); node.textContent = "[" + text + "]"; document.body.appendChild(node); selection.removeAllRanges(); node.select(); document.execCommand('copy'); selection.removeAllRanges(); document.body.removeChild(node); })(markerString);
@r35krag0th
r35krag0th / install_steps.sh
Created May 14, 2018 20:48
GDAL 2.1.0 on AWS Linux 2017.09
#!/usr/bin/env bash
# Upgrade everything
sudo yum -y update
# Enable EPEL Repo
sudo yum-config-manager --enable epel
# Install the required packages for compilation
sudo yum install make automake gcc gcc-c++ libcurl-devel proj-devel geos-devel python-devel
@r35krag0th
r35krag0th / py27-wrapper.sh
Created March 21, 2017 18:53
PyEnv Wrapper (Docker)
#!/bin/bash
shopt -s expand_aliases
wrapper_log() {
echo -e "\033[1;32m[py27-wrapper]\033[0m $*\033[0m"
}
export PATH="$HOME/.pyenv/bin:$PATH"
export PATH="/app/.pyenv/bin:$PATH"
#!/bin/bash
# One-Line-ify It: wget -O- https://goo.gl/jblmAa | sudo bash -
show_aws_post_setup_commands() {
InstanceId=$(wget -qO- http://169.254.169.254/latest/meta-data/instance-id)
RegionName=$(wget -qO- http://169.254.169.254/latest/meta-data/placement/availability-zone | sed 's/\(us-\(west\|east\)-[0-9]\)[a-z]/\1/g')
cat <<MOO
<?php
$a = md5('240610708');
$b = md5('QNKCDZO');
echo "A\n";
var_dump($a);
echo "\nB\n";
var_dump($b);

Keybase proof

I hereby claim:

  • I am r35krag0th on github.
  • I am bobsaska (https://keybase.io/bobsaska) on keybase.
  • I have a public key whose fingerprint is 66E7 9900 BE3C B097 813A 2937 3ACF D041 DFBD D652

To claim this, I am signing this object: