Skip to content

Instantly share code, notes, and snippets.

View visualblind's full-sized avatar

Travis Runyard visualblind

View GitHub Profile
  • Use curl to get the JSON response for the latest release
  • Use grep to find the line containing file URL
  • Use cut and tr to extract the URL
  • Use wget to download it
curl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \
@visualblind
visualblind / tmux-cheatsheet.markdown
Created February 8, 2025 20:00 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@visualblind
visualblind / monokai.md
Created February 5, 2025 05:56 — forked from r-malon/monokai.md
Monokai colors in RGB and HEX format, taken from Sublime Text 3

Monokai Colors in RGB and HEX format


  • Background: (46, 46, 46); #2e2e2e
  • Comments: (121, 121, 121); #797979
  • White: (214, 214, 214); #d6d6d6
  • Yellow: (229, 181, 103); #e5b567
  • Green: (180, 210, 115); #b4d273
  • Orange: (232, 125, 62); #e87d3e
  • Purple: (158, 134, 200); #9e86c8
@visualblind
visualblind / Crack Sublime Text Windows and Linux.md
Created January 10, 2025 13:20 — forked from JerryLokjianming/Crack Sublime Text Windows and Linux.md
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex

How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/
  3. Open file select sublime_text.exe
  4. Offset 0x8545: Original 84 -> 85
  5. Offset 0x08FF19: Original 75 -> EB
  6. Offset 0x1932C7: Original 75 -> 74 (remove UNREGISTERED in title bar, so no need to use a license)
@visualblind
visualblind / gist:c37c5f0b477c2828c812c3ed5b42a6a6
Created December 11, 2024 01:51 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>

Keybase proof

I hereby claim:

  • I am visualblind on github.
  • I am visualblind (https://keybase.io/visualblind) on keybase.
  • I have a public key ASD7AvwZDfYgvUf_8MkqR6oiCF-1U5yohNBZxQplXBq1qwo

To claim this, I am signing this object:

@visualblind
visualblind / IAM Permissions List.md
Created July 25, 2024 18:10 — forked from mechcozmo/IAM Permissions List.md
A list of IAM permissions you can use in policy documents. Collected from the myriad of places Amazon hides them. (incomplete)
@visualblind
visualblind / NGINX-Cronitor.io-StatusPage-Domain-Hack.conf
Last active July 25, 2024 18:11
NGINX Config for Hacking Cronitor.io Status Page Custom Domain
## AUTHOR: Travis Runyard
## DATE: 06/22/2024
# The reason for this gist is to allow you to use cronitor.io's
# status page on any custom (sub)domain and/or URI you would like.
# Since sites like cronitor.io make the custom domain option
# for their status page a paid expense, there is usually always
# an easy way to either bypass their bullshit or at least step
# around it.
# To see an example of a full site config incorporating this gist:

Note

  1. If you can, please purchase the genuine license through the official channel and support the software developer.
  2. All crack methods here are implemented by @leogx9r.
  3. All data is not guaranteed to be authoritative or correct, nor has it been tested across the platform, nor is it responsible for any errors, lost data, etc. in practice! Please assess yourself!!!
  4. I am only within the ability to update the information based on the existing crack methods until the existing rules fail.

Sublime Patcher Script for personal use

@visualblind
visualblind / ffmpeg_examples.sh
Last active April 29, 2024 14:19
FFmpeg CLI Examples with Comments (transcoding, remuxing, metadata stuff, thumbnail generation, nvidia hw-accel cuda h264_nvenc, bash looping, etc)
############################ FFmpeg CLI Examples ############################
-metadata[:metadata_specifier] key=value (output,per-metadata)
For example, for setting the title in the output file:
ffmpeg -i in.avi -metadata title="my title" out.flv
To set the language of the first audio stream:
ffmpeg -i INPUT -metadata:s:a:0 language=eng OUTPUT