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
# Path to your oh-my-zsh configuration. | |
ZSH=$HOME/.oh-my-zsh | |
ZSH_THEME="prose" | |
DISABLE_CORRECTION="true" | |
COMPLETION_WAITING_DOTS="true" | |
plugins=(brew git git-extras github node npm rails) | |
source $ZSH/oh-my-zsh.sh | |
unsetopt correct |
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
{ | |
"rc": { | |
"prefix": "rc", | |
"body": [ | |
"import React from 'react'", | |
"", | |
"interface ${1:${TM_FILENAME_BASE/((^[a-z])|[-,_]([a-z]))/${2:/upcase}${3:/upcase}/g}}Props {", | |
" $3", | |
"}", | |
"", |
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
/*! | |
* Bootstrap v4.2.1 (https://getbootstrap.com/) | |
* Copyright 2011-2018 The Bootstrap Authors | |
* Copyright 2011-2018 Twitter, Inc. | |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
*/.bootstrap-iso :root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}.bootstrap-iso *,.bootstrap-iso ::after |
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
window.intercomSettings = { | |
app_id: 'APP_ID', | |
name: "Jane Doe", // Full name | |
email: "[email protected]", // Email address | |
created_at: 1312182000 // Signup date as a Unix timestamp | |
}; | |
(function() { | |
var w = window; | |
var ic = w.Intercom; | |
if (typeof ic === "function") { |
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
// Component | |
import React from 'react'; | |
class ModuleLoader extends React.Component { | |
state = { | |
Module: null, | |
}; | |
componentDidMount() { | |
this.props.Module().then(loaded => { | |
this.setState({ Module: loaded.default }); |
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
var SingleEntryPlugin = require('webpack/lib/SingleEntryPlugin'); | |
var utils = require('loader-utils'); | |
module.exports = function() { | |
// ... | |
}; | |
module.exports.pitch = function(request) { | |
this.addDependency(request); | |
var query = utils.parseQuery(this.query); |
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
var ChangeController = Em.Controller.extend({ | |
changesController: Em.inject.controller('changes'), | |
admin: Em.computed.reads('changesController.model'), | |
change: Em.computed.reads('model'), | |
recordPageLoad: function() { | |
this.trackEvent('marketing-event', { | |
owner: 'marketing', | |
action: 'visited', |
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
const test1 = {test: true}; | |
let component; | |
componentIntegrationTest('', '', { | |
beforeEach() { | |
this.render(hbs`{{change-item-component test1=test1 test2="test2" }}`); | |
component = getComponentInstance(this); | |
} | |
}); |
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
const test1 = {test: true}; | |
let component; | |
componentIntegrationTest('', '', { | |
beforeEach() { | |
this.render(hbs`{{change-item-component test1=test1 test2="test2" }}`); | |
component = getComponentInstance(this); | |
} | |
}); |
NewerOlder