Skip to content

Instantly share code, notes, and snippets.

View Xsmael's full-sized avatar
😎
Be serious, but not too serious

Ismael O. Xsmael

😎
Be serious, but not too serious
  • SharpEdge
  • 127.0.0.1
View GitHub Profile
@ownerer
ownerer / add.sh
Last active August 28, 2025 06:27
Yeastar TG series - SMS to webhook
#!/bin/sh
# anything added here gets executed as the final step of the /etc/rc.local file
# before it gets called rc.local will make sure this script is executable, yay!
chmod +x /persistent/script/loop.sh
chmod +x /persistent/script/process_texts.sh
/persistent/script/loop.sh /persistent/script/process_texts.sh 10 &
@maephisto
maephisto / Javascript ISO country code to country name conversion
Last active August 15, 2024 03:08
ISO 3166-1 alpha-2 country code to country name conversion with a simple Javascript implementation, an array and a function.
var isoCountries = {
'AF' : 'Afghanistan',
'AX' : 'Aland Islands',
'AL' : 'Albania',
'DZ' : 'Algeria',
'AS' : 'American Samoa',
'AD' : 'Andorra',
'AO' : 'Angola',
'AI' : 'Anguilla',
'AQ' : 'Antarctica',