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 | |
CURRENT=`ifconfig en1 | grep ether | cut -c8-24` | |
RANDOM=`openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'` | |
echo "Current MAC Adress : $CURRENT" | |
echo "Random MAC Adress : $(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//')" | |
printf "Continue Y/N? "; read res | |
if [[($res == "Y")]]; then | |
sudo ifconfig en1 ether $(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//') | |
else | |
echo "quitting..." |
- The
ffmpeg
command is in ffmpeg package, from rpmfusion free. It's not in Fedora proper because of patent issues, I believe. -i concat:VTS_01_1.VOB\|VTS_01_2.VOB\|VTS_01_3.VOB
marks that input file is a direct join of the three VOB files listed, the backslash is to escape the "|" so that it's seen by ffmpeg instead of bash.-map 0:v
tells that ALL video streams are to be copied/transcoded.-map 0:a
tells that ALL audio streams are to be copied/transcoded.-c:v libx264
tells that for video streams we'll use libx264 codec (i. e. we'll transcode to h264).
list disks
diskutil list
unmount that disk by entering
diskutil unmountDisk /dev/diskN
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 | |
# for m in *.flac; do ffmpeg -nostdin -i "$m" -c:a alac -c:v copy "${m%.*}.m4a"; done | |
for m in *.flac; do ffmpeg -i "$m" -c:a alac -c:v copy "${m%.flac}.m4a"; done |
cd into ISOs files folder
cd path/to/isos/folder
loop all ISO files and convert them to mkv
# use all ISO childs
for x in $(find . -name '*.ISO'); do
# make dir of /output/path/ISO_FILE.ISO/*.mkv
install dependencies
yarn add -D tailwindcss postcss-cli autoprefixer
init tailwind.js
file (--full: all options)
npx tailwindcss init tailwind.js --full
create postcss.config.js
file in root
directory
Rename ipa extension to zip to extract it later
mv app.ipa app.zip
copy zip file to iphone
scp app.zip root@0.0.0.0:/User/Downloads
-
qemu —
brew install qemu
-
guestfish — https://hub.docker.com/r/curator/guestfish/
1. Backup VM