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
import ReactDOM from 'react-dom/server' | |
import React from 'react' | |
import Typography from '../../src/' | |
import GoogleFont from '../../src/components/GoogleFont' | |
import theme from '../../src/themes/us-web-design-standard' | |
const typography = new Typography(theme) | |
// Hot reload typography in development. |
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
########## | |
# Win10 Initial Setup Script | |
# Author: Disassembler <[email protected]> | |
# Version: 1.7, 2016-08-15 | |
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ | |
# THIS IS A PERSONALIZED VERSION | |
# This script leaves more MS defaults on, including MS security features. | |
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.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
#!/bin/bash | |
# enable writing to NTFS drives | |
function mount { | |
diskutil list | |
echo “please enter the ntfs disk to be mounted:” | |
read inp | |
#### http://mywiki.wooledge.org/BashFAQ/031#np2 | |
if [[ $inp =~ ^.*(disk0).*$ || $inp =~ ^.*(disk1).*$ ]]; then | |
echo dangerous input! |
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
_ = require "underscore" | |
### | |
Drop this mixin into a component that wastes time according to Perf.getWastedTime() to find | |
out what state/props should be preserved. Once it says "Update avoidable!" for {state, props}, | |
you should be able to drop in React.addons.PureRenderMixin | |
React.createClass | |
mixins: [WhyDidYouUpdateMixin] | |
### |