I modified pubsubhubbub implementation. No longer original impl does not work, because it has no update from 2011.
My forked impl will works fine with Python 2.7 and Google App Engine for Python 1.8.9.
I’m unfamiliar with Python and GAE. Any improvements are welcome.
How to Run the servers
$ git clone https://code.google.com/p/pubsubhubbub/
$ dev_appserver.py hub
$ dev_appserver.py --port=8081 --admin_port=8001 publisher
$ dev_appserver.py --port=8082 --admin_port=8002 subscriber
I’ve tried to create a mail handler for GAE/J using java.util.logging in order to receive the notification of system error via email.
See the code: https://gist.github.com/ashphy/6977360
I encountered some problems, for example, custom handler could not be instantiated from properties file.
Are there any good ideas for implementation?
If you see error like this on Vagrant 1.2.2 and VirtualBox 4.2.14, when you do ‘vagrant up’
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'hogehoge'...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["import", "C:/Users/kazuki-h/.vagrant.d/boxes/hogehoge/virtualbox/box.ovf"]
Progress object failure: RPC_S_SERVER_UNAVAILABLE 0x800706BA
Downgrade VirtualBox to 4.2.12, it will works fine.
It could raise again on Mac OS X or Linux, because VirtualBox’s changes might be directly responsible for this error.
This problem has been fixed in the version 4.2.16.
rbenv is the best solution to to pick a ruby version for your specific environment.
However, even if rbenv has been installed successfully, the “Terminal” in Aptana Studio cannot stop choose the system default ruby version.
Because aptana terminal does not load ~/.bash_profile
- Mac OS X Mountain Lion
- Aptana Studio 3
- rbenv 0.4.0
Aptana terminal load the .aptanarc instead of .bashrc when start up. You can insert a path configurations for rbenv on it like this
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.aptanarc
$ echo 'eval "$(rbenv init -)"' >> ~/.aptanarc
JSONPath Online Evaluator has been released. It’s the only online evaluator in the world for JSONPath.
Put your JSONPath syntax and json data on left pane, and the evaluation results are shown in right pane.
There is a easy way to delete the file located at FTP server using CFNetwok framework.
After access the server, run the following code.
Boolean success = CFURLDestroyResource(url, &errorCode);
CFURLDestroyResource is defined by CFURLAccess.h