Skip to content

Instantly share code, notes, and snippets.

View dziban303's full-sized avatar
πŸ’­
πŸ±β€πŸ‰

Dziban303 dziban303

πŸ’­
πŸ±β€πŸ‰
View GitHub Profile
@dziban303
dziban303 / code_colors_discordjs.md
Created December 10, 2024 20:49 — forked from thomasbnt/code_colors_discordjs.md
Code colors for embed discord.js

Here is an updated list of the colors that are currently implemented with a name. To using colors on discord.js, this is a typedef Colors, Colors.Aqua to get the Aqua color.

Name Int value Hex Code
Default 0 #000000
Aqua 1752220 #1ABC9C
DarkAqua 1146986 #11806A
Green 5763719 #57F287
DarkGreen 2067276 #1F8B4C
@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 / nuthrottle.sh
Last active May 23, 2022 00:10
Raspberry Pi throttling checker with temperature and voltage measurements. Voltage colors will be accurate for Pi3B+/Zero 2W, maybe Zero, not Pi4
#!/bin/bash
#Flag Bits
UNDERVOLTED=0x1
CAPPED=0x2
THROTTLED=0x4
SOFT_TEMPLIMIT=0x8
HAS_UNDERVOLTED=0x10000
HAS_CAPPED=0x20000
HAS_THROTTLED=0x40000
@dziban303
dziban303 / config.conf
Created December 11, 2021 01:41
Neofetch config
# Neofetch config file
# https://github.com/dylanaraps/neofetch
# See this wiki page for more info:
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() {
into line_break
info title
info underline
@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
### Keybase proof
I hereby claim:
* I am dziban303 on github.
* I am dziban303 (https://keybase.io/dziban303) on keybase.
* I have a public key ASApFFmZx6WwiDDkrdivHN2y7GSvoBfAkZLPttSwnSa28Ao
To claim this, I am signing this object:
@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