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
Show hidden characters
{ | |
"env": { | |
"bundle": { | |
"compact": false, | |
"comments": false, | |
"plugins": [ | |
"add-module-exports", | |
"transform-runtime", | |
"transform-strict-mode", | |
"transform-object-rest-spread", |
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
const updateState = app => m => app.updateData(app.state.withMutations(m)); | |
const cleanup = app => ::app.dispose; | |
export default function(apiUrl, gtmKey) { | |
const api = apiFactory(apiUrl); | |
const data = fromJS(appState); | |
return async (req, res, next) => { | |
try { | |
const app = new Application(data); | |
const routes = defRoutes(app); |
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
[ | |
[:app "cmd-t" :workspace.show] | |
[:app "cmd-shift-f" :searcher.show] | |
[:app "cmd-shift-k" :clear-console] | |
[:app "cmd-shift-s" :save-all] | |
[:app "cmd-ctrl-f" :window.fullscreen] | |
[:app "cmd-k" :toggle-console] | |
[:app "tab" :focus-last-editor] | |
[:workspace.focused "enter" :lt.plugins.workspace-nav/open-selection] |
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
.theme-atom-visual-studio-code-light-ui { | |
font-family: 'Segoe WPC', 'Segoe UI', SFUIText-Light, HelveticaNeue-Light, sans-serif, 'Droid Sans Fallback'; | |
atom-pane-container atom-pane { | |
padding: 0; | |
.item-views { | |
border: 0; | |
border-top: 2px solid #007ACC; | |
} |
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
.host { | |
display: inline-block; | |
position: relative; | |
width: 400px; | |
border: 1px solid; | |
padding: 2px; | |
-moz-appearance: textarea; | |
-webkit-appearance: textarea; | |
} | |
.host .mirrorText { |
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
const projects = company.get('projects', List()); | |
return ( | |
<PaperCard heading='Our Projects'> | |
<PaperCardContent> | |
{projects.map((p, i) => | |
<Project key={`proj${i}`} project={p} /> | |
)} | |
</PaperCardContent> | |
</PaperCard> | |
); |
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
brew install docker-machine | |
docker-machine create -d virtualbox --virtualbox-import-boot2docker-vm boot2docker-vm docker-vm | |
brew uninstall --force boot2docker |
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
var testsContext = require.context(".", true, /-spec.js$/); | |
testsContext.keys().forEach(testsContext); |
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
[Test] | |
public void ShouldRoundtripSerialization() { | |
var config1 = new FsAgentSpecificConfiguration { DropPath = "test" }; | |
FsAgentSpecificConfiguration config2; | |
using (var ms = new MemoryStream()) { | |
var serializer = new XmlSerializer(typeof(FsAgentSpecificConfiguration)); | |
serializer.Serialize(ms, config1); | |
ms.Position = 0; | |
config2 = (FsAgentSpecificConfiguration)serializer.Deserialize(ms); |
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
function subscribe(firebase, event, callback) { | |
firebase.on(event, callback); | |
return { | |
dispose: () => firebase.off(event, callback); | |
}; | |
} |