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
| [Desktop Entry] | |
| Name=Terminal | |
| Comment=Use the command line | |
| Keywords=shell;prompt;command;commandline;cmd; | |
| TryExec=gnome-terminal | |
| Exec=/usr/bin/zsh -c "source ~/.zshrc ; tmux new-window -n PF ssh PF" | |
| Icon=utilities-terminal | |
| Type=Application | |
| X-GNOME-DocPath=gnome-terminal/index.html | |
| X-GNOME-Bugzilla-Bugzilla=GNOME |
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
| { | |
| "allowed_origins": [ | |
| "chrome-extension://iopaggbpplllidnfmcghoonnokmjoicf/", | |
| "chrome-extension://oboonakemofpalcgghocfoadofidjkkk/", | |
| "chrome-extension://ihkfcololioiohopfcoekpnmnnhfnejf/" | |
| ], | |
| "description": "KeePassXC integration with native messaging support", | |
| "name": "org.keepassxc.keepassxc_browser", | |
| "path": "/usr/bin/keepassxc-proxy", | |
| "type": "stdio" |
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
| oc get events --sort-by='.lastTimestamp' --all-namespaces |
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 | |
| # Thu Oct 29 10:34:58 UTC 2020 | |
| # Lucian Maly, lmaly@redhat.com | |
| for pathname in $(ls -d1 */); | |
| do | |
| cd "${pathname}" || exit | |
| for file in * | |
| do | |
| mv -iv "${file}" "$(basename "${pathname}").${file##*.}" |
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
| default menu.c32 | |
| prompt 0 | |
| timeout 300 | |
| ONTIMEOUT local | |
| label 1 | |
| menu label ^1) Install RHEL 8 with Local Repo | |
| kernel rhel8/vmlinuz | |
| append initrd=rhel8/initrd.img method=http://192.168.130.2/rhel8 devfs=nomount |
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
| # 1 Action-Thrillers-Audiobooks | |
| https://www.audible.com.au/search?node=2683326051&pageSize=50&sort=price-asc-rank&page=1 | |
| # 2 Contemporary-Quests-Audiobooks | |
| https://www.audible.com.au/search?node=2683327051&pageSize=50&sort=price-asc-rank&page=1 | |
| # 3 Historical-Adventures-Audiobooks | |
| https://www.audible.com.au/search?node=2683328051&pageSize=50&sort=price-asc-rank&page=1 | |
| # 4 Military-Action-Audiobooks | |
| https://www.audible.com.au/search?node=2683329051&pageSize=50&sort=price-asc-rank&page=1 | |
| # 5 Spy-Stories-Audiobooks | |
| https://www.audible.com.au/search?node=2683330051&pageSize=50&sort=price-asc-rank&page=1 |
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/python3 | |
| from bs4 import BeautifulSoup | |
| import os | |
| file = open("audible.html", "r") | |
| html_doc = file.read() | |
| soup = BeautifulSoup(html_doc, 'html.parser') |
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/python3 | |
| """ | |
| Author: Lucian Maly | |
| """ | |
| import requests | |
| from bs4 import BeautifulSoup | |
| import datetime | |
| import os |
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 | |
| echo 'First you must get the pull-secret.txt from `https://cloud.redhat.com/openshift/install/pre-release` to the same directory where you run this from' | |
| # Exports - required environment variables: | |
| DEFAULT_OCPVERSION="4.4.3" | |
| DEFAULT_ARCH="x86_64" | |
| LOCAL_REPOSITORY="openshift/ocp${OCP_RELEASE}" | |
| PRODUCT_REPO="openshift-release-dev" | |
| LOCAL_SECRET_JSON="pull-secret.txt" |
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 | |
| for x in $(ls -1); do mv {${x},$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 6 | head -n 1)}; done | |
| # Before: | |
| # ~ ls | |
| # ~ IMG_20200522_225920.jpg IMG_20200522_230114.jpg IMG_20200522_230302.jpg | |
| # After: | |
| # ~ ls | |
| # ~ 14pkJd 4ld2t9 6foTRm |