Allowing password login will undermine the safety of server, so instead we can set up SSH login for each user.
Continue readingAuthor Archives: lucia
Webpack: New Resolve Root Path
- src
|- components
||- CatComponent.js
||- DogComponent.js
- node_modules
/* src/components/DogComponent.js */
import CatComponent from 'components';
For importing from another directive to work like imports from node_modules
like above, configure webpack.
jsPlumb: Reconnection after Removing Element
If you encounter a bug where all the re-established connections of a deleted div going to the top left of the screen: at the moment there’s no better solution than to delete all connections and repaint everything.
I’m using jsPlumb community version with React.
Continue readingReactJS: Property Not Being Passed Down to Child
This is a funny one, coming from Anguar:
Marketing 101 for Developers
I came across an interesting line while I was reading The Geography of Bliss – Search For The Happiest Places In The World. The section was talking about Icelander’s admiration for failure, and it ends with, “We Americans like to think that we, too, embrace failure, and it’s true, up to a point. We love a good failure story as long as it ends with success.”
Tab Forever Loading
If you find the loading spinner in browser tab spinning forever, it might be due to the use of document.write()
.
TypeScript: Make Type Properties Optional
This is especially useful when testing, when we only want to provide one or two of all the properties:
How to Install Android SDK
Setting up React Native Environment following create-react-native-app.