Skip to content

Instantly share code, notes, and snippets.

@bilalqtech
bilalqtech / myscript.sh
Created May 18, 2018 11:47 — forked from bradtraversy/myscript.sh
Basic Shell Scripting
#! /bin/bash
# ECHO COMMAND
# echo Hello World!
# VARIABLES
# Uppercase by convention
# Letters, numbers, underscores
NAME="Bob"
# echo "My name is $NAME"
@bilalqtech
bilalqtech / npmcrashcourse.txt
Created September 19, 2017 04:19 — forked from bradtraversy/npmcrashcourse.txt
NPM Crash Course Commands
# GET VERSION
npm -v (or --version)
# GET HELP
npm help
npm
# CREATE PACKAGE.JSON
npm init
npm init -y (or --yes)

Sublime Text 3 Setup

Install Package Control

Install Package Control for easy package management.

  1. Open the console with Ctrl+`
  2. Paste in the following:

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after
{
"auto_complete": true,
"auto_complete_commit_on_tab": true,
"auto_complete_with_fields": true,
"bold_folder_labels": false,
"color_scheme": "Packages/Github Color Theme/GitHub.tmTheme",
"default_encoding": "UTF-8",
"detect_indentation": true,
"folder_exclude_patterns":
[
@bilalqtech
bilalqtech / gist:82f920e540aefb46ac83fd82fff47b75
Created December 15, 2016 10:39 — forked from xpertspk/gist:5a02b8630da6033cc762
Sublime Text must have packages
1. Emmet
2. Sass
3. Color Highlighter
4. HTML-CSS-JS Prettify
5. BracketHighlighter
6. SideBarEnhancements
7. SublimeLinter
7.1 SublimeLinter-html-tidy
7.2 SublimeLinter-csslint
7.3 SublimeLinter-jshint