jwesonga

Nairobi, Kenya

I enjoy writing code

Feb
26
answered Google Apps Script Form: e.namedValues logs nothing
Feb
25
comment Google Apps Script Form: e.namedValues logs nothing
script is attached to the Form. I've tried Logger.log(e.response) based on developers.google.com/apps-script/guides/triggers/… and no success. I'm avoiding looping through the whole form and may be thats the only way to get this to work..
Feb
25
comment Google Apps Script Form: e.namedValues logs nothing
I beg to differ, if I change the logger to Logger.log("foo") and submit the form, and go back to view the logs I actually have "foo"
Feb
25
accepted Golang: http.NewRequest POST with JSON payload returns error 500
Feb
25
asked Google Apps Script Form: e.namedValues logs nothing
Feb
20
answered Golang: http.NewRequest POST with JSON payload returns error 500
Feb
20
revised Golang: http.NewRequest POST with JSON payload returns error 500
added 437 characters in body
Feb
20
asked Golang: http.NewRequest POST with JSON payload returns error 500
Feb
17
awarded Famous Question
Feb
14
accepted Golang: file extracted from tar throws permissions error
Feb
14
asked Golang: file extracted from tar throws permissions error
Feb
11
awarded Popular Question
Dec
14
awarded Notable Question
Nov
12
awarded Nice Question
Oct
27
accepted Flux: return values from AJAX to the component
Oct
27
comment Flux: return values from AJAX to the component
Rewrote the app and followed the code for the flux-chat app here are the gists gist.github.com/johnwesonga/316b26760e2be043bbb1 works quite well now
Oct
20
comment Flux: return values from AJAX to the component
Thanks for the feedback, you mention that in Flux, data should always originate with an action, in my case I want to load the profiles immediately the component renders, not in response to an action, would the approach be the same as you've suggested above?
Oct
19
asked Flux: return values from AJAX to the component
Sep
26
asked Unit testing Python Cloud Endpoints throws Message Error
Sep
26
comment How to unit test Google Cloud Endpoints
I tried the code above but kept getting this error: TypeError: services contains types that don't match _ServiceClass: [<class 'protorpc.remote._ServiceClass'>]
1 2 3 4 5