- Enable developer settings
- Enable USB DEBUGGING
- Install ADB options on your computer
- Connect the device to computer
- Open the terminal
Preview remove first 72 charachters | |
``` | |
rename -n -v 's/^(.{72})//' * | |
``` | |
Apply it | |
``` | |
rename 's/^(.{72})//' * | |
``` |
grep -rlH "{{Search query}}" {{location}} |
function wp_create_user( $username, $password, $email = '' ) { | |
$user_login = wp_slash( $username ); | |
$user_email = wp_slash( $email ); | |
$user_pass = $password; | |
$userdata = compact( 'user_login', 'user_email', 'user_pass' ); | |
return wp_insert_user( $userdata ); | |
} |
sudo killall -HUP mDNSResponder;sudo killall mDNSResponderHelper;sudo dscacheutil -flushcache |
rsync -avL --progress {{server}}:{{location}} {{location}} |
for a in 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 ; do | |
sudo ifconfig lo0 alias 127.0.0.$a | |
done |
msgfmt -v -c {{filename}} |
adb shell settings put global op_voice_recording_supported_by_mcc 1 |
hcloud firewall list | |
read -p "Enter the Firewall ID you want to remove a IP to:" firewallID | |
hcloud firewall describe $firewallID | |
read -p "Enter the IP you want to remove your IP to:" ip | |
hcloud firewall delete-rule --direction in --protocol tcp --port 22 --source-ips $ip/32 $firewallID |