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
Create an app in react-native that allows you to search for restaurants in Newyork and New Jersey area. | |
Use Ignite framework from here : https://github.com/infinitered/ignite | |
For design inspiration : look up the app called "Eatigo" or "Zomato" | |
For api : https://developers.zomato.com/api# | |
https://developers.zomato.com/documentation | |
For app control flow & screen: https://i.imgur.com/LIzuaj7.png |
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
killall -9 node nodejs | |
watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-* |
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
netsh interface portproxy add v4tov4 listenport=80 listenaddress=localhost connectport=80 connectaddress=192.168.0.123 | |
netsh interface portproxy add v4tov4 listenport=35729 listenaddress=localhost connectport=35729 connectaddress=192.168.0.123 | |
netsh interface portproxy delete v4tov4 listenport=80 listenaddress=localhost | |
netsh interface portproxy delete v4tov4 listenport=35729 listenaddress=localhost | |
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
Create an app in react-native that allows you to search for restaurants in Newyork and New Jersey area. | |
Use Ignite framework from here : https://github.com/infinitered/ignite | |
For design inspiration : look up the app called "Eatigo" or "Zomato" | |
For api : https://developers.zomato.com/api# | |
https://developers.zomato.com/documentation | |
For app control flow & screen: https://i.imgur.com/LIzuaj7.png |
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
using System.Security.Cryptography.X509Certificates; | |
using System.Text; | |
using uPLibrary.Networking.M2Mqtt; | |
using uPLibrary.Networking.M2Mqtt.Messages; | |
namespace MQTT.SubscriberTest | |
{ | |
public class Program | |
{ |
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
using System; | |
using System.Text; | |
using System.Security.Cryptography.X509Certificates; | |
using uPLibrary.Networking.M2Mqtt; | |
namespace MQTT.Sample | |
{ | |
public class Program |
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
# Config file for mosquitto | |
# | |
# See mosquitto.conf(5) for more information. | |
# | |
# Default values are shown, uncomment to change. | |
# | |
# Use the # character to indicate a comment, but only if it is the | |
# very first character on the line. | |
# ================================================================= |
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
Building mosquitto: | |
git clone git@github.com:eclipse/mosquitto.git | |
sudo apt-get install cmake libssl-dev | |
cd <MOSQUITTO_SRC> | |
wget https://github.com/warmcat/libwebsockets/archive/v2.1.0.tar.gz | |
tar -xzvf v2.1.0.tar.gz | |
cd libwebsockets-2.1.0/ | |
mkdir build | |
cd build/ |
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
A Quick self reference for pycharm self debug: | |
1. copy pycharm-debug.egg from pycharm installation location ( C:\Program Files (x86)\JetBrains\PyCharm 2016.1.2\debug-eggs ) to | |
the the server | |
2. Add this to the main method file : | |
## because i suck at python | |
egg_path = '/usr/lib/pymodules/python2.6/valkyrie/pycharm-debug.egg' ## or where it was copied! | |
import sys | |
sys.path.append(egg_path) |
NewerOlder