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
// Assume the files of specified locations aren't modified in any circumstances | |
git update-index --assume-unchanged "FILE LOCATIONS" | |
// Basically return keep tracking of any file that was assumed to be unchanged | |
git update-index --assume-changed "FILES" |
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
1 - Connect the device via USB and make sure debugging is working; | |
2 - adb tcpip 5555. This makes the device to start listening for connections on port 5555; | |
3 - Look up the device IP address with adb shell netcfg or adb shell ifconfig with 6.0 and higher; If it doesn't work, go to your wi-fi router and find the ip of the device | |
4 - You can disconnect the USB now; | |
5 - adb connect <DEVICE_IP_ADDRESS>:5555. This connects to the server we set up on the device on step 2; | |
Now you have a device over the network with which you can debug as usual. |
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
From php 7.2 and above it is necessary to reload the php after any changes: | |
sudo systemctl start php-fpm | |
sudo systemctl stop php-fpm | |
sudo systemctl reload php-fpm | |
sudo systemctl restart php-fpm | |
$ sudo service php-fpm start # <- start it | |
$ sudo service php-fpm stop # <- stop it | |
$ sudo service php-fpm restart # <- restart it |
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
#In /etc/ssh/sshd_config | |
#change the lines with PasswordAuthentication and ChallengeResponseAuthentication to yes | |
PasswordAuthentication yes | |
ChallengeResponseAuthentication yes |