Category Archives: Coding

CodeIgniter3 .htaccess removing index.php subdomain

Below is the general documentation for editing the .htaccess file to remove index.php from a url The documentation examples is example.com/index.php/news/article/my_article will be the same as example.com/news/article/my_article using .htaccess file of: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule … Continue reading

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

Time to relearn a new skill: Spark

I took a Spark class maybe earlier this year but can’t say I really remember any of it.  Figured I’ll just start at the beginning with an Intro to Spark class on edx.org. https://courses.edx.org/courses/course-v1:BerkeleyX+CS105x+1T2016/info   These days just developing an … Continue reading

Posted in Coding, Web | Leave a comment

TCPDF: Open Source PHP Class for generating PDF documents.

Been using TCPDF the last couple of days and have to say it is real easy to use.  The examples are really easy to follow and then customize to one’s own needs. Really easy to format the PDF using the table … Continue reading

Posted in Coding, Web | Tagged | Leave a comment

ADOdb library

Came across this today. Well saw someone use this library. seems pretty neat to check out more later.  Been writing my own SQL code for PHP scripts. Think this library can make this easier and generate part of it I … Continue reading

Posted in Coding | Tagged , | Leave a comment

Skills wanted

Here is the technology stack I came up with: HTML Bootstrap Framework JavaScript JQuery PHP MySQL Oracle (PL/SQL) Ruby on Rails NodeJS MongoDB AngularJS      

Posted in Coding | Leave a comment

Sublime Shortcuts

Man just found out a shortcut in Sublime that probably everybody but me knew. I can type div then ‘tab’ and it will add in the html brackets and closing bracket (<div></div>) Dam wished I would’ve known earlier.

Posted in Coding, Productivity | Tagged , | 2 Comments

M101JS: MongoDB for Node.js Developers

Signed up for this class. Woot! Not sure how to normalize and migrate a MySQL data to NoSQL data format.  I have an idea of what it should look like but figured might as well take a free class.  Looks pretty … Continue reading

Posted in Coding | Leave a comment

Socket programming resources

Working on c++ socket programming these days. Good resources: IBM socket programming libevent documentation The libevent seems pretty interesting. Not sure I can use it in my case but something to keep an eye out for asynchronous socket programming.

Posted in Coding | Tagged , , , , | Leave a comment

QT: Hide widget

Has to be done programmatically, in constructor would work : ui->Widget->hide(); Reference: http://www.qtcentre.org/threads/22640-Can-i-set-a-widget-(like-a-button-for-example)-hidden-in-Qt-Designer

Posted in Coding, Qt | Tagged , , | Leave a comment

Ruby on Rails Tutorial – Chapter 5

This chapter is more about front end web page changing portion and using TDD to do coding.  I like how it’s always adding a test case first, make sure it fails, then add code to make it work. Really drives … Continue reading

Posted in Coding, RoR | Leave a comment