Written by Bram.us
/ Original link
on Dec. 9, 2019
Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.The code for the sequence diagram at the top is this:sequenceDiagram Alice ->> Bob: Hello Bob, how are you? Bob-->>John: How about you John? Bob--x Alice: I am good than…
Written by Bram.us
/ Original link
on Dec. 9, 2019
Recently I needed to test a branch of a forked GitHub repository inside a project. Instead of cloning the fork and symlinking the package locally, I installed the remote dependency directly into the project.To achieve I used the following command:Using NPM:npm install user/repo.git#branchnameUsing …
Written by Bram.us
/ Original link
on Dec. 9, 2019
Software Updates →
Written by Bram.us
/ Original link
on Dec. 9, 2019
In case you want to impress your family over Christmas’/New Year’s Dinner:A so-called calendrical savant (or calendar savant) is someone who despite their intellectual disability (typically autism) can name the day of the week of a given date, or visa versa in a few seconds or even a tenth of a sec…
Written by Bram.us
/ Original link
on Dec. 9, 2019
Ace talk by Shawn Wang:The design of React Hooks requires a good understanding of closures in JavaScript. In this talk, we’ll reintroduce closures by building a tiny clone of React! This will serve two purposes – to demonstrate the effective use of closures, and to show how you can build a Hooks cl…
Written by Bram.us
/ Original link
on Dec. 9, 2019
Google Cloud has a number of options to run your code. We can deploy a function to Cloud Functions, an app to App Engine, or an app with a custom runtime (a Docker container) to Cloud Run.In this post the same code snippet is deployed to all three Google Cloud Platform features. Locally the Functio…
Written by Bram.us
/ Original link
on Dec. 9, 2019
Derek Sivers, on how to improve life, not by adding things but by subtracting things:The least successful people I know run in conflicting directions, are drawn to distractions, say yes to almost everything, and are chained to emotional obstacles.The most successful people I know have a narrow focu…
Written by Bram.us
/ Original link
on Dec. 9, 2019
A JSX-based page builder for creating beautiful websites without writing code. Blocks comes with built-in components that are carefully designed and implemented with Theme UI.Blocks UI →
Written by Bram.us
/ Original link
on Dec. 9, 2019
The aim of this project is to support V8 runtime for React Native. Designed as opt-in package, it should easy to integrate with existing React Native projects.After installing it, you’ll need to adjust your build.gradle files so that it includes the new runtime--- a/android/app/build.gradle+++ b/an…
Written by Bram.us
/ Original link
on Dec. 9, 2019
90% convention, 10% libraryIn this post Yazeed Bzadough walks you through creating your own Redux implementation.// simplified createStore functionconst createStore = (yourReducer) => { let listeners = []; let currentState = yourReducer(undefined, {}); return { getState: () => currentSt…