-
Head over to firebase. Sign in and create a project.
-
Copy your project settings under Firebase SDK snippet into your local project (ie your project's
api key
,auth domain
,databaseURL
, etc) -
Create a file (firebase.js or config.js Any name that suits you is fine)
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
// EmailInput wraps an HTML `input` and adds some app-specific styling. | |
const EmailInput = React.forwardRef((props, ref) => ( | |
<input ref={ref} {...props} type="email" className="AppEmailInput" /> | |
)); | |
class App extends Component { | |
emailRef = React.createRef(); | |
render() { | |
return ( |
- Video: Andrew Clark: What's Next for React — ReactNext 2016 - YouTube
- Video: Scalable React app architecture [React Bangkok 2.0.0] - YouTube
- Building an Enterprise React Application, Part 1 | Lullabot
- How to avoid refactoring in your first React.js application | Andrej Gajdos
- React Best Practices & Patterns - Sean Saranga Amarasinghe
- React Best Practices and Useful Functions – Nessim Btesh – Medium
- 11 lessons learned as a React contractor – Hacker Noon
- [Characteristics of an
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
package main | |
import ( | |
"context" | |
"errors" | |
"fmt" | |
"os/signal" | |
"syscall" | |
"time" |
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
package main | |
import ( | |
"crypto/rand" | |
"encoding/base64" | |
"fmt" | |
"io" | |
"math/big" | |
) |
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
/* | |
* Handling Errors using async/await | |
* Has to be used inside an async function | |
*/ | |
try { | |
const response = await axios.get('https://your.site/api/v1/bla/ble/bli'); | |
// Success 🎉 | |
console.log(response); | |
} catch (error) { | |
// Error 😨 |
- A Mac running OSX 10.11.6
- MAMP v3.5
- PHP 7.0.0 (comes inside the MAMP v3.5 above)
Note
First step: Install Android SDK
yaourt -S android-sdk android-sdk-platform-tools android-sdk-build-tools
Note: Maybe you'll have problems with the lasta package:ncurses5-compat-libs
. In order to avoid this problem you have to use this command:gpg --recv-keys F7E48EDB
. You can find clarification here.yaourt -S genymotion
Note: You'll need installvirtual-box
and his modules,yaourt
will make for you but you need choos between ArchLinux host modules or DKMS host modules.- Enter in super user mode with
su -
and then doecho -e "vboxdrv\nvboxnetflt\nvboxnetadp\nvboxpci" > /etc/modules-load.d/virtualbox.conf
Note: You need do this with super user because need super user permissions and withsudo
, for us at least, doesn't work. sudo modprobe vboxdrv vboxnetadp vboxnetflt
Activate for current session.sudo chmod -R 777 /opt/android-sdk
Any GitHub wiki can be cloned by appending wiki.git
to the repo url, so the clone url for
the repo https://myorg/myrepo/
is: [email protected]:myorg/myrepo.wiki.git
(for ssh) or https://github.com/my/myrepo.wiki.git
(for https).
You make edits, and commit and push your changes, like any normal repo. This wiki repo
is distinct from any clone of the project repo (the repo without wiki.get
appended).
NewerOlder