This file contains 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
Source: https://github.com/flameshot-org/flameshot/issues/564#issuecomment-1754513417 | |
Right-click at start icon | |
Edit Menu | |
Find "Flameshot" and Click "Properties" | |
Update command to `/usr/bin/env QT_AUTO_SCREEN_SCALE_FACTOR=1 flameshot` |
This file contains 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
Install OpenVPN support for NetworkManager | |
`sudo service NetworkManager restart` | |
Modify `NetworkManager.conf` | |
`sudo vim /etc/NetworkManager/NetworkManager.conf` | |
Change managed to `true` | |
``` | |
[ifupdown] | |
managed=true |
This file contains 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
1) Download [Firefox Developer Edition](https://www.mozilla.org/en-US/firefox/developer/) | |
2) Extract to `/opt` directory ie `sudo tar -xvjf firefox-115.0b4.tar.bz2 -C /opt` | |
3) (Optional) rename `firefox` directory to `firefox-develop` | |
4) Change owner to current user so it can update the latest version ie `sudo chown $USER /opt/firefox-develop | |
5) Create shotcut file `vim ~/.local/share/applications/firefox-dev.desktop` | |
``` | |
[Desktop Entry] | |
Version=1.0 | |
Name=Firefox Developer Edition |
This file contains 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
version: "3" | |
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ | |
services: | |
pihole: | |
container_name: pihole | |
image: pihole/pihole:latest | |
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host" | |
ports: | |
- "53:53/tcp" |
This file contains 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 | |
docker compose down | |
sudo networksetup -setdnsservers Wi-Fi empty | |
sudo killall -HUP mDNSResponder |
This file contains 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 | |
docker compose up -d | |
sudo networksetup -setdnsservers Wi-Fi empty | |
sudo networksetup -setdnsservers Wi-Fi 127.0.0.1 | |
sudo killall -HUP mDNSResponder |
This file contains 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
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Maintainer: | |
" Amir Salihefendic — @amix3k | |
" | |
" Awesome_version: | |
" Get this config, nice color schemes and lots of plugins! | |
" | |
" Install the awesome version from: | |
" | |
" https://github.com/amix/vimrc |
This file contains 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
{ | |
"bracketPairColorizer.showBracketsInGutter": true, | |
"bracketPairColorizer.showHorizontalScopeLine": true, | |
"bracketPairColorizer.showVerticalScopeLine": true, | |
"breadcrumbs.enabled": true, | |
"editor.formatOnSave": true, | |
"editor.fontFamily": "'Fira Code','Roboto Mono'", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 16, |
This file contains 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
/* | |
Sample POST message | |
{ | |
"message": { | |
"data": "ewogICJraW5kIjogInN0b3JhZ2Ujb2JqZWN0IiwKICAiaWQiOiAiamViLXN0Zy1yYXctdXBsb2FkLzIwMTgwMTEwX2FjdGlvbnMudHN2LTE1MTU2ODA2OTIuZ3ovMTUxNTY4MDY5NDgzOTY2NSIsCiAgInNlbGZMaW5rIjogImh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL3N0b3JhZ2UvdjEvYi9qZWItc3RnLXJhdy11cGxvYWQvby8yMDE4MDExMF9hY3Rpb25zLnRzdi0xNTE1NjgwNjkyLmd6IiwKICAibmFtZSI6ICIyMDE4MDExMF9hY3Rpb25zLnRzdi0xNTE1NjgwNjkyLmd6IiwKICAiYnVja2V0IjogImplYi1zdGctcmF3LXVwbG9hZCIsCiAgImdlbmVyYXRpb24iOiAiMTUxNTY4MDY5NDgzOTY2NSIsCiAgIm1ldGFnZW5lcmF0aW9uIjogIjEiLAogICJjb250ZW50VHlwZSI6ICJ0ZXh0L3RhYi1zZXBhcmF0ZWQtdmFsdWVzIiwKICAidGltZUNyZWF0ZWQiOiAiMjAxOC0wMS0xMVQxNDoyNDo1NC44MDFaIiwKICAidXBkYXRlZCI6ICIyMDE4LTAxLTExVDE0OjI0OjU0LjgwMVoiLAogICJzdG9yYWdlQ2xhc3MiOiAiUkVHSU9OQUwiLAogICJ0aW1lU3RvcmFnZUNsYXNzVXBkYXRlZCI6ICIyMDE4LTAxLTExVDE0OjI0OjU0LjgwMVoiLAogICJzaXplIjogIjIyMDk5IiwKICAibWQ1SGFzaCI6ICJTcHpFb01ieU9peWdtbVZUSDdsaS9BPT0iLAogICJtZWRpYUxpbmsiOiAiaHR0cHM6Ly93d3cuZ29vZ2xlYXBpcy5jb20vZG93bmxvYWQvc3RvcmFnZS92MS9iL2plYi1zdGctcmF3LXVwbG |
This file contains 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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/apavamontri/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="powerlevel9k/powerlevel9k" |
NewerOlder