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
| https://gist.github.com/0e2547b9ae823cbfe0d23c23f508ed59 |
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
| #!/bin/bash | |
| service=$(wgetpaste -S | awk 'NR > 3{print $1}' | sed 's/\*//g' | rofi -dmenu -p service -i) | |
| lang=$(wgetpaste -s "$service" -L | awk '{print $1}' | rofi -dmenu -p service -i) | |
| desc=$(rofi -dmenu -p Description -i) | |
| wgetpaste -s "$service" -l "$lang" -d "$desc" -x -X -C |
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
| desc=$(rofi -dmenu -p Description) | |
| [ -z "$desc" ] && wgetpaste -s $service -l $lang -x -X -C --verbose || wgetpaste -s $service -l $lang -d "$desc" -x -X -C --verbose |
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
| #!/bin/bash | |
| # Wrapper for gist, pc, imgur.sh using rofi (-g) or fzf | |
| # if fromGUI rofi else fzf | |
| function rofilaunch { | |
| rofi -dmenu -p "$1" -i | |
| } | |
| function fzflauch { | |
| fzf | |
| } | |
| function dieempty { |
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
| https://gist.github.com/a90db706221dd569bbfb66adf57d886e |
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
| #!/bin/bash | |
| # Wrapper for gist, pc, imgur.sh using rofi (-g) or fzf | |
| # if fromGUI rofi else fzf | |
| function rofilaunch { | |
| rofi -dmenu -p "$1" -i | |
| } | |
| function fzflauch { | |
| fzf | |
| } | |
| function dieempty { |
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 zsh | |
| source /home/matheus/bin/.zshrc | |
| export QT_QPA_PLATFORMTHEME=gnome | |
| /home/matheus/bin/lightcheck | |
| numlockx on | |
| lxsession & | |
| picom & | |
| /usr/bin/emacs --daemon & | |
| nm-applet & |
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/python3 | |
| ### Install ua-parser: | |
| ### sudo pip install pyyaml ua-parser user-agents | |
| import os | |
| from user_agents import parse | |
| print('Content-Type: text/html\n\n') | |
| ## This is for printing http headers when you dont know what is what ;) | |
| # for headername in os.environ: |
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
| rofi usage: | |
| rofi [-options ...] | |
| Command line only options: | |
| -no-config Do not load configuration, use default values. | |
| -v,-version Print the version number and exit. | |
| -dmenu Start in dmenu mode. | |
| -display [string] X server to contact. | |
| ${DISPLAY} | |
| -h,-help This help message. |
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
| vlc_path="\"C:\\Program Files (x86)\\VideoLAN\\VLC\\vlc.exe\"" | |
| import socket | |
| import struct | |
| import textwrap | |
| from scapy.all import * | |
| import os | |
| from elevate import elevate |