Deep Dive into Web Dev

Web Dev

Deep dive into relative units in CSS

When it comes to specifying values, CSS provides a wide array of options to choose from. One of the most familiar, and probably easiest to work with, is pixels. These are known as absolute units. Other units, such as em and rem, are not absolute, but relative. The value of relative units changes, based on external factors; for example, the meaning of 2 em changes depending on which element (and sometimes even which property) you’re using it on. Naturally, this makes relative units more difficult to work with. The way the value of an em can change makes it seem unpredictable and less clear-cut than the pixel.
7 min read
Deep dive into relative units in CSS
Web Dev

Installing ZSH and Oh-my-zsh on Linux

ZSH is one of the most powerful interactive UNIX shell Zsh was developed by ‘Paul Fastad’ since 1990, and the name ‘zsh’ comes from the Yale professor Zong Shao. Zsh is an extended Bourne shell with many improvements, including some features of Bash, ksh, and tcsh. Many of the useful features of Zsh were incorporated into Bash as well. Zsh is upward compatible with Bash scripts. Installing ZSH To install ZSH on Linux, you can use the following command:
2 min read
Installing ZSH and Oh-my-zsh on Linux
Web Dev

How to speed up your WP website

If you own a WordPress website, you’ll certainly want to have it running as efficiently as possible. Obviously, visitors have a strong dislike toward websites that take a long time to load. In fact, about half of all visitors will give up on your website if it takes more than just two seconds for the site to load. What’s more, Google’s search engine favors those websites with faster loading times, so if you decide to speed up your WP website, you’ll also be helping your SEO.
5 min read
How to speed up your WP website
Web Dev

How to customization ZSH theme and install helpful plugins.

Zsh Configurations For installing zsh download and configure visit here. Download iTerm Download the latest iTerm Install oh-my-zsh Open iTerm and run the command: sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh) Powerline fonts Clone, install and remove powerline fonts. # clone powerline font repo git clone https://github.com/powerline/fonts.git --depth=1 # install fonts cd fonts ./install.sh # cleanup cd .. rm -rf fonts Configure agnoster theme Source: Agnoster. Edit ~/.zshrc to add agnoster theme. # open zsh config file vim ~/.zshrc # update zsh theme section of code set ZSH_THEME="agnoster" Take backup of existing agnoster config file and replace it with agnoster.zsh-theme # backup cd .oh-my-zsh/themes mv agnoster.zsh-theme agnoster.zsh-theme_bkp # either create new or clone and move the above file mv ~/Downloads/agnoster.zsh-theme . Customise iTerm Different customisations for iterm Source: Jazz up zsh terminal
2 min read
How to customization ZSH theme and install helpful plugins.