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
sudo gedit /etc/network/interfaces | |
# add the below lines to the file | |
auto ens33 | |
iface ens33 inet dhcp | |
## add the above | |
sudo ifup ens33 |
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
# Setting up virtualization - Android development | |
## power off kernel instance | |
sudo apt install qemu-kvm` | |
sudo chown -R bayo:bayo /dev/kvm` | |
ls -al /dev/kvm` # this lists |
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
# QGIS LTR (3.4.*) - Bionic Beaver (18.4.*) | |
$ wget -O - https://qgis.org/downloads/qgis-2019.gpg.key | gpg --import | |
$ gpg --fingerprint 51F523511C7028C3 | |
$ gpg --export --armor 51F523511C7028C3 | sudo apt-key add - | |
$ sudo nano /etc/apt/sources.list # add the next lines in the file | |
deb https://qgis.org/debian-ltr bionic main |
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
psql \ | |
-f restore.sql \ | |
--host xxx.xxx.us-east-2.rds.amazonaws.com \ | |
--port 5432 \ | |
--username [username] \ | |
--password [password] \ | |
--dbname AWSdb |
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
## Git initialization | |
`$ git init` | |
## Heroku create app | |
`$ heroku create map-app` | |
## Assigning remote target | |
`$ heroku git:remote map-app` | |
## Confirm |
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
#If you have issues with importing the future package upon starting QGIS, you would most likely need these. | |
`sudo pip install future` | |
`sudo pip install urllib3` | |
`sudo pip install numpy` | |
`sudo pip install chardet` |
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
# Remove file from git history | |
$ git rm --cached file.txt |
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
# After downloading file from official site for Ubuntu LInux distro, where "firefox-59.0b6.tar.bz2" is file downloaded | |
$ tar xjf firefox-59.0b6.tar.bz2 | |
# To ensure no firefox directory in opt | |
$ sudo rm -r /opt/firefox | |
# Move extracted file in step 1 |
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
## Active virtual environment | |
`$ source bin/activate` | |
## Git initialization | |
`$ git init` | |
## Heroku create app | |
`$ heroku create map-app` | |
## Assigning remote target |