Warning and error messages suppression on PHP, CodeIgniter


If you’re like me, stuck with 3 years old, unmaintained code that has to run on newer PHP version, you’re bound to receive some warning and error messages along the way. The correct way when facing situation like this is to find out what is causing these messages, and fix them. Well, perhaps To set…

HTTP 404 and 500 problem with CodeIgniter and Apache


So, a certain website that our department supposed to manage was hosed up. Apparently it was a VPS node that noone was aware of, and one that we have lost control of. We managed to pull out the website codes from the original server via cpanel, and score a secondary node, and load apache, php,…

sftp hardening with chrooting and ACL


Chrooting is always a great option when you want to roll out  a service that will be accessed by a lot of users, even more so if it’s on the internet. On OpenSSH’s sftp server, chrooting is a couple of lines of setup away. You can add ACL on top of that to get more…

Android apps on your linux (+chrome) box


This is a fairly simple tutorial on how to get your favorite android apps running on your Linux (or Windows, or Mac) boxen. Please note that not every android apps is compatible with ARC. Some apps are specific to certain framework such as Samsung’s TouchWiz or HTC’s Sense, and those that requires Google Play Service…

Using CSV file with webMethods Integration Server


So you have built a webservice that do certain things on transaction model. Then you need to do the exact same thing, but instead of realtime, you need in a batch, processing certain amount of data at once, instead of one data per-request. Should you devise another application or system that does the exact same…

Accessing Webmethods IS SOAP webservice from Sharepoint and Infopath


Yes, yes.. I know Infopath is basically dead. But anyway, these are a couple of stuff that we need to do to get a Webmethod IS hosted SOAP webservice to work on Infopath and sharepoint. On your Software AG Designer, go to the webservice that you’ll be exposing to Infopath, left click and select Properties….

scripting ftp/sftp transfer in a single line command


Do you ever find yourself in dire need to do file transfer with ftp or sftp on only a single line? You can “get” files with a single sftp command, but you can’t do “put”. A couple of way you can do this are: You can use sftp in batch mode, put everything in a…

Preventing your smtp server being marked as spam sender


So my last post talked about setting up an smtp server strictly for the purpose of sending e-mail out.  Google sometimes categorizes such server as a bulk sender. Mail servers don’t usually like bulk senders, since they, for the most part are source of spams and advertisements. Below are a couple of pointers that could…

E-Mail header manipulation with Postfix


So the company I’m working for requires some agents from our partner to be able to send email on our behalf, using our domain, from their site. We can give them access to our Office365 smtp server but then we need to deal with authenticating them without giving them too much access, and currently there’s…

Realtek r815x USB 3.0 Ethernet adapter on Linux


So if you’re using Ubuntu 14.04 (and derivatives) and you are having trouble using an RTL815x based USB ethernet adapter, like connection being dropped after a while, or the interface simply refusing DHCP, please make sure that you’re using the latest available kernel for your distro. To check: ikhsan@SlaveE:~$ uname -r 3.13.0-37-generic If you’re using…