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
import datetime | |
import os | |
import jwt | |
from dotenv import load_dotenv | |
load_dotenv() # take environment variables from .env. | |
secret_key = os.getenv("TOKEN_SECRET_KEY") |
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
for f in *.JPG; do convert $f -resize 800 -quality 80 ${f%.*}.pdf ; done; |
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 | |
# xinput set-prop 12 345 30 | |
device_num=12 # default value if can not find | |
for i in $(xinput list | awk -F 'Synaptics' '{print $2}') | |
do | |
if [[ "$i" == *"id"* ]]; then | |
device_num=$(echo $i | awk -F 'id=' '{print $2}') | |
fi; | |
done; |
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
aaron-bond.better-comments | |
abdelaziz18003.quasar-snippets | |
ahmadalli.vscode-nginx-conf | |
akamud.vscode-javascript-snippet-pack | |
akamud.vscode-theme-onedark | |
akamud.vscode-theme-onelight | |
alefragnani.project-manager | |
amlovey.shaderlabvscodefree | |
AndreyVolosovich.monokai-st3 | |
Angular.ng-template |
OlderNewer