Skip to content

Instantly share code, notes, and snippets.

View hardikdangar's full-sized avatar

hardik hardikdangar

View GitHub Profile
@hardikdangar
hardikdangar / fullscreen.css
Created October 8, 2020 11:41 — forked from yang-wei/fullscreen.css
Full size background image using CSS cover in mobile devices
html {
background: url(image url) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
height: 100%;
overflow: hidden;
}

Installing SSHPASS

SSHPass is a tiny utility, which allows you to provide the ssh password without using the prompt. This will very helpful for scripting. SSHPass is not good to use in multi-user environment. If you use SSHPass on your development machine, it don't do anything evil.

Installing on Ubuntu

apt-get install sshpass

Installing on OS X

#!/usr/bin/env bash
# Update Repositories
sudo apt-get -y update
sudo apt-get install -y python-software-properties python g++ make
sudo add-apt-repository -y ppa:chris-lea/node.js
sudo apt-get -y update
# NODE