Forked from Cole Townsend's Pen EadLYJ.
A Pen by Cole Townsend on CodePen.
| # Install native apps | |
| # Usage: `./cask-install.sh` | |
| brew install caskroom/cask/brew-cask | |
| brew tap caskroom/versions | |
| brew cask install github | |
| brew cask install dropbox | |
| brew cask install slack | |
| brew cask install google-chrome |
| @mixin bg-color($color, $darken) { | |
| // local variables | |
| $background-color: darken($color, $darken); | |
| $lightness: lightness($background-color); | |
| // calculate text color variable | |
| @if $lightness < 50 { | |
| $text-color: lighten($background-color, 15); | |
| $background-color: desaturate($background-color, 7); | |
| background: $background-color; |
Forked from Cole Townsend's Pen EadLYJ.
A Pen by Cole Townsend on CodePen.
| # be sure to include your extra aliases. cheers to thoughtbot/laptop for this line below | |
| # [[ -f ~/.aliases.local ]] && source ~/.aliases.local | |
| alias update='brew update && brew upgrade && gem update && npm update -g && rbenv rehash && brew cleanup' |
| this |
| var gulp = require('gulp'), | |
| sass = require('gulp-ruby-sass'), | |
| autoprefixer = require('gulp-autoprefixer'), | |
| minifycss = require('gulp-minify-css'), | |
| jshint = require('gulp-jshint'), | |
| uglify = require('gulp-uglify'), | |
| rename = require('gulp-rename'), | |
| clean = require('gulp-clean'), | |
| concat = require('gulp-concat'), | |
| notify = require('gulp-notify'), |
| [Error] Warning: Quiz(...): No `render` method found on the returned component instance: you may have forgotten to define `render`, returned null/false from a stateless component, or tried to render an element whose type is a function that isn't a React component. | |
| warning | |
| mountComponent | |
| ReactCompositeComponent_mountComponent | |
| mountComponent | |
| mountChildren | |
| _createContentMarkup | |
| mountComponent | |
| mountComponent | |
| mountComponent |
| import Foundation | |
| let newSnow = 15 | |
| let currentWeatherType = "snow" | |
| let temp = 32 | |
| enum NewSnowAmounts: Int { | |
| case None, Little, Alot | |
| } |
| var UserShot = React.createClass({ | |
| getInitialState: function() { | |
| return { | |
| username:'', | |
| shots_url: '' | |
| }; | |
| }, | |
| componentDidMount: function() { | |
| # Your init script | |
| # | |
| # Atom will evaluate this file each time a new window is opened. It is run | |
| # after packages are loaded/activated and after the previous editor state | |
| # has been restored. | |
| # | |
| # An example hack to log to the console when each text editor is saved. | |
| # | |
| # atom.workspace.observeTextEditors (editor) -> | |
| # editor.onDidSave -> |