Command line tool to generate database migration file is very helpful and it speeds up our development process. I didn’t find a good tool for that when I use a PHP framework, CodeIgniter. So, I created a simple command line tool so-called Bare Migration Generator to generate bare migration file for using in CodeIgniter projects.
ADB server didn’t ACK or adb server is out of date. killing…
Android Debug Bridge (adb) is a versatile command line tool that lets you communicate with an emulator instance or connected Android-powered device for your Android application development. It is a powerful tool to run and debug your app on the connected device. It can be run using the command adb
in the command line if the location of adb.exe
is in your system PATH.
Using Request and Session in Symfony2 PHPUnit Tests
Request and Session are most frequently used services in Symfony2 application. I very often use them in my repositories by injecting with setContainer()
.
My pretty move to Brackets
PHPDesigner is my very first IDE when I started to code. Then I moved to Dreamweaver which was a product of Macromedia during that time. It had been a favourite editor during most of my developer life time, but I rarely used additional extensions and themes along with it as they are not easily available. I was comfortable with its default theme and I’m too familiar with its color scheme and I like it. There are some drawbacks of Dreamweaver – it is not lightweight; It is no easy-to-install; it is a proprietary software; it is not available for Linux. Linux solution is my major concern as I’m moving to Linux from Windows. I had to find a replacement of Dreamweaver.
I love to reinvent the wheel
“Reinventing the wheel is always a bad idea” – this is what we usually heard.
To reinvent the wheel is to duplicate a basic method that has already previously been created or optimized by others.
I don’t agree with. I love to reinvent the wheel and I think many devs in software development field are reinventing the wheel. If they are not, there would be only one framework and only one CMS in the world. Why Drupal, then WordPress, then Joomla? Why CakePHP, why Laravel, why Zend? If a framework or CMS has been developed and came out, why we need to reinvent another one of same purpose?
2014 in review
The WordPress.com stats helper monkeys prepared a 2014 annual report for this blog.
Here’s an excerpt:
A San Francisco cable car holds 60 people. This blog was viewed about 460 times in 2014. If it were a cable car, it would take about 8 trips to carry that many people.
Creating a first Node.js app using GeddyJS framework on Windows
Node.js is an open source, cross-platform runtime environment for easily building fast, server-side and scalable networking applications. Node.js provides an event-driven architecture and a non-blocking I/O API that optimizes an application’s throughput and scalability and that is perfect for data-intensive real-time applications.
Geddy is a simple, structured web framework for Node and a No-Brainer MVC Node.js Framework .
Here, I will show how to create a basic Node.js app using Geddy. My working environment is Windows 7.
6 Tips I love in Google Docs
I have been using Google Docs in replacement of Microsoft Office. The main reason I’m using Google Docs is that I can access my documents anywhere and there are a lot of features I found useful in Google Docs. Amongst, I complied 6 tips I love. Continue reading
Fix for the fatal error ‘early EOF’ on git clone
Recently I cloned a large remote git repository into my localhost, but failed and I got the error:
Cloning into 'D:\xampp\path\to\my\folder'...
POST git-upload-pack (350 bytes)
remote: Counting objects: 7544, done.
remote: Compressing objects: 100% (3985/3985), done.
fatal: early EOF
fatal: The remote end hung up unexpectedly
fatal: index-pack failed
Formatting code block in Google docs
In the last few days, I was looking for how to format a code block in my Google doc. After a few minutes I googled, I found a very useful Google Docs add-on Code Pretty. Just needs to select the code text you want to format and its “Format Selection” is pretty nice. The only con is that you cannot choose the programming language you want to format.