(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| SIGN UP | |
| curl -H "Content-Type:application/json" -H "Accept:application/json" \ | |
| -d "{\"user\":{\"password_confirmation\":\"12345678\", \"password\":\"12345678\", \"email\":\"test5@test.com\"}}" \ | |
| http://your_server.com/users | |
| SIGN IN | |
| curl -H "Content-Type:application/json" -H "Accept:application/json" \ | |
| -d "{\"user\":{\"remember_me\":\"0\", \"password\":\"12345678\", \"email\":\"test5@test.com\"}}" \ | |
| http://your_server.com/users/sign_in |
| //Customise Backbone.sync to work with Titanium rather than jQuery | |
| Backbone.sync = (function() { | |
| var methodMap = { | |
| 'create': 'POST', | |
| 'read' : 'GET', | |
| 'update': 'PUT', | |
| 'delete': 'DELETE' | |
| }; | |
| var xhr = Ti.Network.createHTTPClient({ timeout: 5000 }); |
| license: gpl-3.0 |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| fastlane_version "1.33.0" | |
| default_platform :ios | |
| platform :ios do | |
| before_all do | |
| cocoapods | |
| ENV['KEYCHAIN_NAME'] = "TempKeychain.keychain" | |
| end |
All credit to @sahrens for sharing fb's internal implementation.
clone rocksdb from https://github.com/facebook/rocksdb.
edit MakeFile inside rocksdb. Search for Platform-specific compilation around line 1122. Make th next few lines to look like this:
ifeq ($(PLATFORM), IOS)
# For iOS, create universal object files to be used on both the simulator and
Having rather painlessly installed ROS Indigo on El Capitan using Mike Purvis's script, I attempted to upgrade to ROS Kinetic. This gist outlines the problems I encoutered and how I solved them. Hopefully this guide will help others attempting to install ROS Kinetic / Gazebo 7 on El Capitan.
Start with Mike Purvis's script, which currently is setup to install ROS Indigo. In order to install Kinetic instead of Indigo, make sure to set the ROS_DISTRO environment variable: export ROS_DISTRO=kinetic.
After you get through rosdep errors, it's quickest to just work with the catkin config ... and catkin build ... commands directly. In fact, I found it most helpful to leave my catkin workspace terminal open at ros-install-osx/kinetic_desktop_full_ws and t
| #!/bin/sh | |
| sudo newfs_msdos -v EFI -F 32 /dev/rdisk0s1 | |
| sudo mkdir /Volumes/EFI | |
| sudo mount -t msdos /dev/disk0s1 /Volumes/EFI | |
| sudo rm -rf /Volumes/EFI/EFI | |
| sudo cp -R /EFI /Volumes/EFI | |
| sudo diskutil unmount /Volumes/EFI |
I won't be updating this gist any longer. Updated versions of these notes can be found here.
The Seeed WIO Terminal is generally supported by CircuitPython, but there is no implementation for access to the WiFi or Bluetooth LE networking functions on the board. After taking a look at the Arduino support for these features, I can see that the RealTek RTL8720D is set up to be driven by a UART connection from the SAMD51 that acts as the main controller for the WIO Terminal. In other words, the RTL8720D is set up as a co-processor, similar to the ESP32 in Adafruit's Airlift modules.
The UART driver is based on an [embedded remote procedure call (eRPC) libr