Skip to content

Instantly share code, notes, and snippets.

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

Dziban303 dziban303

💭
🐱‍🐉
View GitHub Profile
@dziban303
dziban303 / wolf.sh
Created July 4, 2022 19:40 — forked from josheinstein/wolf.sh
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
@dziban303
dziban303 / goes16-rtlsdr.md
Created May 10, 2021 18:25 — forked from lxe/goes16-rtlsdr.md
Receive GOES-16 and GOES-17 Images with a Raspberry Pi and RTL-SDR dongle
@dziban303
dziban303 / DateTimeSig.js
Last active November 30, 2022 17:56 — forked from pbaruns/DateTime
Insert Date Time
/**
* The onOpen function runs automatically when the Google Docs document is
* opened. Use it to add custom menus to Google Docs that allow the user to run
* custom scripts. For more information, please consult the following two
* resources.
*
* Extending Google Docs developer guide:
* https://developers.google.com/apps-script/guides/docs
*
* Document service reference documentation:
@dziban303
dziban303 / features.json
Created July 12, 2020 05:56 — forked from riverar/features.json
Quick n' dirty hack to enable Your Phone remoting, notification and other experiments
{
"AATes123": true,
"AcrylicAndBackground": true,
"AudioInfoSync": true,
"BatteryIndicator": true,
"CallingDiscoveryTimeout": 30,
"CallingEnableOnARM": true,
"CallingFromMessages": true,
"CallingLabelInProd": true,
"CallingNode": true,
@dziban303
dziban303 / ytgif.sh
Last active December 8, 2021 18:43 — forked from hubgit/youtube-gif.sh
Convert a section of a YouTube video to an animated GIF
@dziban303
dziban303 / mirc.ini
Created October 6, 2018 10:12 — forked from liamja/mirc.ini
Monokai colour scheme for mIRC.
[colors]
n5=Monokai,0,4,4,4,2,3,4,3,6,6,3,1,2,2,5,1,5,4,2,4,0,0,1,0,1,14,5,0,0,1
[palettes]
n5=2238503,15923448,15718758,3072678,7481081,12767183,2070525,26832,1632504,57344,94740,16776960,16515072,16711935,8355711,13816530
@dziban303
dziban303 / AddBashToContextMenu.reg
Last active December 7, 2017 12:25 — forked from kevin-d-omara/AddUbuntuBashToContextMenu.reg
Add Bash to the context menu for Windows 10.
Windows Registry Editor Version 5.00
; * Adds Bash to the extended context menu (shift + right-click).
; * If you prefer the regular context menu (right-click),
; delete both lines containing <"Extended"="">.
; Context menu for right-clicking the background of a directory or the desktop.
[HKEY_CLASSES_ROOT\Directory\Background\shell\Bash]
@="Open Bash window here"
"Extended"=""
@dziban303
dziban303 / Notepad++AdvancedSearch.txt
Created March 11, 2016 04:37 — forked from ramons03/Notepad++AdvancedSearch.txt
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