Classic ASP: cross domain json-rpc proxy controller
A controller written in classic ASP / VBScript to proxy json-rpc request to a remote service point.
A controller written in classic ASP / VBScript to proxy json-rpc request to a remote service point.
Old script for syncing files between baseline folder and target installation directory File: GIT https://github.com/zsugiart/playground/blob/master/playground.common/bash/backsync.sh Usage
1 |
./backsync.sh pull /path/sourceDir /path/targetDir |
When etc etc
1 |
./backsync.sh push /path/sourceDir /path/targetDir |
Very simple, really
This is posted from my n900 via bmobile / docomo FOMA network. Yes, this is the very same n900 that I bought in Australia. No softbank bullshit. 🙂 Deal & pricing data-only: no sms or phone calls. which sucks. but at least i can do skype IM, browse facebook, upload photo to facebook, sync my…
From the writings of Nichiren Daishonin – The Wealthy Man Sudatta p1086 I will teach you how to become a Buddha easily. Teaching another something is the same as oiling the wheels of a cart so that they turn even though it is heavy, or as floating a boat on water so that it moves…
Did you know that if a web server sends a HTTP 302 (redirect) response, with a set-cookie, the browser won’t take the cookie unless the cookie’s path is set to “/” ? This is how it can be set in Java (servlet):
1 2 3 4 5 6 |
Cookie cookie = new Cookie("cookie_name","cookie_value"); cookie.setMaxAge(30000); // expiry cookie.setSecure(true); cokie.setPath("/"); // this is the magic response.addCookie(cookie); response.sendRedirect("http://hostname/nextUrl"); |
I thought cookies are simple but in truth they are not. You…