Learning to code can easily be overwhelming, as there seems to be an insurmountable ocean of things you don’t know. It’s very easy to get lost in tutorial hell, the best place to start from is ‘the why’.
Start with the Why (Decide your end goal, if possible)
It’s okay if you don’t have the answer to this at first. In that case, I challenge you to do some research and find out which application of coding most appeals to you. Answering this question could help determine the path you take in learning. …
Technology has always been instrumental in solving problems and ensuring the well-being in the society. In the first half of the 20th century a massive amount of new technologies that improved the quality of life emerged. E.g. Assembly Line (1901), Airplane(1903), Medication and Vaccines like Penicillin(1928 ), Polio vaccine (1921), Small Pox elimination 1986–1979. All of these technological advancements positively influenced the quality of life in terms of life expectancy.
This graph shows an increase in life expectancy measured by region from 1770 to 2018 with a visible spike in the 1900s when there was a noticeable rise in technological…
-standard sh syntax
- command substitution
- conditional tests
* — mail to superuser
- manage location, permission, ownership, and suid rights
- read input from the command line
#!/bin/bash — run with the bin/bash interpreter
# — for comments
Ownership, permissions, suid
- chown, chmod
- like functions
- command results are used as arguments
var = $(ls –l) or var = `ls –l`
Test –options expression
- -x is the file executable?
- -e does the file exist?
- -eq are the values equal
- -ne are the values not equal?
- -z is there a value…
- Profiles, rc files
- /etc/profile, ~/profile
- Maintain skeleton directories
- Write BASH functions
- Set environment variables
- Set command search path
/etc/profile (globally loads all the files in /etc/profile.d then looks in the /home/user for one of the files listed below)
- /etc/profile.d/ (loaded by default in the /etc/profile)
- /home/user/.bash-profile ( files starting with ‘.’ are hidden by default)
/.profile (ubuntu) (when one of these files have been loaded it calls and loads /home/user/.bashrc to load user functions, settings and aliases)
/etc/bashrc (when on of these is found it loads the global settings, functions and aliases)
Git is a free and open-source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. (source: https://git-scm.com/doc)
git commit -m ‘insert comment here’
git rm — cache
git — version
git config — global user.name ‘john doe’
git config — global user.email ‘email@example.com’
git clone: Clone a repository into a new directory
init Create an empty Git repository or reinitialize an existing one
work on the current change
git add: Add file contents to the index
mv Move or rename a file, a…
Yeoman is a generic scaffolding system that allows you to create any kind of application. It allows for rapidly getting started on new projects and streamlines the maintenance of existing projects. Yeoman is a language-agnostic tool. It can generate projects in any language (Web, Java, Python, C#, etc.). A generator is basically a part of the building block of yeoman that plugs into the yeoman environment, as yeoman does not make any decisions by itself. A generator is, at its core, a Node.js module. …
Tailwind is a CSS framework that makes use of responsive, single-use utility classes. According to the official documentation, Tailwind CSS is a utility-first CSS framework for rapidly building custom user interfaces. This article aims to give a brief introduction/crash-course to this productivity tool.
If you are front end web developer, you probably already familiar with Bootstrap or some other CSS Framework( there’s a ton of them out there).
Although bootstrap is great and the most popular CSS framework, it is not necessarily the best for everyone/every project. If you are a fan of Bootstrap’s utility classes you will love tailwind…
You can think of virtual environment as an isolated container or sandbox where everything installed exists only in that container. In other words whatever packages or libraries you install in one virtual environment will not be available outside that virtual environment (you can liken it to variables and variable scopes). More on virtual environments here
pip install virtualenvwrapper-win
You are now setup to utilize virtual environments