- In a new directory, create a Devbot-Django Project
- In a new directory, create a Devbot-HTML Project
- Devbot-Django: Delete all things in /static
- Devbot-HTML > Devbot-Django: Copy all things in /src to /static
- Devbot-HTML > Devbot-Django: Copy /config.rb into the Devbot-Django project root
- Devbot-Django: Update new /config.rb, replace
src/
withstatic/
- Devbot-Django: Update vagrant, fab css_watch task: see: https://gist.github.com/aubricus/72edfdba60c0a4b89d0c
- Devbot-Django: Index.html remove require include
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
# paths | |
base_path = "./" | |
config_path = "./config.rb" |
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
gem install bourbon -v 3.2.3 | |
gem install neat -v 1.5.1 |
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
<div class="page"> | |
<header> | |
<h1>Hello I'm The Header</h1> | |
</header> | |
<div class="hero"> | |
<div class="one"> | |
<h2>I'm by myself</h2> | |
</div> | |
<div class="two"> | |
<div><h3>I'm 1</h3></div> |
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 get($dict, $key, $default: false) { | |
/* a python-style "get" function to emulate dictionary access in scss | |
param: $dict the dict you'd like to 'get' from | |
param: $key the 'key' to access | |
param: $default a default value to return should the 'get' fail | |
see: | |
- http://bit.ly/1cPvYXx | |
- http://stackoverflow.com/a/11041421 |
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
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
@mixin foo($section){ | |
.foo.#{$section} & { | |
@content; | |
} | |
} |
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
# Thanks to: | |
# http://stackoverflow.com/a/20423029 (recover rebased upstream) | |
# http://stackoverflow.com/a/11868440 (get current branch name) | |
# Note: | |
# Be sure to checkout the branch you wish to re-sync / recover | |
# change this to desired upstream | |
upstream_branch=upstream/environment-detail |
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
#chromeperfectpixel-panel button { | |
padding: 0.7em; | |
border-radius: 0 !important; | |
background: #dedede !important; | |
} | |
#chromeperfectpixel-panel #chromeperfectpixel-panel-header { | |
height: 33px !important; | |
background: #dedede !important; | |
} |
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
define(function (require, exports, module) { | |
var _ = require("underscore"); | |
var $ = require("jquery"); | |
var backbone = require("backbone"); | |
var marionette = require("marionette"); | |
var UploadImagesModalView = marionette.LayoutView.extend({ | |
validTansitionStates: ["initial", "activity", "valid", "invalid"], | |
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
brew upgrade $(brew outdated | grep '^[a-zA-Z]') |