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 python3 | |
| import requests | |
| import json | |
| import sys | |
| file = {'file': open(sys.argv[1], 'rb')} | |
| r = requests.post("https://anonfile.com/api/upload", files=file) | |
| content = r.content.decode("utf-8") | |
| json_file = json.loads(content) |
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
| #make a function in ~/.config/fish/functions called mkalias.fish and put this in | |
| function mkalias --argument key value | |
| echo alias $key=$value | |
| alias $key=$value | |
| funcsave $key | |
| end |
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
| { config, pkgs, ... }: | |
| { | |
| imports = | |
| [ | |
| # Include the results of the hardware scan. | |
| ./hardware-configuration.nix | |
| ]; | |
| boot.loader.grub.enable = true; |
OlderNewer