Hack & Roll 2014

January 27, 2014

Last weekend was another 24-hour of hackathon, organised by the NUS Hackers, where 18 cool hacks were created.

I personally enjoyed Djengue Unchained (a pun on Django Unchained).

Because firstly, their video reminds me of our video which we created in another hackathon!

And secondly, we blogged about dengue alert in Singapore last year. The solution was x-Dengue, a service that SMS you on the dengue clusters.

Djengue Unchained brings the solution to a new level – detecting before it happens!

Victor introducing Hoiio API

Victor introducing Hoiio API

Hack and Roll 2014

Melvin with his improvised standing desk :)

Tags:
Posted by:

Install Hoiio PHP SDK easily with composer

January 23, 2014

We pushed a commit recently to support composer, a dependency manager for PHP.

This makes installing our PHP SDK into your project a breeze.

After installing composer, create “composer.json” in your project root directory and require as such:

{
    "require": {
        "hoiio/hoiio-php": "0.0.6"
    }
}

To initialize installing of the libraries and dependencies, run:

php composer.phar install

That’s it!

Thanks to composer, installing/updating SDKs is now much easier.

Tags: ,
Posted by:

A Guide to Using Heroku PHP to Run Hoiio Sample Code

October 22, 2013

We have provided many PHP sample code in the past, with the most recent being the call forwarding app.

Many developers have webhost providers that support PHP, but we have encountered many developers who wanted to get started with the PHP sample code quickly, yet they don’t have a webhost.

Fortunately, there is always a FREE and GOOD option around – Heroku!

While Heroku does not directly state that they support PHP, they do! This is how you can get started.

1. Register a Heroku account

2. Install the toolbelt

3. Create a project directory e.g. /hoiio-heroku-app

4. Create index.php in the root directory. It can be an empty file, but it MUST be there for Heroku to recognize this as a PHP app.

5. Init git and push. Issue these commands in root directory.

heroku create
git init
git add .
git commit -m "Initial commit"
git push heroku master

6. After pushing to heroku, you will see the URL to your app eg. http://intense-woodlands-1234.herokuapp.com.

7. Use any of Hoiio sample code, for example you can set up auto-attendant to create a Main Line. IMPORTANT: Read the setup instructions for auto-attendant. Your server URL is that you obtained in (6).

8. git push the code again

git add .
git commit -m "Added Hoiio auto-attendant"
git push heroku master

That’s it! Call your Hoiio number and test out!

Tags: , ,
Posted by:

Another Open Source Example: Call Forwarding

October 10, 2013

We have created another sample code for PHP developers.

Call Forwarding is a simple app to forward calls received on your Hoiio number to another phone number.

It is very similar to Auto Attendant, which is another sample code for company extensions. In fact, call forwarding is a simpler app of auto attendant.

Go ‘grab’ your copy now, at https://github.com/Hoiio/hoiio-call-forwarding.

Tags: ,
Posted by:

You will never “forget” to send that SMS, with txtot

September 17, 2013

txtot is an app that helps to send scheduled SMS.

Quoting from lifehacker:

Perhaps you want to text someone, but now isn’t the right time. It’s either too late, too early, you know they’re busy, or you just want to catch them at the best time to ask. Txtot schedules those messages for later so you can compose them now and still remember to send them when the time comes.

Isn’t that useful?

Just last night, I asked my mum to help me run an errand at the bank the next day. As usual, she forgot about it. It’s my fault, as I should have sent an SMS to remind her.

Yet I forgot about it..

With txtot, I could simply schedule the SMS, and avoid the problem!

txtot1

Tags:
Posted by:

Haze Alert

June 25, 2013

For Singaporeans facing the haze issue, this Python script will send you an SMS when the PSI crosses a certain threshold.

Now you don’t have to continuously look out of your window :)

Haze Alert is written by @qxcg, and uses the PSI API written by him as well.

Tags:
Posted by:

Warning: Dengue cases increased 300% this year

May 21, 2013

It was only when I spoke to the guys from x-Dengue that I understood Singapore has an ongoing dengue fever.

In 2012, the number of dengue cases was 4,632.

But in the first 5 months of 2013, there were already 7,000 dengue cases. That is around 300% increase!

It is an ongoing dengue fever, and we all have a part to play to protect ourselves, and our loved ones.

Firstly, you should know the dengue clusters. NEA has a map for that, but I prefer the one from x-Dengue that uses Google Map.

dengue map

You can also download x-Dengue iPhone app, and register your family members so that they will be alerted via SMS when they are in a dengue cluster.

Fight dengue. Stay heathy.

Tags:
Posted by:

FRESH code only hackathon – AngelHack Singapore

May 09, 2013

Coming June 1, AngelHack will debut in Singapore!

AngelHack is different from your average hackathon. They have this outstanding rule:

All code must be FRESH. Prior to the hackathon you can create your design, wireframes, logo, and user flows.

You can prepare anything, but not the code.

Having been to numerous hackathons, it irks me to see teams participating with completed apps. Merely adding another awesome feature is NOT the same as hacking a new app!

angelhack

If you are interested, sign up here for the Singapore event.

You will also be glad to know that Hoiio API is providing $30 credits to each AngelHack team (:


Posted by:

SMS Broadcast Script, by NUS Hackers

March 21, 2013

During the 24-hours hackathon organized by the NUS Hackers, a convenient SMS broadcast script was born, in cool developer’s fashion.

The NUS Hackers used the script to send SMS to the hackathon participants, announcing important events such as lunch/dinner/pizzas..

This is how you can use too:

  1. git clone https://github.com/rahulg/textbcast
  2. Create a file (eg. phones.txt) with the phone numbers, separating each by a breakline
  3. Edit config file and enter your Hoiio App ID and Access Token, and also a sender name (if you don’t have SMS Rebranding enabled, enter your mobile number)
  4. Run ./bcast.sh phones.txt 
  5. Enter your desired SMS message
  6. Press Ctrl-D
  7. Press y

If all’s good, you will see success_ok status!

bcast


Posted by:

Numbers for 6 New Countries

January 07, 2013

We have added local phone numbers support for 6 more countries:

  • Denmark
  • Finland
  • Israel
  • Norway
  • Spain
  • Sweden

If you follow our blog closely, you should know the above “commit” can be found on Github.

Tags: ,
Posted by: