Author Archives: fangstar

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

SCALE 15x

Went to the SoCal Linux Expo today.  First time attending and it was pretty neat.  I went to the Reactor8 guys talks/workshop.  Didn’t know anything they were talking about at first but eventually got an idea of their talks.  Beginning … Continue reading

Posted in Linux | 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

Clash Royale Card Calculator

I play Clash Royale and decided to make a card calculator to calculate what level troops I would have with all my cards and how much gold it would cost.  I don’t upgrade all of the troops because who has … Continue reading

Posted in App Idea | 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

Google Geocoding API Example in PHP

I had to quickly create a script to set the latitude and longitude value in a DB knowing the address. I googled and found this codeofaninga.com site that explained the basics of how to use the Google Geocoding API. I decided to expand … Continue reading

Posted in Uncategorized | Leave a comment

iOS: Alamofire and SwiftyJSON

Alamofire is great to use to create an iOS app to web service. SwiftyJSON makes parsing JSON much simpler too. Liked this example for Alamofire http://www.raywenderlich.com/85080/beginning-alamofire-tutorial http://www.raywenderlich.com/87595/intermediate-alamofire-tutorial

Posted in iOS | Tagged | Leave a comment

iOS Swift Tutorial

Working on iOS app these days.  Updated an old iOS app that had to old Search Bar to the new iOS 8 version of Search Bar. Objective C Now doing POC for a new iOS app in Swift. Not a fan … Continue reading

Posted in iOS | Tagged , , | Leave a comment

Deleting messages in mailq

Had all these messages stuck in the mailq and couldn’t figure out how to delete the queued messages.  Turns out they were in these locations: /var/spool/postfix/deferred /var/spool/postfix/defer   Ubuntu Postfix

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