Skip to content

Instantly share code, notes, and snippets.

View dziban303's full-sized avatar
💭
🐱‍🐉

Dziban303 dziban303

💭
🐱‍🐉
View GitHub Profile
@lxe
lxe / goes16-rtlsdr.md
Last active May 8, 2024 20:43
Receive GOES-16 and GOES-17 Images with a Raspberry Pi and RTL-SDR dongle
@all3kcis
all3kcis / Emby-theater-premiere-bypass.md
Last active April 28, 2024 12:00
Emby Theater premiere bypass
@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active May 17, 2024 11:24
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@ramons03
ramons03 / Notepad++AdvancedSearch.txt
Last active May 5, 2024 01:47
Notepad++ Advanced search and replace. Null, Enter char, Tab, Regular Expressions, Etc.
Open the find/replace dialog.
At the bottom will be some Search mode options. Select "Extended (\n \r \t \0 \x...)"
In either the Find what or the Replace with field entries, you can use the following escapes:
\n new line (LF)
\r carriage return (CR)
\t tab character
\0 null character
\xddd special character with code ddd
@josheinstein
josheinstein / wolf.sh
Last active July 4, 2022 19:40
Simple Wolfram Alpha queries from the Mac terminal. The XML parsing is incredibly basic (it just looks complicated because of the work needed to indent the lines to make it look good) so I haven't really tested it with any other results yet.
url="http://api.wolframalpha.com/v2/query"
appid="YOUR APP ID" # get one at https://developer.wolframalpha.com/portal/apisignup.html
query="$@"
value="$(perl -MURI::Escape -e 'print uri_escape($ARGV[0]);' "$query")"
echo "Computing: $query"
curl -s -L -G -d "input=$value&appid=$appid&format=plaintext" $url >/tmp/wolfram-alpha.xml
xsltproc ~/Scripts/wolf.xslt /tmp/wolfram-alpha.xml