Posts

android - Proximity Marketing API -

currently i'm using aws-s3 create url's documents & shorten url's suit eddystone format. i'm using kontakt beacons & use ui edit beacons shortened url's. works fine, displayed link (as seen using physical web app) long & there no link description. i'm hoping above & more using proximity marketing api, trouble i'm api newbie & looking guidance. i've created project & browser key & have beacon, not sure to next (sorry). i'm guessing i'll have input beacon details somewhere required url & link description. is there idiots guide doing or can advise? the way physical web app , chrome's physical web support work is: the app discovers eddystone-urls nearby. the app sends url physical web service . the physical web service fetches web page url (following redirects, e.g., introduced link shorteners). the physical web service extracts title, description, icon, , linked data web page. the...

xml - How to remove and add select elements via XSLT? -

i have following xml document (just excerpt): <osm> <node id="1" version="1" timestamp="2016-02-29t01:33:20z" lat="0.0" lon="0.657002"> <tag k="stat_nr" v="40045"/> <tag k="ortsgr_kl" v="0"/> <tag k="town_id" v="0000"/> <tag k="name2" v="city2"/> <tag k="name1" v="city1"/> <tag k="id" v="8942835"/> </node> <node id="2" version="1" timestamp="2016-02-29t01:33:20z" lat="0.93198" lon="0.000"> <tag k="land" v="d"/> <tag k="id_ref" v=""/> <tag k="stat_nr" v="40045"/> <tag k="name1" v="examplecity"/> <tag k="id" v="0000"/> </node...

php - String to array or object -

actually string, how can convert object or array .. {"kind": "delivery_quote", "fee": 750, "created": "2016-02-28t19:13:38z", "expires": "2016-02-28t19:18:38z", "currency": "usd", "duration": 60, "dropoff_eta": "2016-02-28t20:18:38z", "id": "dqt_khc5sbjq00jn6f"} i tried $array=explode(' ',$result); $json = json_encode($result); print($json); it giving me result this "{\"kind\": \"delivery_quote\", \"fee\": 750, \"created\": \"2016-02-28t19:13:38z\", \"expires\": \"2016-02-28t19:18:38z\", \"currency\": \"usd\", \"duration\": 60, \"dropoff_eta\": \"2016-02-28t20:18:38z\", \"id\": \"dqt_khc5sbjq00jn6f\"}" but how can can take results like echo $json->fee; here eval of h...

php - JWTAuth getToken give false result when tried to call it in laravel 5 -

i'm new in laravel , stuck jwtauth service in laravel. i'm developing mobile app using ionic , try make request generate jwt token. turn out able generate token, when try request compare token, cannot token using jwtauth::gettoken() in laravel. here script signin (generate token) public function signin(request $request){ $request = [ 'email' => urldecode($request->request->get('email')), 'password' => urldecode($request->request->get('password')) ]; if(auth::attempt($request)){ $user = auth::user(); auth::login($user, true); $custom = ['id' => $user->id, 'email' => $user->email, 'fullname' => $user->name]; $newtoken = jwtauth::fromuser($user,$custom); $return = array('success' => true, 'token' => $newtoken); }else{ $return = array('success' => false,...

How do I run a EXE Go executable from within IntelliJ IDEA? -

i have go program i'm working on in intellij idea on windows machine. program's structure little unconventional (don't want go detail here besides point) because of first have compile program using following command: go build -o cli.exe and can run cli.exe directly in command prompt. but how configure run configuration in intellij idea doesn't mind running windows executable ? because if try tell run exe file it's run configuration, gives me error "main file invalid" how solve ? make sure have file name (not folder name) in field file on run/debug configuration window (in intellij idea go menu run->edit configuration...-> your_configuration ). case.

swift - Detect collision between 3 objects? -

Image
i'm trying create enemy ai, , i'm trying check if enemy's ai range collides wall before colliding player, enemy stops chasing player when happens. but seems can detect collision between , b, , not c. best way this?

In Ext.net, I want to put a gridpanel inside a panel and refresh it programmatically -

in ext.net, want put gridpanel inside panel , refresh programmatically code: <ext:tabpanel runat="server" region="center"> <items> <ext:panel runat="server" title="center" border="false" bodypadding="6"> <items> <ext:gridpanel id="gridpanel1" runat="server" title="array grid" width="500" height="350" /> </items> </ext:panel> </items> </ext:tabpanel> when explore page, blank, when remove gridpanel, other stuff showe normally! any ideas wrong?