.class-a.class-b
.class-c .class-d
.class-e > .class-f
.class-g + .class-h
.class-i - .class-j
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*============================================================================ | |
Dependency-free breakpoint mixin | |
- http://blog.grayghostvisuals.com/sass/sass-media-query-mixin/ | |
==============================================================================*/ | |
$min: min-width; | |
$max: max-width; | |
@mixin at-query ($constraint, $viewport1, $viewport2:null) { | |
@if $constraint == $min { | |
@media screen and ($min: $viewport1) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ########## ES6 Arrow Functions ################ | |
// ########## this no longer bound ################ | |
// Note: when running the code on an fat-arrow-enabled runtime | |
// 1. | |
let aFunc = ()=>{ | |
return this | |
} | |
// 2. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ########## Tradictional Functions ########## | |
// ########## this bound ########## | |
// 1. | |
let bFunc = function() { | |
return this | |
} | |
// 2. | |
let obj = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generic script: | |
for i in `curl -u [GH_USERNAME:GH_TOKEN] -s "https://api.github.com/orgs/[COHORT_NAME]/repos…[page number start with 1]" |grep ssh_url | cut -d ':' -f 2-3|tr -d '",'`; do git clone $i; done | |
Example for 2 pages: | |
for i in `curl -u sebabelmar:456banana7845678 -s "https://api.github.com/orgs/fence-lizards-2014/repos…" |grep ssh_url | cut -d ':' -f 2-3|tr -d '",'`; do git clone $i; done | |
for i in `curl -u sebabelmar:456banana7845678 -s "https://api.github.com/orgs/fence-lizard-2014/repos…" |grep ssh_url | cut -d ':' -f 2-3|tr -d '",'`; do git clone $i; done |
- Stop your existing postgres, redis and elasticsearch services and make sure they dont start on start-up .
1.a. List of services:
brew services list
. 1.b. Stop services:brew services stop <name>
. 1.c. Remove from load:launchctl remove <name>
. - Download Docker for Mac
- Create a Docker Hub account if you don’t already have one. After logging in, remember your user-id which will be displayed in the top right corner. Mine is jeckstein
- Login to docker via the cli:
docker login
from the project root. - Then
docker-compose up
from the project root. This will initialize all environments which should result in an empty postgres db, es index and redis cache. - Run the rake tasks to re-constitute your data:
As the result of exploring Heroku review apps we came up with an experiment to run this sprint:
- We'll spin up review apps manually from PR's that you can find on sapling's deploy dashboard on Heroku
- Heroku has this name convention for the apps
https://hipcamp-sapling-pr-1920.herokuapp.com
- Review apps will be destroy automatically once the PR has been merged
- Please don't leave review apps alive if not necessary, will pay for them by the second
- We should stop using slack bot to deploy to sapling or sapling and run this experiment
- We should share the URL on Trello cards. I'm going to look into the bot and see if I can add them automatically
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!function () { | |
var analytics = window.analytics = window.analytics || []; | |
if (!analytics.initialize) if (analytics.invoked) window.console && console.error && console.error("Segment snippet included twice."); | |
else { | |
analytics.invoked = !0; | |
analytics.methods = ["trackSubmit", "trackClick", "trackLink", "trackForm", "pageview", "identify", "reset", "group", "track", "ready", "alias", "debug", "page", "once", "off", "on"]; | |
analytics.factory = function (t) { | |
return function () { | |
var e = Array.prototype.slice.call(arguments); |
OlderNewer