Skip to content

Instantly share code, notes, and snippets.

@nonlogos
nonlogos / gist:7040a404ce1a96619adb
Created March 9, 2016 03:45 — forked from lucasfais/gist:1207002
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@nonlogos
nonlogos / 0_reuse_code.js
Created July 6, 2016 19:11
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@nonlogos
nonlogos / terminal_commands.md
Last active August 26, 2016 18:47
Common Terminal Commands

Check which version is globally installed

npm list -g | grep {module name}

Create new directory

mkdir {folder name}

Create new file

@nonlogos
nonlogos / gistHubNotes.md
Last active September 22, 2016 16:03
Project Notes - Gist Hub Project
@nonlogos
nonlogos / siteDesignList.md
Last active September 22, 2016 16:14
Interesting site design list
@nonlogos
nonlogos / Component_Interaction.js
Last active September 23, 2016 21:08
Angular 2 Beginner Notes
// custom component event
// constants.ts
export const BLUE = '#b13138';
export const RED = '#1976d2'
//color_picker_component.ts
import {Input, Output, EventEmitter} from "@angular/core";
@Component({
@nonlogos
nonlogos / spec.md
Last active September 23, 2016 21:46
Reactive Form Project - Angular 2
@nonlogos
nonlogos / email_validation.js
Created October 7, 2016 15:53
Email Validation Regex
/^(([^<>()\[\]\.,;:\s@\'']+(\.[^<>()\[\]\.,;:\s@\']+)*)|(\'.+\''))@(([^<>()[\]\.,;:\s@\'']+\.)+[^<>()[\]\.,;:\s@\'']{2,})$/i
@nonlogos
nonlogos / Angula2_Project_Start-finish.md
Last active October 19, 2016 19:43
Start to finish guide to Angular 2 based on Udemy course

1. Set up a new project with command line tool

Command line tool stuff

install angular cli tool

npm install -g angular-cli

Create a new angular project

ng new first-app //ng new name of the project

Starts angular development server locally and builds the app

`ng serve

@nonlogos
nonlogos / product_vision_template.md
Created October 18, 2016 18:38
Product Vision Template

Statement

Facebook doesn't allow users to purchase "likes", our social network will have this.

Stakeholders and Needs

Sponsor: to raise investments. Developer: to earn money by programming. Users: to share photos and purchase popularity. Bank: to make commission on every purchase. Government: to protect society against abusive content.