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 | |
| # list installed brew packages and list its dependencies | |
| # https://www.thingy-ma-jig.co.uk/blog/22-09-2014/homebrew-list-packages-and-what-uses-them | |
| brew list -1 | while read cask; do echo -ne "\x1B[1;34m $cask \x1B[0m"; brew uses $cask --installed | awk '{printf(" %s ", $0)}'; echo ""; done | |
| # list installed brew packages sizes | |
| # https://stackoverflow.com/questions/40065188/get-size-of-each-installed-formula-in-homebrew |
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
| <body bgcolor="black"> | |
| <script> | |
| /* | |
| Tegyük fel, hogy étteremben kaját rendelünk. Ez vagy megjön, vagy nem. | |
| Attól függően, hogy megjött-e vagy sem különbözőféleképp szeretnénk reagálni. | |
| A reakciókat két függvény írja le: a siker() és a bukas(). Mindkettő a | |
| saját üzenetén kívül képes extra üzenetet fogadni | |
| */ |
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 | |
| ################################## | |
| # Clone every GitHub Gist | |
| # Requirement: The GitHub CLI | |
| # sudo apt install gh | |
| ################################## | |
| mkdir gists | |
| cd gists |
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 | |
| # change working dir | |
| cd "$(dirname "$0")" | |
| # get ajax_nonce from webpage | |
| wget --output-document domain.html "https://domain.hu" | |
| AJAX_NONCE=$(cat domain.html | grep nonce | cut -d"=" -f2 | tr -d " ;" | jq --raw-output ".ajax_nonce") | |
| echo "ajax_nonce = $AJAX_NONCE" | |
| # prepare website |
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
| # bejelentkezik az nCore-ba és automatikusan letölti a keresés első találatának torrent file-ját | |
| from webdriver_manager.chrome import ChromeDriverManager | |
| from selenium.webdriver.chrome.service import Service | |
| from selenium.webdriver import Chrome | |
| from selenium.webdriver.common.keys import Keys | |
| from selenium.webdriver.common.by import By | |
| from selenium.webdriver.chrome.options import Options | |
| search = "harry potter felver" |
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 | |
| # Read more: | |
| # http://ffmpeg.org/ffmpeg-filters.html#v360 | |
| ffmpeg.exe -i input.mp4 -vf "v360=input=equirect:output=flat:ih_fov=180:h_fov=70:v_fov=70:pitch=-10:in_stereo=sbs:out_stereo=sbs,scale=1600:-1" output.mp4 |
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
| <script src="https://unpkg.com/alpinejs" defer></script> | |
| <style> | |
| body{ | |
| background-color: #444; | |
| color: #ddd; | |
| } | |
| </style> | |
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/sh | |
| sudo xattr -lr /Applications/Google\ Chrome.app | |
| sudo xattr -cr /Applications/Google\ Chrome.app | |
| sudo codesign -f -s - /Applications/Google\ Chrome.app |
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 | |
| ####################### | |
| # Usage: | |
| # ./upload.sh <foldername> <filename> | |
| # | |
| # Foldername must be globally unique. | |
| # Fill in the USER and PASS variable below. | |
| # | |
| # Known issues: filename with spaces or filename with full or relative path |