Skip to content

Instantly share code, notes, and snippets.

@abhi9bakshi
abhi9bakshi / laravel_setup_ubuntu_1610.md
Last active October 7, 2018 12:06
How to install Laravel in Ubuntu 16.10

How to install Laravel in Ubuntu 16.10

===================================

Open your terminal using Ctrl+Alt+T and type the following commands

##Step 1: Update & Upgrade

sudo apt-get update
sudo apt-get upgrade
@abhi9bakshi
abhi9bakshi / laravel_5_cheatsheet.md
Last active April 10, 2019 07:33
Laravel 5 cheatsheet - Laracasts: Laravel 5 fundamentals

#Laravel 5 fundamentals

##Chapter 1: Meet Composer

Install composer

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
@abhi9bakshi
abhi9bakshi / tincan_moodle_learninglocker_setup.md
Last active June 1, 2022 08:15
Setting Up TinCan API with Moodle LMS and Learning Locker LRS in Ubuntu 16.04

#Setting Up TinCan API with Moodle LMS and Learning Locker LRS

#Part 1: Virtual Container

Before we get our hands dirty with the entire setup, it is necessary to ensure we do not mess with the existing installation. Setting up and configuring a local server is tricky and may sometimes break your existing configuration rendering other programs which rely on it useless. So we will use LXC to create a virtual container, where we will do all good stuff. You can read the official LXC documentation here or a brief introduction about LXC here or get started right away with the commands below.

sudo apt-get install lxc lxd-client
sudo lxc-create -t download -n LMSprototype
@abhi9bakshi
abhi9bakshi / js_obj_proto.md
Last active September 18, 2020 23:09
Pluralsight: JavaScript Objects and Prototypes

#Javascript Objects and Prototypes

##Chapter 1: Creating Javascript Objects

There are 4 ways of creating Javascript objects:

  1. Using Object Literals
var cat = {
@abhi9bakshi
abhi9bakshi / responsive_web_design.md
Last active January 10, 2017 08:21
Pluralsight - Responsive Web Design (Ben Callahan)

#Module 1: Introduction

##Lesson 1: Introduction

  1. RWD 101
  2. RWD Process
  3. Applying RWD Styles
  4. RWD Retrofitting
  5. JS to the rescue
  6. Lessons learned
@abhi9bakshi
abhi9bakshi / multi_level_xml_json.md
Last active January 17, 2017 11:28
Multi Level XML & JSON parsing using Javascript

#Chapter 1

#Chapter 2

##Lesson 1

##Lesson 2

##Lesson 3

Introduction

========================

@abhi9bakshi
abhi9bakshi / javascript_timer.js
Last active July 20, 2018 05:30
Simple Javascript countdown timer
// index.html
<p id="timer">
00:00:00
</p>
// script.js
let count = 0;
let intervalRef = null;
intervalRef = setInterval(_ => {
@abhi9bakshi
abhi9bakshi / javascript_timer_hang.js
Last active July 20, 2018 05:29
Simple Javascript Timer with Browser Hang Feature
// index.html
<p id="timer">
00:00:00
</p>
<button onClick="hangTheBrowser()">
Hang the browser
</button>
// script.js