Here's what I do after I do a fresh install of Lion. Things are sorta grouped by type.
- Run Software Update
- Start downloading Xcode
- Disable auto-bright and turn brightness all the way up
- Enable mouse right click
import React from 'react'; | |
import Radium from 'radium'; | |
import SecondaryButton from '../buttons/secondary-button'; | |
var RegisteredDevice = React.createClass({ | |
mixins: [ReactFireMixin], | |
componentWillMount: function() { | |
this.firebaseRef = new Firebase("https://omniwolfdsn.firebaseio.com/Devices"); |
$('#snippet-picker').change(function() | |
{ | |
var snippet_val = $(this).val(); | |
$('#prop_instruction').remove(); | |
$.getJSON('/documents/json/' + snippet_val, function(data) | |
{ | |
if($('#intro').val() == 1) |
Here's what I do after I do a fresh install of Lion. Things are sorta grouped by type.
// REQUIRED VARS. Defaults to a 950px wide, 24-column grid that has 30px wide units and 10px wide | |
// gutters. If you do the fluid grid, then this 950/24/30/10px size will become the maximum size. | |
$grid_type: fixed !default | |
$grid_columns: 24 !default | |
$grid_column_width: 30 !default | |
$grid_gutter_width: 10 !default | |
// GENERATED VARS. You can ignore these. | |
$grid_full_width: $grid_columns * $grid_column_width + $grid_columns * $grid_gutter_width - $grid_gutter_width | |
$grid_column_width_percent: ($grid_column_width / $grid_full_width * 100) * 1% |
(function($) { | |
// errors is an array of errors | |
// render :json => {:errors => @item.errors.full_messages} | |
function FormErrors(errors) { | |
var self = this, | |
error_count = errors.length; | |
this.html = function() { | |
var html = ''; | |
html += '<div class="errorExplanation" id="errorExplanation">'; |
// only outputs if console available and does each argument on its own line | |
function log() { | |
if (window && window.console && window.console.log) { | |
var i, len; | |
for (i=0, len=arguments.length; i<len; i++) { | |
console.log(arguments[i]); | |
} | |
} | |
} |
/** | |
IMPORTANT: Requires this version of jquery | |
until 1.3.3 comes out http://gist.github.com/186325 | |
ALSO: This is very dirty still and has not been | |
abstracted for use. It is just solving our immediate problems. | |
Use cases that must pass (and should be tested someday): | |
* Clicking on links updates layout | |
* Click around a bit and then use back/forward buttons |
/** | |
IMPORTANT: Requires this version of jquery | |
until 1.3.3 comes out http://gist.github.com/186325 | |
ALSO: This is very dirty still and has not been | |
abstracted for use. It is just solving our immediate problems. | |
Use cases that must pass (and should be tested someday): | |
* Clicking on links updates layout | |
* Click around a bit and then use back/forward buttons |