Skip to content

Instantly share code, notes, and snippets.

@uzyn
uzyn / gist:2688024
Created May 13, 2012 11:53
array_merge recursive
<?php
$a = array(
'asdf' => array(
'qqqq' => 'pppp',
'wwww' => 'oooo',
'eeee' => 'iiii'
),
'default' => 'yes'
);

About Composer

Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.

With Packagist, you get access to a vast library of reusable PHP components that will help a lot in your development work.

About this plugin

This is a CakePHP plugin to use Composer conveniently with your CakePHP 2.x project.

@uzyn
uzyn / opauth-cakephp-tutorial.md
Created June 25, 2012 04:45
Tutorial for Opauth CakePHP plugin

Implement Opauth, a simple PHP multi-provider authentication framework, on CakePHP

What is Opauth?

Opauth is a multi-provider authentication framework for PHP, inspired by OmniAuth for Ruby.

Opauth enables PHP applications to perform user authentication across different providers with much ease & simplicity.

Opauth interfaces between authentication providers' API and your PHP applications through strategies. Strategies available for Opauth include Facebook, Google, Twitter, OpenID, and more.

@uzyn
uzyn / gimme-quora.md
Created July 20, 2012 03:39
Reveal Quora without logging in

Quora now forces users to log in to simply browse the site or read the discussions.

You can now hide the annoying X-less pop-up with the following bookmarklet:

<a href="javascript:(function(){$('.fb_signup_background').hide();$('.fb_signup_dialog').hide();$('.blurred_answer').css('text-shadow', 'none').css('color', 'inherit');$('.signup_cta_on_answer').hide();})();">Gimme Quora</a>

Just the JavaScript part:

@uzyn
uzyn / hiring-php-engineer.markdown
Created August 13, 2012 15:18
Hiring PHP Software Engineer

Hiring PHP Software Engineer

Job Description

Zynesis is a profitable startup based in Singapore with 2 major arms: Consulting and In-house Product Development. We provide PHP and cloud computing consultations; while internally, we are working towards relaunching of a new Ping.sg.

We are seeking PHP Software Engineer to scale out our development work.

The ideal candidate will be comfortable developing applications and services that leverage on CakePHP, able to work within an agile development process, and be comfortable with project management and code versioning tools. We are open to telecommuting if you have the sufficient skills and sense of responsibility. We will meet a few times a week for discussions and initial trainings.

@uzyn
uzyn / es.sh
Created February 26, 2013 08:51
cd ~
sudo apt-get update
sudo apt-get install openjdk-7-jre-headless -y
wget https://github.com/elasticsearch/elasticsearch/archive/v0.20.1.tar.gz -O elasticsearch.tar.gz
tar -xf elasticsearch.tar.gz
rm elasticsearch.tar.gz
sudo mv elasticsearch-* elasticsearch
sudo mv elasticsearch /usr/local/share

Hiring PHP Software Engineer in Malaysia

Job Description

Zynesis is a profitable startup based in Singapore with 2 major arms: Consulting and In-house Product Development. We are looking to expand our Malaysian team.

Hiring Social Media Curator in Singapore

Job Description

Zynesis is a profitable startup with 2 major arms: IT Consulting and In-house Product Development. We are looking to expand our team.

@uzyn
uzyn / ipay88-unsettled-payments.md
Last active August 29, 2015 14:01
Emails between U-Zyn and iPay88 to follow up on unsettled payments

Emails between U-Zyn and iPay88 on unsettled payments

Prior to these emails, iPay88 has terminated our account with them, with 0-hour notice.

We have only come to know of the termination after getting reports from our customers that their payments failed. We had to initiate the first email checking on what has happened and only then they would replied me, 2 days after my email, that my account was suspended.

Note also that this is not the first time that it has happened. We have had at least twice that our service was halted with zero notice but reinstated after talking with their customer support.

At the time when the first email in this thread was sent, it was 2 weeks in after termination while they were still refusing to clear the funds that our customers had paid. Note that our arrangement with them is that they would settle payments in at most a week after receiving them.

Keybase proof

I hereby claim:

  • I am uzyn on github.
  • I am uzyn (https://keybase.io/uzyn) on keybase.
  • I have a public key whose fingerprint is BFAA 1DC8 144A 5814 2733 F523 3FA0 C40D 1797 8A59

To claim this, I am signing this object: