Wednesday, August 29, 2012
About closing all of your chrome tabs
one finds oneself keeping some pages as tabs open, no?
then one finds oneself closing some of those may be?
close them all..
Friday, July 23, 2010
Yeni facebook uygulamasi
Yurtdışından istekleriniz var veya olanlara yardım mı etmek istiyorsunuz, muthis icat
"Istek kutusu" uygulamasini kivancla sunuyorum.
Bu arada ilginc facebook uygulama fikri olan varsa haberim olsun ;)
"Istek kutusu" uygulamasini kivancla sunuyorum.
Bu arada ilginc facebook uygulama fikri olan varsa haberim olsun ;)
Tuesday, July 6, 2010
Making google app engine use socks proxy when fetching urls
Here's a simple recipe to do this:
1) Download and install socksipy
http://socksipy.sourceforge.net/
2) Add the following three lines after the import declarations to the file google/appengine/api/urlfetch_stub.py
import socks
socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, "127.0.0.1", 1080)
socket.socket = socks.socksocket
3) restart app engine
Now the url fetch requests go thru your socks server running on port 1080
1) Download and install socksipy
http://socksipy.sourceforge.net/
2) Add the following three lines after the import declarations to the file google/appengine/api/urlfetch_stub.py
import socks
socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5, "127.0.0.1", 1080)
socket.socket = socks.socksocket
3) restart app engine
Now the url fetch requests go thru your socks server running on port 1080
Monday, May 17, 2010
Obix Object Browser as a Tree in Adobe Air using Swiz framework
I recently created a tree component in flex for browsing obix sources as a proof of concept and decided to share it so that it might be useful for others. It was a fun experience that enabled me to learn more about the nice swiz framework.
The harder parts had been the implementation of lazy loading and the loading of the icons from remote locations, both of which I got ideas from other people and adapted.
The lazy loading idea is from http://flexdiary.blogspot.com/2009/01/lazy-loading-tree-example-file-posted.html
The handling of the obix becomes pretty easy with the e4x in flex. One point worth highlighting is the need for explicitly referring to the obix namespace.
So you need to define the namespace like this
so that you can invoke stuff like
The swiz framework provides a nice
So you need to define the namespace like this
var ns:Namespace = new Namespace("http://obix.org/ns/schema/1.0");
so that you can invoke stuff like
result.child(new QName(ns, "*"));
The swiz framework provides a nice
executeServiceCall method in controller classes which facilitates service calls. The source code of the Swiz 1.0.0 Beta framework is not included in view source. You can get it from its source code repository.The demo here works as a client to the http://obix.tridium.com/obix/
Download, install, run and view source.
And Enjoy or don't! :)
Wednesday, March 17, 2010
Friday, February 12, 2010
Thursday, February 4, 2010
Subscribe to:
Posts (Atom)

