Create a shallow clone with the last fifty commits.
git clone --depth 50 some-repository
Open the current diff in the editor.
git add -e
View ALL branches:
git branch -a master
Fetch changes from all remote repositories.
Create a shallow clone with the last fifty commits.
git clone --depth 50 some-repository
Open the current diff in the editor.
git add -e
View ALL branches:
git branch -a master
Fetch changes from all remote repositories.
| config.assets.precompile += [ | |
| # precompile any CSS or JS file that doesn't start with _ | |
| /(^inline[^_\/]|\/[^_])[^\/]*.(js|css)$/, | |
| ... |
| def view_css | |
| path = "views/#{params[:controller]}/#{params[:action]}" | |
| stylesheet_link_tag(path) unless Rails.application.assets.find_asset(path).nil? | |
| end |
| =distribute($property, $min, $max, $start, $end, $precision, $metric) | |
| #{$property}: $min | |
| // get the range we're operating on | |
| $range: $end - $start | |
| // get the number of iterations we need to run by seeing how precise we should be | |
| $loops: strip-units(ceil($range / $precision)) - 1 |
| // strip-units required by spread mixin | |
| // http://stackoverflow.com/questions/12328259/how-do-you-strip-the-unit-from-any-number-in-sass | |
| @function strip-units($number) | |
| @return $number / ($number * 0 + 1) | |
| // pow and sqrt required by ease function | |
| // adapted from https://github.com/at-import/Sassy-math/blob/master/sass/math.scss | |
| @function pow($base, $exponent) | |
| $value: $base |
| ▓█████▄ ▒█████ █ ██ ▄████ ▄▄▄ ██▒ █▓▓█████ ██▀███ ▓██ ██▓ | |
| ▒██▀ ██▌▒██▒ ██▒ ██ ▓██▒ ██▒ ▀█▒ ▒████▄ ▓██░ █▒▓█ ▀ ▓██ ▒ ██▒▒██ ██▒ | |
| ░██ █▌▒██░ ██▒▓██ ▒██░▒██░▄▄▄░ ▒██ ▀█▄▓██ █▒░▒███ ▓██ ░▄█ ▒ ▒██ ██░ | |
| ░▓█▄ ▌▒██ ██░▓▓█ ░██░░▓█ ██▓ ░██▄▄▄▄██▒██ █░░▒▓█ ▄ ▒██▀▀█▄ ░ ▐██▓░ | |
| ░▒████▓ ░ ████▓▒░▒▒█████▓ ░▒▓███▀▒ ▓█ ▓██▒▒▀█░ ░▒████▒░██▓ ▒██▒ ░ ██▒▓░ | |
| ▒▒▓ ▒ ░ ▒░▒░▒░ ░▒▓▒ ▒ ▒ ░▒ ▒ ▒▒ ▓▒█░░ ▐░ ░░ ▒░ ░░ ▒▓ ░▒▓░ ██▒▒▒ | |
| ░ ▒ ▒ ░ ▒ ▒░ ░░▒░ ░ ░ ░ ░ ▒ ▒▒ ░░ ░░ ░ ░ ░ ░▒ ░ ▒░▓██ ░▒░ | |
| ░ ░ ░ ░ ░ ░ ▒ ░░░ ░ ░ ░ ░ ░ ░ ▒ ░░ ░ ░░ ░ ▒ ▒ ░░ | |
| ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | |
| ░ ░ ░ ░ |
| module.exports = React.createClass({ | |
| getInitialState() { | |
| return { | |
| usingMouse : false, | |
| focusedOnElement : false | |
| } | |
| }, | |
| _setUsingMouse(usingMouse) { | |
| this.setState({usingMouse: usingMouse}) |
| // option for inlining (for index) | |
| // option for caching (for SVGs used more than once) | |
| export default React.createClass({ | |
| getInitialState() { | |
| return { | |
| svg: '' | |
| } | |
| }, |
| import store from 'data/store' | |
| import browser from 'browser' | |
| import Intro from './Intro' | |
| import LevelEnd from './LevelEnd' | |
| import Questions from './Questions' | |
| import TimeoutTransitionGroup from 'vendor/timeout-transition-group' | |
| export default React.createClass({ | |
| _getScreen() { | |
| const level = store.getLevel(this.props.level) |
| #!/usr/bin/env ruby | |
| # coding: utf-8 | |
| require 'pbcopy' | |
| project_data = File.read('projects.csv') | |
| hours_data = File.read('hours.csv') | |
| projects = project_data.split(/\n/) | |
| projects.shift |