Author Archives: lysender

1Password button not working on Firefox

It’s been 2 weeks now my 1Password extension is not working on Firefox. The button is not clickable even after upgrading to the latest Firefox version. After asking help from 1Password on Twitter, it turns out that the fix is … Continue reading

Posted in Personal Blog | Tagged , | 1 Comment

Rails 5 – API Only – Enable Cookies and Sessions

So you’ve been trying a lot of trial and errors just to enable cookie based session on a API only rails app? Are you trying to customize the cookie expiration but it simply defaulting to default session only cookies? The … Continue reading

Posted in Ruby, Web Development | Tagged , | Leave a comment

Carrierwave AWS – copying files from one model to another

We have already a working code for copying Carrierwave files from one model to another, however, it is only working for file based storage. For Amazon S3 storage, it is quite not working. Here is our old code: Every time … Continue reading

Posted in Ruby | Tagged , | Leave a comment

Re: Backup Internet

Being a web developer who works at home, would you believe that I survived working for more than one year with just one internet connection? It was just fine until issues arise from my main internet provider. Today, I couldn’t … Continue reading

Posted in Personal Blog | Leave a comment

Rails 5 – Self Join belongs_to – entity must exist error

Wow, this is my first post for Ruby on Rails and Ruby in general! So what I’m trying to do is very simple: create a self join relationship for the user table like a parent/child relationship. However, Rails always complains … Continue reading

Posted in Ruby, Web Development | Tagged | 1 Comment

Install Gearman Module to Ubuntu Xenial with PHP 7

The Gearman PHP module is the last piece of dependency missing in our stack before we can consider moving to PHP7. I’m currently testing Ubuntu 16.04 Xenial on PHP7 and unfortunately, the gearman module is not yet available on official … Continue reading

Posted in Linux, php | Tagged , | 2 Comments

PHPStorm – open an editor window without creating a new file – stormrant

Coming from SublimeText, I missed opening an editor window and start typing or copying and pasting content that I would throw away later. With PHPStorm, you have to create a new file under the project. However, a handy plugin comes … Continue reading

Posted in PHPStorm | Leave a comment

Using Magnet links in KTorrent

I’ve been curious about this Magnet link stuff and I decided to give it a try after some feedback that the usual torrent file does not work. I though that this magnet links are some sort of scam that extort … Continue reading

Posted in Personal Blog | Tagged , , | 3 Comments

Beware of using VPN when transacting with Paypal

I just got my account put under review due to alleged suspicious activities on my Paypal account. I’m always using PrivateInternetAccess VPN with a US IP for the purpose of security and most importantly, to have a stable connection! It … Continue reading

Posted in Personal Blog | Leave a comment

Docker – AWS S3 PHP Uploads – [curl] 6: Could not resolve host – DNS issues

Last night when I was trying to upload a new profile pic in our app, S3 uploads suddenly stopped working. Other S3 API methods are working fine except for the upload or PUT method. I have done many changes on … Continue reading

Posted in Web Development | Tagged , , , , , , | Leave a comment