Skip to content

Instantly share code, notes, and snippets.

View tayyabsayyad's full-sized avatar

Tayyabali Sayyad tayyabsayyad

  • Don Bosco institute of Technology.
  • Mumbai, Maharashtra , India
View GitHub Profile

Installing Arch linux with EFI

  1. Change keyboard layout:

    • loadkeys no
  2. Verify boot mode:

    • ls /sys/firmware/efi/efivars (If the directory exist your computer supports EFI)
  3. Ping some site on the Internet to verify connection:

  • ping archlinux.org
@tayyabsayyad
tayyabsayyad / my-arch-install-cheat-sheet.md
Last active March 23, 2022 04:34 — forked from dhhdev/my-arch-install-cheat-sheet.md
My Arch Installation Cheat Sheet

Install Arch Linux

This is my personal setup almost every time I install Arch Linux. This is meant for me as being something I can quickly reference.

Change localkeys to my keyboard layout

In my case I have a Danish keyboard layout.

# pgadmin default password change
sudo -u postgres psql postgres
# \password postgres
Enter new password:
@tayyabsayyad
tayyabsayyad / geoserver-install.sh
Last active July 18, 2019 16:50 — forked from iacovlev-pavel/geoserver-install.sh
Install GeoServer on Ubuntu 18.04
#
sudo su
apt-get install openjdk-8-jre
# PostgreSQL and PostGIS
apt-get install postgresql postgresql-contrib postgis postgresql-10-postgis-2.4
# Create "geoserver" database
sudo -u postgres createuser -P geoserver
sudo -u postgres createdb -O geoserver geoserver
@tayyabsayyad
tayyabsayyad / r_ubuntu_18_04.sh
Created June 1, 2018 16:29 — forked from ElToro1966/r_ubuntu_18_04.sh
Install R and RStudio on Ubuntu 18.04 with essential libraries for data science. Based on pachamaltese/r_ubuntu_17_10.sh (for Ubuntu 17.10).
# Install R
sudo apt update
sudo apt install gdebi libxml2-dev libssl-dev libcurl4-openssl-dev libopenblas-dev r-base r-base-dev
# Install RStudio
cd ~/Downloads
wget https://download1.rstudio.org/rstudio-xenial-1.1.447-amd64.deb
sudo gdebi rstudio-xenial-1.1.447-amd64.deb
printf '\nexport QT_STYLE_OVERRIDE=gtk\n' | sudo tee -a ~/.profile
@tayyabsayyad
tayyabsayyad / gist:b07e29201b3b3b3c23990e027932163d
Created August 28, 2016 08:23
commands for git proxy setting
git config --global --unset http.proxy
git config --global --get http.proxy
git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
@tayyabsayyad
tayyabsayyad / gist:a4f787edfe4abafc43006f56202c64f1
Created August 28, 2016 08:23
commands for git proxy setting
git config --global --unset http.proxy
git config --global --get http.proxy
git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
alias reload="source ~/.profile"
#function ssh {
# ~/.scripts/iterm-setName $1
# /usr/bin/ssh $1
#}
# git alias
alias gco="git commit -am"
alias glog='git log --date-order --all --graph --format="%C(green)%h%Creset %C(yellow)%an%Creset %C(blue bold)%ar%Creset %C(red bold)%d %Creset%s"'