Skip to content

Instantly share code, notes, and snippets.

Avatar

Harmandeep Singh harmandeep-singh

View GitHub Profile
View jQuery.FlexSlider.autoVideoPlayback.js
$(function() {
$('.flexslider').flexslider({
animation: "slide",
slideshow: false, // Stop Auto Slide Changes
directionNav: false,
start: function() {
updateTimeVideoTimeAction();
}, // Fires when the slider loads the first slide
before: function() {
// Stop all Video if any Playback left
@harmandeep-singh
harmandeep-singh / vbox-guest-ubuntu-server.txt
Last active Jul 9, 2019
Install VirtualBox Guest Additions for Ubuntu Server
View vbox-guest-ubuntu-server.txt
//1. Create a Dirctory in /media/cdrom
sudo mkdir /media/cdrom
//2. Mount the CD-ROM
sudo mount /dev/cdrom /media/cdrom
//3. Change into the mounted directory
cd /media/cdrom
//4. Install the necessary dependencies
@harmandeep-singh
harmandeep-singh / GistFile Digital Ocean
Last active Jul 8, 2019
Setup php mail Ubuntu digital ocean
View GistFile Digital Ocean
//login to your droplet.
//1. output the hostname
hostname
//2. modify the hosts
nano /etc/host
//3. the first line in this file, should use the hostname on the end. For example: "Harman"
127.0.0.1 localhost localhost.domainname Lee