Install, build and debug a react native app in WSL2 (Windows Subsystem for Linux) and Ubuntu.
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
#!/bin/bash | |
apt-get update # update list of available software | |
apt-get -y install git cmake libusb-1.0-0-dev python python-pip python-dev | |
apt-get -y install python-scipy python-numpy python-matplotlib | |
# Remove other RTL-SDR driver, if it is loaded | |
modprobe -r dvb_usb_rtl28xxu |
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
/* | |
OTA update over HTTPS | |
As an example, we download and install ESP8266Basic firmware from github. | |
Requires latest git version of the core (November 17, 2015) | |
Created by Ivan Grokhotkov, 2015. | |
This example is in public domain. | |
*/ |
This does NOT work on Raspberry Pi 2!
- Obtain a 8GB (or bigger) SD Card
- Download disk image from http://janos.io/builds/fxos-pi-gpio.img.zip and unzip
- Put SD card in your computer
- Find out where your SD card is mounted (BE REALLY SURE ITS THE RIGHT DEVICE, IT WILL BE WIPED COMPLETELY!!!), f.e. /dev/disk5 on OSX
- On Linux, run:
sudo dd bs=4M if=fxos-pi-gpio.img of=/path/to/your/disk
- On OSX, run:
sudo dd bs=4m if=fxos-pi-gpio.img of=/dev/rdisk5
(do rdisk, not disk here!) - When it's done put it in your Pi and start up
- The demo's are wired like this: yellow LED on GPIO2, red LED on GPIO3, button (wire it as pulldown) on GPIO26.
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
/* | |
Copyright 2011 Martin Hawksey | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |