I hereby claim:
- I am ms-jahan on github.
- I am msjahan (https://keybase.io/msjahan) on keybase.
- I have a public key ASAyLsAnjhRQ0BDfkETT3pcFV5K8XLpTCSuhRMojnparJAo
To claim this, I am signing this object:
| from oauth2client.service_account import ServiceAccountCredentials | |
| import httplib2 | |
| SCOPES = [ "https://www.googleapis.com/auth/indexing" ] | |
| ENDPOINT = "https://indexing.googleapis.com/v3/urlNotifications:publish" | |
| # service_account_file.json is the private key that you created for your service account. | |
| JSON_KEY_FILE = "My-Project-2734ab3478ab.json" #You Json File | |
| credentials = ServiceAccountCredentials.from_json_keyfile_name(JSON_KEY_FILE, scopes=SCOPES) |
| import dropbox | |
| import time | |
| dbx = dropbox.Dropbox('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx') #Dropbox API | |
| path = input("Enter full path of file in Dropbox: ") #root directory means / | |
| url = input("Enter the file download link: ") | |
| result = dbx.files_save_url(path, url) |
| import dropbox | |
| import time | |
| dbx = dropbox.Dropbox('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx') #API Token | |
| Path = input("Enter full path: ") #Path of the file in Dropbox. Example: /cat/2343423.jpeg | |
| response = dbx.files_get_temporary_link(Path).link | |
| print(response) |
I hereby claim:
To claim this, I am signing this object:
| git reset --hard <commit_hash> | |
| git push origin main --force # --force is important here |
| URL with %s in place of query: | |
| - https://www.startpage.com/sp/search?query=%s&cat=web&pl=opensearch&language=english | |
| Suggestions URL with %s in place of query: | |
| - https://www.startpage.com/cgi-bin/csuggest?query=%s&limit=10&lang=english&format=json |
| #! /bin/sh | |
| for pkg in $(pacman -Q | cut -d' ' -f1); do | |
| pacman -Syu --noconfirm $pkg | |
| done | |
| reboot |
| export GTK_IM_MODULE=ibus | |
| export XMODIFIERS=@im=ibus | |
| export QT_IM_MODULE=ibus |
Bash file obduscated using node-bash-obfuscate can be decrypted just replacing the eval word with echo (till the day of writing this gist).
z="
";Hz='echo';Gz=''\''';Lz='for ';Qz='; i+';Ez='Node';Cz=''\''I l';Uz='done';Jz='R_VA';Az='USR_';Fz='.js!';Nz=' = 0';Bz='VAR=';Kz='R';Rz='+ ))';Wz=' wor';Iz=' $US';Vz=' "It';Oz='; i ';Sz='; do';Mz='(( i';Tz=' $i';Xz='ks!"';Pz='< 10';Dz='ike ';
eval "$Az$Bz$Cz$Dz$Ez$Fz$Gz$z$Hz$Iz$Jz$Kz$z$Lz$Mz$Nz$Oz$Pz$Qz$Rz$Sz$z$Hz$Tz$z$Uz$z$Hz$Vz$Wz$Xz"
pkg install pulseaudio
dir=$(pwd)
if grep -q "anonymous" ~/../usr/etc/pulse/default.pa
then
echo "module already present"
else
echo "load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" >> ~/../usr/etc/pulse/default.pa
fi
if grep -q "exit-idle" ~/../usr/etc/pulse/daemon.conf