Example request body
{
"persons": {
"Tahi": {
"social_security__eligible_for_accommodation_supplement": {
"2018-08": null
},
"age": { "2018-08": 30},
"normally_lives_in_nz": { "2018-08": true },
Example request body
{
"persons": {
"Tahi": {
"social_security__eligible_for_accommodation_supplement": {
"2018-08": null
},
"age": { "2018-08": 30},
"normally_lives_in_nz": { "2018-08": true },
| -----BEGIN PGP MESSAGE----- | |
| Version: GnuPG v1 | |
| hQIMAwDLjlflpTdnARAAjN6uINbS5QJFUEAiBeJ8eVBCF9nXSHMNYQ+hk6rinBXE | |
| xrFDGgSHbz6BIFSTkRePewJd/p735Ou6GrTBMD1y74qGY1lpX1GWT1peRv6VkmcS | |
| YGCE+qT6g0YlqIFLeuNoW1tnfwLUSRM3cr5mFl1BreqHP2DFhw8icjXw+3+Zb17j | |
| GJ9B+/vP5a/pNaT9ALQXvDeWisHFPWsNs3yxGEHQ7RMPBnPq9kzOF76ObgbdgJjb | |
| EdmtTw8U0Okm+y9EYZwU4garzzQSvdCHBrzNMA7FutJghGgLsVFWN+5qtC3lE6HR | |
| UuyQiJg7MZx6kDuVUrAG7QtjYmvybMk1S4LBwbW/p416qL+iOBQ54xkkGagrJTro | |
| J1mgYk/7K56cX24y0PgQ0Y93Ya/0jkvvKAFT70E8pRUw1wGjMlkSxg1sB9lxshUr |
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |
| Wifi gateway (one per house) | price (usd) | URL | note |
|---|---|---|---|
| wemos | 5.76 | https://wiki.wemos.cc/products:d1:d1_mini | |
| Decent transciever | 5.12 | http://www.dx.com/p/nrf24l01-pa-lna-wireless-module-w-antenna-black-3-0-3-6v-222913 | |
| WhareHaurora gateway shield | 5 | https://github.com/WhareHauora/wharehauora-pcb/blob/master/Whare%20Hauora%20Wemos%20r1.zip | print from oshpark |
| total | 15.879999999999999 | ||
| First sensor (one per room) | price (usd) | URL | note |
| SenseBender | 18.21 | https://www.openhardware.io/view/1/Sensebender-Micro |
| Moved to: | |
| https://gist.github.com/Br3nda/c52088c728b93ba1ae3055ab5e05e8e5 |
| //#define MY_DEBUG | |
| #define MY_RADIO_NRF24 | |
| #define CHILD_ID_HVAC 10 | |
| #define CHILD_ID_POWERFUL 0 | |
| #include <MySensors.h> | |
| #include <PanasonicCKPHeatpumpIR.h> | |
| #include <PanasonicHeatpumpIR.h> | |
| //Some global variables to hold the states |
| class Api::RegistrationsController < Api::BaseController | |
| respond_to :json | |
| def create | |
| user = User.new(params[:user]) | |
| if user.save | |
| render :json=> user.as_json(:auth_token=>user.authentication_token, :email=>user.email), :status=>201 | |
| return | |
| else |
| You may have received an email because are the holder of a .nz domain | |
| name. They are encouraging you to say what you think of their proposal. You | |
| could ignore it the email. | |
| Your domain name is part of a "conflicted set". This is why DNC sent | |
| you an email. | |
| For example, all these may be registered to different people: | |
| * anyname.co.nz | |
| * anyname.net.nz |
| #Model | |
| @user.should have(1).error_on(:username) # Checks whether there is an error in username | |
| @user.errors[:username].should include("can't be blank") # check for the error message | |
| #Rendering | |
| response.should render_template(:index) | |
| #Redirecting | |
| response.should redirect_to(movies_path) |
| adb logcat | grep -i food | |
| 07-22 09:27:27.051 879 4013 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.myfoodbag.app/.ui.activities.SplashActivity} from uid 10243 on display 0 | |
| 07-22 09:27:27.199 879 3552 I ActivityManager: Start proc 22300:com.myfoodbag.app/u0a283 for activity com.myfoodbag.app/.ui.activities.SplashActivity | |
| 07-22 09:27:27.267 22300 22300 W System : ClassLoader referenced unknown path: /data/app/com.myfoodbag.app-1/lib/arm64 | |
| 07-22 09:27:28.093 879 976 I WindowManager: Screenshot max retries 4 of Token{490880e ActivityRecord{c802e09 u0 com.myfoodbag.app/.ui.activities.SplashActivity t249 f}} appWin=Window{598ae6 u0 Starting com.myfoodbag.app} drawState=4 | |
| 07-22 09:27:28.118 879 3256 I ActivityManager: START u0 {flg=0x10008000 cmp=com.myfoodbag.app/.ui.activities.MainActivity (has extras)} from uid 10283 on display 0 | |
| 07-22 09:27:28.817 879 1136 I ActivityManager: Displayed com.myfoodbag.app/.ui.activities.M |