Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View vinnymac's full-sized avatar
🤓

Vincent Taverna vinnymac

🤓
View GitHub Profile
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.
@vinnymac
vinnymac / reclaimWindows10.ps1
Created January 8, 2017 04:39 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Fork via https://github.com/Disassembler0 (different defaults)
##########
# Win10 Initial Setup Script
# Author: Disassembler <disassembler@dasm.cz>
# 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
@vinnymac
vinnymac / mount_ntfs.sh
Created January 3, 2017 19:17 — forked from tt6746690/mount_ntfs.sh
mount ntfs
#!/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!
@vinnymac
vinnymac / WhyDidYouUpdateMixin.coffee
Last active March 3, 2016 02:39 — forked from joshma/WhyDidYouUpdateMixin.js
Performance Engineering with React (Part 2)
_ = 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]
###