Skip to content

Instantly share code, notes, and snippets.

@mnshcodie
mnshcodie / .gitignore
Created February 7, 2019 14:48 — forked from prof7bit/.gitignore
The portfolio rebalancing bot will buy and sell to maintain a constant asset allocation ratio of exactly 50/50 = fiat/BTC
/.project
@mnshcodie
mnshcodie / gist:e08058fdcadf322b7312
Last active August 26, 2015 12:28 — forked from sjockers/gist:4020821
HTML5 BUG#2 talk notes: So you want to get into web development?
@mnshcodie
mnshcodie / npm-cheat-sheet.md
Last active August 29, 2015 14:25 — forked from AvnerCohen/npm-cheat-sheet.md
Node.js - npm Cheat Sheet

Node.js - npm Cheat Sheet

(Full description and list of commands at - https://npmjs.org/doc/index.html)

##List of less common (however useful) NPM commands

######Prepand ./bin to your $PATH Make sure to export your local $PATH and prepand relative ./node_modules/.bin/:

@mnshcodie
mnshcodie / NGINX.md
Last active August 29, 2015 14:25 — forked from niederee/NGINX.md
NGINX

##ubuntu

Install NGINX
sudo apt-get update  
sudo apt-get install -y nginx
Basic Commands
sudo service nginx start  
sudo service nginx stop 
@mnshcodie
mnshcodie / gist:22314a07cf4ae9c78509
Created July 22, 2015 16:22
HTML: Bootstrap & angularJS
<!DOCTYPE html>
<html lang="en" ng-app="App">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Angular Bootstrap</title>
<!-- Bootstrap CSS -->
//
// Simple template system with plain JS objects, using CSS selectors
// Two versions :
// * JSON
// - based on JSON objects, each element is a property
// * JSON-ML :
// - inspired from the JSON-ML markup language (http://www.jsonml.org/)
// - each element is a list
// - element type can contains id and classes like the first version (so, not standard json-ml)
//
@mnshcodie
mnshcodie / gist:98f5a6067d28d3cbe075
Created July 22, 2015 16:12
HTML: basic bootstrap
<!DOCTYPE html>
<html lang="en">
<head>
<title>Title Page</title>
<meta charset="UTF-8">
<meta name=description content="">
<meta name=viewport content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap CSS -->
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" media="screen">
@mnshcodie
mnshcodie / gist:0f0ea277a9aa70dd4333
Created July 22, 2015 16:07
HTML: basic template
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Title Goes here</title>
<meta name="description" content="The HTML5 Herald">
<meta name="author" content="knacked">
<link rel="stylesheet" href="css/styles.css">
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
@mnshcodie
mnshcodie / The Technical Interview Cheat Sheet.md
Last active August 29, 2015 14:25 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.