Skip to main content

Posts

Showing posts from 2019

Add Brave Browser to Netbeans

We'll I'm liking Brave now, great isn't it. With the token and all and privacy and stuff. And all the good stuff, right? So what other good thing we can do about it other than adding it to our favorite editor. So here it is, adding it is through Tools->Options->General Edit Web Browser Manager and add this setting below. Find the brave.exe usually it can be found in C:\Program Files (x86)\BraveSoftware\Brave-Browser\Application\brave.exe and voila we're good. See you next posts everyone!

Goodbye CoinHive, hello CoinImp

Hi again, we'll just got a few simple mining pages for monero before with CoinHive, it was fun. Never got much from it but I'll try again. Sadly, CoinHive is no more. Gladly though, found CoinImp and it's very similar. And they have referral program. :) So I encourage you guys to try it and try it using my referral link http://www.coinimp.com/invite/303994ca-b78a-4d0f-8cf8-a405419017ea Good luck everyone and happy mining. If you need help setting it up, maybe I'll try to do another post about it soon. All the best.

Multiple configuration files for CodeIgniter

I recently came across a problem which is very common when deploying a web application. This time, I'm trying it with CodeIgniter. I purchased a domain and a small shared hosting to which I deploy a simple app. Along with it, I purchased the SSL so it should be accessed with https rather than http. Even all http request should be redirected to https, that's two problems. A way to solve it is via .htaccess in the root app directory. For multi environments, we can set a CI_ENV variable via     SetEnv CI_ENV development So in our application/config directory we can add production directory which consist of config.php and database.php. These settings are then for production. So when we deploy the application, we need to updated those settings for production. As for me, I also have test and stage settings so I also have those directories in my config directory with config.php and database.php corresponding to that environments. This is preferred since we need to test it and...