It has been a long time since the last post. It is time to show my new open source project - gcqlsh. The idea came when I was preparing some Cassandra docker images and I wanted to stay minimalistic with our CI infrastructure. So I have based my Cassandra docker image on Alpine. Unfortunatly came the frustration with installing python and all the dependencies. On the other hand, I needed an utility for automating the schema creation withing the docker container on first start.
Many applications use Core data for iOS devices, others utilize frameworks like fmdb. But there are also people that write SQLite access from scratch. The comes the answer - how do you cache prepared statements (I will not discuss here why we cache prepared statements)?
Well - I have implemented 2 methods:
1) Using C syntax to maintain array of sqlite_stmt* 2) Using NSPointerArray* to store sqlite_stmt* that are prepared First approach has it’s advantages in regards of using older SDKs (NSPointerArray is available from iOS 6.
Suppose you have a SVN repository and you would like to move to GIT - there might be many arguments around this. Well - here are some steps that I have tried to synthesise after many attempts and reading in internet. I am sure there are many approaches, but this one works for me straight forward.
The whole procedure consists of several steps:
Extracting users from SVN and creating a mapping file SVN_USER <-> GIT_USER Cloning SVN repository into GIT repository Migrating branches Migrating tags Creating new GIT detached repository and pushing all changes to it Here are some assumptions:
Somethimes is can happen, that when you try to access your blog at
you end with a page showing 404 Error and in the url we see that we have been forwarded to
If you trace the logs of the server, what you will find is something similar to:
client denied by server configuration: wp-login.php
If this is the case - so most probably the problem comes from .
If you are developing for Android, you probably have already abandoned the emulator that comes with Android SDK, and are testing and debugging on a real device. I cannot blame you - the emulator is awfully slow. Well I have good news for you - you can speed it up, if you are using uX system (Unix like - Linux, Mac OS X, BSD).
The trick is very simple - and I suppose some of you have already activated it - mount /tmp folder into memory.