To see the available profiles run:
cat ~/.config/google-chrome/Local\ State | jq .profile
Paste the hook in /etc/pacman.d/hooks/google-chrome-shortcut-patch.hook
// enable drive api service | |
// manually set a time-driven trigger(the alarm icon) that runs monthly after 25th evening, | |
function deIndent(str) { | |
return str.replace(/^[ \t]+/gm, ""); | |
} | |
function dateWithOrdinalSuffix(date) { | |
const day = date.getDate(); | |
let suffix = "th"; |
#!/usr/bin/env bash | |
# Util to set up displays using displayplacer: https://github.com/jakehilborn/displayplacer | |
# to get the display id run `displayplacer list | grep -A2 Serial` | |
DISPLAY_1=s4251086178 | |
DISPLAY_2=s261348 | |
if [ "$#" -ne 1 ]; then |
network: | |
version: 2 | |
ethernets: | |
enp9s0: | |
dhcp4: false | |
wifis: | |
wlan0: | |
access-points: | |
"wifi": | |
password: "pass" |
# https://macosicons.com | |
https://parsefiles.back4app.com/JPaQcFfEEQ1ePBxbf6wvzkPMEqKYHhPYv8boI1Rc/6ba4356c379a0e212b2af5a8ef1a57ef_YouTube%20Music.icns |
ACTION=="add", SUBSYSTEM=="usb", ATTR{idProduct}=="c52b", ATTR{idVendor}=="046d", ATTR{power/wakeup}="disabled" |
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86 5.13.5 Kernel Configuration | |
# | |
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.1.0" | |
CONFIG_CC_IS_GCC=y | |
CONFIG_GCC_VERSION=110100 | |
CONFIG_CLANG_VERSION=0 | |
CONFIG_AS_IS_GNU=y | |
CONFIG_AS_VERSION=23601 |
pip install pipdeptree
pipdeptree -f 2>/dev/null | grep -v '^ ' | tee requirements.txt
Generate ssh key pairs for accounts and add them to GitHub accounts.
Edit/Create ssh config file (~/.ssh/config
):
# Default github account: user01
Host github.com
HostName github.com
#!/usr/bin/env python3 | |
# ./tts.py hello world | |
import requests, string, os | |
from playsound import playsound | |
from sys import argv | |
text = ( | |
" ".join(argv[1:]).lower().translate(str.maketrans("", "", string.punctuation)).split(" ") | |
) |