Sublime Text is a fast, reliable, and versatile shareware source code editor that is used by many front and back end web developers around the world. The vanilla editor can be personalized and customized with hundreds of plugins available on the web. It supports well over 20 programming languages, including C ++, Ruby, Python and Java
Getting Started with Sublime
Download Sublime deb.
After that extract it.
copy sublime_text-desktop file to ~/.local/share/applications
Now move extarct sublime text folder to /opt/
sudo mv sublime_text /opt/
In the next step, add permission to sublime_text folder we just moved in:
sudo chown -R $USER:$USER /opt/sublime_text/
Lastly, customize logo:
GitHub is a repository for some of the world’s leading projects, built with developer contributions from around the world. This simple, yet powerful platform helps anyone interested in building or developing something great to contribute and to be seen in the open source community.
Getting Started with Github
Download and install github for linux:
The below command is for Ubuntu and works on all Recent Ubuntu versions, and it’s likely to work the same way on future versions.
sudo apt-get install git
Verify the installation by typing the following command which will print the Git version.
Run the following commands:
Go to github, navigate to settings and click ssh and gpg keys from sidebar:
filename_rsa.pub and add an ssh key:
Lastly, the inactive field is hidden on the employee form.
Postgres, is a relational database management system that provides an implementation of the SQL querying language. It’s standards-compliant and has many advanced features like reliable transactions and concurrency without read locks.
PostgreSQL is used as the primary data store or data warehouse for many web, mobile, geospatial, and analytics applications.
Getting Started with Postgres
The quickest way of installing Postgres is to run the following commands.
install the Postgres package along with a
-contrib package that adds some additional utilities and functionality:
sudo apt install postgresql postgresql-contrib
By default, Postgres uses a concept called “roles” to handle authentication and authorization. These are, in some ways, similar to regular Unix-style users and groups.
When installed, Postgres is set to use authentication, which means it associates Postgres roles with the same Unix / Linux system account. If a role exists within Postgres, a Unix / Linux username with the same name can login as such.
The installation procedure created a user account called postgres that is associated with the default Postgres role. There are a few ways to utilize this account to access Postgres. One way is to switch over to the postgres account on your server by running the following command:
sudo -i -u postgres
Then you can access the Postgres prompt by running:
This will log you to PostgreSQL prompt, and from here you are free to interact with the database management system immediately.
To exit out of the PostgreSQL prompt, enter the following command:
This will bring you back to the postgres Linux command prompt. To return to your regular system user, run the
If, instead, you prefer to use
sudo for each command without switching from your normal account, run the following command:
sudo -u postgres createuser --interactive
Either way, the script will notify you of certain resolutions and, depending on your responses, issue specific Postgres commands to create a user to your specification.
super user access y/n
If issue occurs
When bundle on rails an error occurred while installing pg (1.2.3), and Bundler cannot continue.
Make sure that `gem install pg -v ‘1.2.3’ –source ‘ https://rubygems.org/SQL‘` succeeds before bundling.
Select only the generic stable version of PostgreSQL and install it. Be sure to choose the latest
sudo apt install postgresql-contrib libpq-dev
sudo apt install mlocate
sudo cp pg_hba.conf.sample pg_hba.conf
psql -U default_username (postgres in my case)
After that Restart Postgress Service.
sudo service postgresql restart
sudo service postgresql stop; sudo service postgresql start