Must have these following settings before using sublime text editor for better software development. Many developer use Sublime as text editor for software development. Sublime is easy to use and have lots of features that we need in day to day life of software development. Here are some of the hacks that we can try. Setting #1 Go to, Preferences -> Settings copy and paste the followings code, { "color_scheme": "Packages/Color Scheme - Default/Mariana.sublime-color-scheme", "font_size": 11, "ignored_packages": [ "Vintage" ], "save_on_focus_lost": true, "tab_size": 2, "theme": "Adaptive.sublime-theme", "translate_tabs_to_spaces": true } Setting #2 Go to Preferences -> Settings - Syntax Specific copy and paste the followings code, // These settings override both User and Default settings for the Ruby syntax { "detect_indentation": false, "defau...
Never keep any secret data in public folder. Always use environment variables to keep secret data. Suppose we want to set postgresql username and password as environment variables in Ubuntu then do as, # type the following in the terminal to write in the .bashrc file. echo 'export MY_POSTGRESQL_USERNAME="rajkumar"' >> ~/.bashrc echo 'export MY_POSTGRESQL_PASSWORD="HJH34df@dff#@"' >> ~/.bashrc reload .bashrc as, source ~/.bashrc In order to print environment variables prepend it with $ as, echo $MY_POSTGRESQL_USERNAME echo $MY_POSTGRESQL_PASSWORD test environment variables as, echo $MY_POSTGRESQL_USERNAME rajkumar echo $MY_POSTGRESQL_PASSWORD HJH34df@dff#@ Also use ubuntu command printenv to print all the environment variables. then in the database.yml use these environment variables as, development: adapter: postgresql encoding: unicode host: localhost username: <%= ENV["MY_POSTGRESQL_USERNAME"] %> password: ...
Before format take Backup of the following - Openvpn file - client.openvpn docker file - client certificate file .thunderbird - complete folder .ssh - complete folder .purple - complete folder for pidgin Other Important documents Fresh installation - Synaptic Package Manager - Install from software center sudo apt install vim 'pg' gem supporting libraries sudo apt install libpq-dev sudo apt install libpq-dev build-essential gparted - for memory management Install from software center openvpn - install from software center Pidgin - Install from software center Google chrome - download debian file(.deb) from chrome website git - sudo apt install git sudo apt install git-gui git alias - https://learnwithrkumar.blogspot.com/2021/12/create-git-alias.html git global settings - https://learnwithrkumar.blogspot.com/2021/12/git-setup-on-ubuntu-system.html Ssh key generate and add it to github. sudo apt install net-tools sudo apt install curl postgresql +...
Comments
Post a Comment
Let me know for any query..