This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import requests | |
| import json | |
| username = "" # Enter your modrinth username here | |
| HEADERS = { | |
| "Authorization": "" # Enter your authorisation token here | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/bash | |
| if grep colemak -i /usr/share/X11/xkb/symbols/ro > /dev/null | |
| then | |
| echo "colemak layout already installed, skipping" | |
| exit | |
| else | |
| echo "defining colemak layout in /usr/share/X11/xkb/symbols/ro" | |
| sudo sed -i '/partial alphanumeric_keys/{ | |
| :b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import requests, json | |
| #Notion's token and databaseId | |
| token = 'XXX' | |
| databaseId = 'XXX' | |
| #Notion's headers | |
| headers = { | |
| "Authorization": "Bearer " + token, |