Category Archives: Coding

What are those command options? explainshell.com

If you ever wondered what those options to a command are like rsync -avh folder1 /path/to/remote/dir Command: rsync Options: avh explainshell.com is the place to go have those option deciphered. Advertisements

Posted in Coding | Leave a comment

Way better technical problem site: Hackerrank.com

Screw the last post and interviewbits hackerrank way better.  The site and challenges feels more legit with much more explanation of question and expected input and output.  For the 2nd question totally missed the ability to run your code first … Continue reading

Posted in Coding | Leave a comment

Technical Interview example website: InterviewBit

Looking to brush up on technical interview questions.  Ran across this site, InterviewBit.  Only in the time complexity section, didn’t like the learning videos at all so skipped to the basic primer questions.  It’s OK just to get some practice … Continue reading

Posted in Coding | Tagged , | Leave a comment

DigitalOcean Ubuntu 14 -> 16

Finally getting around to upgrading my DigitalOcean Ubutu LAMP droplet from Ubuntu 14 -> 16. Steps: BACKUP db (I forgot this step!!). Ideally copy db dump to local Make a snapshot of droplet sudo apt-get update sudo apt-get upgrade sudo … Continue reading

Posted in Coding | Leave a comment

Configuration Management tool: Ansible

Been learning and playing with Ansible this week as a CM tool. What do we use it for? After you spin up an EC2 instance you can use a Ansible to add users/groups, ssh keys, install packages all from a … Continue reading

Posted in Coding | Leave a comment

CodeIgniter base project

If you are starting a CodeIgniter project, I’d recommend using https://github.com/kenjis/codeigniter-composer-installer as your base.  Composer makes things so much easier.  Then for User management and authentication use Ion_Auth (GitHub) If you need LDAP, Adldap2 is really easy to use. From … Continue reading

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

Selectize.js onInit load data for autocomplete

Selectize.js is a neat UI tool.  I got introduced to it via a coworker used it in a project.  I didn’t bother to really look into it until recently when I wanted to do autocomplete and multiple selects. I didn’t … Continue reading

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

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