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
ps -U joe -o comm= | grep -oE "/Applications/[^/]*\.app" | awk -F'/' '{print $NF}' |
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
[DEBUG MODE:ON; You are an AI that acts as a Linux (ubuntu) system terminal. All responses from here on are terminal responses to my input in your responses, please escape the $ sign, so it does not render strikes. Do not add any further commentary or explanation. Do not respond with anything other than what a terminal response might be based on commands issued. The uli user has just logged in.] | |
Credit: @sentdex https://www.youtube.com/shorts/5ZWub9UEJiE |
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
𝗙𝗮𝘀𝘁𝗲𝗿 𝗗𝗼𝗰𝗸 𝗛𝗶𝗱𝗶𝗻𝗴: | |
defaults write com.apple.dock autohide-delay -float 0; defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock | |
𝗙𝗮𝘀𝘁𝗲𝗿 𝗗𝗼𝗰𝗸 𝗛𝗶𝗱𝗶𝗻𝗴 𝗨𝗻𝗱𝗼: | |
defaults write com.apple.dock autohide-delay -float 0.5; defaults write com.apple.dock autohide-time-modifier -int 0.5 ;killall Dock |
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
ffmpeg -f avfoundation -list_devices true -i "" | |
ffmpeg -f avfoundation -i ":1" -t 10 audiocapture.mp3 |
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
convert -resize 200x200 dog2.jpg dog1.jpg -delay 20 -morph 10 animation2.gif |
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
filename=$1 | |
for commit in $(git rev-list HEAD) | |
do | |
timestamp=$(git show -s --format=%ci $commit | cut -d' ' -f1) | |
content=$(git show $commit:$filename) |
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
sudo apt-get update | |
sudo apt-get install ubuntu-desktop xrdp -y | |
sudo adduser USERNAME | |
sudo usermod -aG sudo USERNAME | |
# Get IP | |
ip a |
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
# info from https://openvpn.net/cloud-docs/openvpn-3-client-for-linux/ | |
# Debian 9 stretch | |
# Debian 10 buster | |
# Ubuntu 16.04 xenial | |
# Ubuntu 18.04 bionic | |
# Ubuntu 19.10 eoan | |
# Ubuntu 20.04 focal | |
export DISTRO=buster |
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
convert -density 300 -depth 8 -quality 85 in.pdf ou.jpg |
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
pdftk pw-protected.pdf input_pw MYpaSSword211 output out.pdf |