masterbranch is always production-ready, deployable, 100% green test suite- New development is done on feature branches, with frequent rebasing onto master
- Clean commit history by preferring to rebase instead of merge (
git pullis configured to automatically rebase)
This file contains hidden or 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.3.5) | |
| // Compass (v1.0.0.alpha.18) | |
| // ---- | |
| // Inputs | |
| %reset-input { | |
| background-color: transparent; | |
| border: none; | |
| margin: 0; |
This file contains hidden or 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
| <script type="text/javascript"> | |
| (function () { | |
| "use strict"; | |
| // once cached, the css file is stored on the client forever unless | |
| // the URL below is changed. Any change will invalidate the cache | |
| var css_href = './index_files/web-fonts.css'; | |
| // a simple event handler wrapper | |
| function on(el, ev, callback) { | |
| if (el.addEventListener) { | |
| el.addEventListener(ev, callback, false); |
This file contains hidden or 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
| <script type="text/javascript"> | |
| (function (css_href) { | |
| "use strict"; | |
| // a simple event handler wrapper | |
| function on(el, ev, callback) { | |
| if (el.addEventListener) { | |
| el.addEventListener(ev, callback, false); | |
| } else if (el.attachEvent) { | |
| el.attachEvent("on" + ev, callback); |
This file contains hidden or 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
| /* | |
| * This Script adds every song in the playlist you're currently | |
| * viewing at https://play.spotify.com to "Your Music". | |
| * | |
| * Open your browser console and paste this script to run it. | |
| */ | |
| (function() { | |
| // Check this web browser has all the functionality we need to do this task. | |
| var hasQuerySelector = typeof document.querySelector === 'function'; |
This file contains hidden or 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
| <html> | |
| <body> | |
| <!-- load combined svg file (with symbols) into body--> | |
| <script> | |
| (function (doc) { | |
| var scripts = doc.getElementsByTagName('script') | |
| var script = scripts[scripts.length - 1] | |
| var xhr = new XMLHttpRequest() | |
| xhr.onload = function () { |
This file contains hidden or 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
| I was looking how to pin Git Shell to the taskbar, | |
| I got this answer from Github support (hope it can help other people) : | |
| Hi Fabien, | |
| Windows is annoying in that it doesn't let you pin certain items to the taskbar. | |
| However, there is a clever way to trick it into allowing you to do this. | |
| 1) Right-click on the 'Git Shell' shortcut and go to the 'Target' text box | |
| 2) Add the word 'explorer' in front of the line |
A lot of times I need to distribute nav-items or something in CSS, but the left and right items need to be flushed left and right and the space between all items needs to be evenly distributed.
Here are a few solutions I've come up with.
// JUSTIFIED LIST
.justified-list {
margin:0;
This file contains hidden or 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
| node_modules/ | |
| build.js |
##Usage
First, require the component.
var Media = require('pivotal-ui-react.media').Media;Next, in your jsx, use the component. The default media displays a media object (images, video, audio) to the left or right of a content block.
