Skip to content

Instantly share code, notes, and snippets.

## in .bash-profile or .zshrc
source ~/.nvm/nvm.sh # first option
. ~/.nvm/nvm.sh # second option
nvm use # use this if you have a .nvmrc in your root
nvm use 0.12 # use this if you don't have a .nvmrc
## create .nvmrc in User root
0.12.5 # or whatever version of node you want
iojs-v2.3.3 # if you want to use hipster shit
"bold_folder_labels": true,
"color_scheme": "Packages/Monokai Extended/Monokai Extended.tmTheme",
"ensure_newline_at_eof_on_save": true,
"font_face": "Consolas",
"font_size": 14,
"ignored_packages":
[
"Vintage"
],
"index_files": true,
@dtothefp
dtothefp / challenge.js
Last active July 7, 2016 21:29
Code Challenge Questions
//# Questions:
//SCOPE
//1:
var a;
function changeA(arg) {
a = arg;
}
@dtothefp
dtothefp / SassMeister-input.scss
Created May 1, 2015 21:09
Generated by SassMeister.com.
// ----
// libsass (v3.1.0)
// ----
@function image-url($filename) {
@return url('/img/#{$filename}');
}
.bg {
background: image-url('kittens.png') no-repeat center center;
@dtothefp
dtothefp / SassMeister-input.scss
Created April 22, 2015 17:22
Generated by SassMeister.com.
// ----
// libsass (v3.1.0)
// ----
// 20px at 960px wide container, accounting for a 1/2 gutter width padding on the left and right of the container
$gutter: percentage(20px/940px);
// 60px at 960px wide container
$one-column: 6.3829787%;
---
layout: partners
title: "AT Internet"
integrations: true
TR_summary: "Gain deeper insights from your experiment results directly within the AT Internet interface."
logo: "//d1qmdf3vop2l07.cloudfront.net/optimizely-marketer-assets.cloudvent.net/raw/partner-logos/technology/atinternet.jpg"
website_link: "http://www.atinternet.com/"
website_display: "www.atinternet.com"
kb_article: "https://help.optimizely.com/hc/en-us/articles/200131549-Integrating-Optimizely-with-AT-Internet-Analytics"
stars: 0
---
layout: partners
title: "AGConsult"
solutions: true
TR_summary:
logo: "//optimizely-marketer-assets.s3.amazonaws.com/partners/logos/agconsult.png"
website_link: "http://www.agconsult.com/en/usability-conversion-optimization/ab-testing-more-conversion"
website_display: "www.agconsult.com"
kb_article:
stars: 1
"<section id="cta"> <div class="container"> <div class="cta-wrap fade-in"> <h1>M~áké é~vérý ~éxpé~ríéñ~cé có~úñt</h1> <p>Ó~ñé ó~ptím~ízát~íóñ p~látf~órm f~ór wé~bsít~és áñ~d mób~ílé á~pps</p> <form id="get-started" novalidate="" autocomplete="off"> <input type="email" name="email" placeholder="W~órk É~máíl" id="email-input"> <button type="submit">T~ést ~ít Ó~út »</button> </form> </div><!--/.cta-wrap--> </div><!--/.container--> </section><!--/#cta--> <section class="reasons"> <div class="container"> <div class="reasons-header"> <p>D~élív~ér ýó~úr bé~st cú~stóm~ér éx~pérí~éñcé~s át é~vérý ~tóúc~hpóí~ñt óñ ~thé w~éb áñ~d mób~ílé á~pps.</p> </div> <div class="flex-cont"> <div class="reason-item" id="first-reason"> <div class="list-title"><p>G~ét s~tárt~éd áñ~d ták~é ác~tíóñ ~qúíc~klý</p></div> <ul> <li>É~ásý ~ímpl~éméñ~tátí~óñ—g~ét s~tárt~éd íñ ~míñú~tés</li> <li>C~ódé-~fréé ~vísú~ál éd~ítór</li> <li>B~ést-~íñ-c~láss ~íñté~grát~íóñs</li> </ul> </div> <div class="reason-item" id="second-reason"> <div class="list-
# Custom status bar
# Powerline symbols: ⮂ ⮃ ⮀ ⮁ ⭤
set -g status-left-length 32
set -g status-right-length 150
set -g status-interval 5
# set -g status-left '#[fg=colour16,bg=colour254,bold] #S #[fg=colour254,bg=colour238,nobold]⮀#[fg=colour15,bg=colour238,bold] #(ls ~/.mail/steve-stevelosh.com/INBOX/cur ~/.mail/steve-stevelosh.com/INBOX/new | wc -l | tr -d " ") #[fg=colour238,bg=colour234,nobold]⮀'
# set -g status-left '#[fg=colour16,bg=colour254,bold] #S #[fg=colour254,colour=238,nobold]⮀ #[fg=colour15,bg=colour238,bold] stuff #[fg=colour238,bg=colour234,nobold]⮀'
set -g status-left '#[fg=colour16,bg=colour254,bold] #S #[fg=colour254,colour=238,nobold]'
/* global Mustache:false, $:false */
"use strict";
function layOutDay(events) {
var slot = new Slot();
// function Slot() {
// this.end = [];
// this.member = [];
// this.latest = -1;
// }