Skip to content

Instantly share code, notes, and snippets.

View juanmaguitar's full-sized avatar

JuanMa juanmaguitar

View GitHub Profile
@juanmaguitar
juanmaguitar / gist:3656577
Last active September 15, 2016 14:56 — forked from lucasfais/gist:1207002
SUBLIME: Sublime Text 3 - Useful Shortcuts
  1. Sublime Text 3 – Useful Shortcuts (Mac OS X)
  1. General

Shortcut | Description
-——- | -————
⌘⌃P | go to project
⌘R | go to methods
⌃G | go to line
⌘KB | toggle side bar

@juanmaguitar
juanmaguitar / index.html
Created September 24, 2012 11:36
Simple arrow with symbol and text-shadow
<p><span>&#8592;</span></p>
data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/javascript");</script>
@juanmaguitar
juanmaguitar / TinyCore_QuickStartGuide.md
Last active December 15, 2015 08:39
TinyCore - Quick Start Guide

TinyCore.js

Version 0.4.1

Overview

A tiny modular architecture framework in JavaScript.

Inspiration : "Scalable JavaScript Application Architecture", by Nicholas C. Zakas.

@juanmaguitar
juanmaguitar / SassMeister-input-HTML.html
Last active August 29, 2015 14:15
Generated by SassMeister.com.
<button class="in_progress">get videos</button >
@juanmaguitar
juanmaguitar / NotesCodeInstituteDemo.md
Last active January 8, 2016 06:45
Notes CodeInstitute Demo

Introduction to angular.js

Clear ideas about ANGULAR

  • structural framework (made by Google)
  • extend HTML syntax (template language)
  • implementation of MVC design pattern (MVVM)
  • allow us to separate out components (pieces) of an app -> controllers, services, directives, constants, filters, templates
  • framework (angular) handles the initialization and interaction of these pieces
  • Modules
@juanmaguitar
juanmaguitar / 0_reuse_code.js
Last active September 12, 2016 11:04
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
# @gf3’s Sexy Bash Prompt, inspired by “Extravagant Zsh Prompt”
# Shamelessly copied from https://github.com/gf3/dotfiles
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then
export TERM=gnome-256color
elif infocmp xterm-256color >/dev/null 2>&1; then
export TERM=xterm-256color
fi
if tput setaf 1 &> /dev/null; then
@juanmaguitar
juanmaguitar / inheritance.js
Created February 10, 2016 20:11
javascript-examples
var Person = function(x){
if(x){this.fullName = x};
};
Person.prototype.whatIsMyFullName = function() {
return this.fullName;
}
var cody = new Person('cody lindley');
var lisa = new Person('lisa lindley');
console.log(cody.whatIsMyFullName(), lisa.whatIsMyFullName());
@juanmaguitar
juanmaguitar / frontend-bookmarks.md
Created March 7, 2016 09:01
frontend bookmarks