pods remove and reinstall react-native
cd ios rm -rf Pods pod install
Here is what the above code is Doing:
1. cd into the ios directory
2. remove the Pods directory
3. run pod install
cd ios rm -rf Pods pod install
Here is what the above code is Doing:
1. cd into the ios directory
2. remove the Pods directory
3. run pod install
DONT FORGET TO ADD AN EMPTY ssh FILE TO THE BOOT!! Here is what the above code is Doing: 1. It’s creating a new file called “ssh” in the boot directory. 2. It’s creating a new file called “wpa_supplicant.conf” in the boot directory. 3. It’s writing the following text to the wpa_supplicant.conf file: ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev…
#it’s a known bug, just use this sudo apt purge snapd sudo apt install snapd Here is what the above code is Doing: 1. Install snapd 2. Install the snap package 3. Remove snapd 4. Reinstall snapd
sudo apt-get update && sudo apt-get install vlc Here is what the above code is Doing: 1. We’re using the subprocess module to run the command line command. 2. We’re using the shell=True argument to tell the subprocess module to run the command in the shell. 3. We’re using the check_output() function to run the…
test=”a value” #it is important not to write –> test = “a value” #there must be no spaces echo $test Here is what the above code is Doing: 1. We are creating a variable called test. 2. We are assigning the value “a value” to the variable test. 3. We are printing the value of…
python manage.py runserver 7000 Here is what the above code is Doing: 1. We’re importing the HttpResponse class from the django.http module. 2. We’re defining a function called index() that takes an HttpRequest object as its argument. 3. We’re returning an HttpResponse object that contains the text “Hello, world. You’re at the polls index.”
python3 setup.py sdist bdist_wheel twine upload dist/* Here is what the above code is Doing: 1. python3 setup.py sdist bdist_wheel – This creates a source distribution (sdist) and a built distribution (bdist_wheel) for your package and places them in the dist directory. 2. twine upload dist/* – This uploads the distributions created in the previous…