MahmoudMabrok / Sheet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sheet

My posts

Installation Guide

  • Flutter

    • Linux
      • install SDK link.
      • add it to path by export PATH="$PATH:`pwd`/flutter/bin" or
      • sudo nano /etc/profile then add if [ "`id -u`" -eq 0 ]; then PATH="..." else PATH="/usr/local/bin:...:[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin" fi export PATH.
      • it may need to configure Dart sdk.
      • you will find it at flutter/bin/cache/dart-sdk
  • Java

    • Linux
      • There are two imp Oracle & OpenJdk we will use
      • install
           sudo apt update
           sudo apt install openjdk-8-jdk // we can replace 8 with any version 8,10,11.
        
      • query version java --version
      • make as default one by sudo update-alternatives --config java this show selection and choose it.
      • add JAVA_HOME
        • copy path to jdk by type last command sudo update-alternatives --config java
        • type sudo nano /etc/environment
        • add to end of it JAVA_HOME="THE PATH YOU HAVE COPIED"
        • typesource /etc/environment
        • verify by echo $JAVA_HOME.
  • Android Studio

    • Linux
      • Download .tar file
      • Extract it
      • go to bin directory
      • open terminal and type ./studio.sh
      • Contiune process.
  • Postman

    Download Postman by running following command in your Linux system:
    
    wget https://dl.pstmn.io/download/latest/linux64 -O postman-linux-x64.tar.gz
    
    Extract the downloaded file by running the following command in /opt directory:
    
    sudo tar -xvzf postman-linux-x64.tar.gz -C /opt
    
    Finally, create a symbolic link running following command in terminal:
    
    sudo ln -s /opt/Postman/Postman /usr/bin/postman
    
  • Time doctor on linux

    • downlaod it from here website
    • make downloaded file excutable
  • Python

  • sudo apt-get install python3-distutils, sudo apt-get install python3-apt

libararies

Git

  • initial setup
    $ git config --global user.name "John Doe"
    $ git config --global user.email johndoe@example.com
    
  • un-commit last commit git reset --soft HEAD^
  • .gitignore will prevent untracked files from being added (without an add -f) to the set of files tracked by git, however git will continue to track any files that are already being tracked.
    
    To stop tracking a file you need to remove it from the index. This can be achieved with this command.
    
    git rm --cached <file>
    
    If you want to remove a whole folder, you need to remove all files in it recursively.
    
    git rm -r --cached <folder>
    
    
    • update
      sudo add-apt-repository ppa:git-core/ppa -y
      sudo apt-get update
      sudo apt-get install git -y
      git --version
      

Python

Resources

sudo xrandr --newmode "1680x1050_60.00"  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync
sudo xrandr --addmode VGA-1 "1680x1050_60.00"

tools

About

License:Apache License 2.0