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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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 videoMachine = Machine({ | |
id: 'video', | |
initial: 'loading', | |
context: { | |
video: undefined, | |
duration: 0, | |
elapsed: 0, | |
}, |
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
# This is needed for react-native-config | |
# See more: https://github.com/luggit/react-native-config/issues/187#issuecomment-468730417 | |
post_install do |installer| | |
installer.pods_project.targets.each do |target| | |
if target.name == 'react-native-config' | |
phase = target.project.new(Xcodeproj::Project::Object::PBXShellScriptBuildPhase) | |
phase.shell_script = "cd ../../"\ | |
" && RNC_ROOT=./node_modules/react-native-config/"\ | |
" && export SYMROOT=$RNC_ROOT/ios/ReactNativeConfig"\ | |
" && export BUILD_DIR=$RNC_ROOT/ios/ReactNativeConfig"\ |
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
.monaco-tree, .part.sidebar { | |
font-family: "Operator Mono"; | |
font-size: 12px; | |
} |
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
/*********************************************** | |
* GRADIENT THEME | |
**********************************************/ | |
@gradient-start: #3E8CC4; | |
@gradient-end: #A07AB2; | |
@gradient-ui-background: #FFFFFF; | |
@gradient-ui-color: #000000; | |
@gradient-ui-opacity: 75%; | |
@gradient-padding: 8px; |
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
<div class="group"> | |
<h2>Shapes</h2> | |
<p>Modifiers: <span>underline</span>, <span>outline</span>, <span>pill</span></p> | |
<div class="btn">Button</div> | |
<div class="btn btn--underline">Underlined</div> | |
<div class="btn btn--outline">Outline</div> | |
<div class="btn btn--squared btn--outline">Squared</div> | |
<div class="btn btn--pill btn--outline">Pill Button</div> | |
</div> |
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
<div class="group"> | |
<h2>Shapes</h2> | |
<p>Modifiers: <span>underline</span>, <span>outline</span>, <span>pill</span></p> | |
<div class="btn">Button</div> | |
<div class="btn btn--underline">Underlined</div> | |
<div class="btn btn--outline">Outline</div> | |
<div class="btn btn--pill btn--outline">Pill Button</div> | |
</div> |
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
$ git:(upstream ⚡ master) 10A npm run dev | |
> [email protected] dev /Users/*******/Projects/personal/react-designer-news | |
> NODE_ENV=development node server/index.js | |
Environment: development | |
/Users/*******/Projects/personal/react-designer-news/public/assets/app.server.js:69 | |
var _reactRouterLibLocation = __webpack_require__(!(function webpackMissingModule() { var e = new Error("Cannot find module \"react-router/lib/Location\""); e.code = 'MODULE_NOT_FOUND'; throw e; }())); | |
^ |
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
sudo lsof -i :8000 # checks port 8000 |
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
find . -type d -empty -delete |
NewerOlder