internetbandaid.com
daemon at Internet Bandaid
http://internetbandaid.com/tag/daemon
Archive for the ‘daemon’ tag. SVNserve (Subversion) on 1and1. A new post has been written on this subject. Please read. SVN Access Via SSH Keys for Linux and Windows. For an updated and working solution (works on 1and1 as well). 8212;– Old Original Post ——-. I spent the week trying to get Multiple Subversion User Accounts to work on a 1and1 Linux Business Package. I FAILED. The 1and1 tech team told me they do not allow it. In the end, I released my sole ssh credentials to my developers, which they used t...
internetbandaid.com
business at Internet Bandaid
http://internetbandaid.com/tag/business
Archive for the ‘business’ tag. Consulting Budget – Estimate Overruns – Fixed Price Game. I was reading this article. ERP Cost: Getting Real. A lot of what is said applies to freelance web software development. Key points are:. 1 There is a direct correlation between the cost of consulting services and the ability of the client to take more project responsibility. This goes beyond just cost; it is also about increasing the probability of success. Written by John Lai. July 17th, 2010 at 10:11 pm. 8221; Th...
internetbandaid.com
Human readable text belong in database, views or language files – Best Practice at Internet Bandaid
http://internetbandaid.com/2014/03/28/human-readable-text-belong-in-database-views-or-language-files-best-practice
Human readable text belong in database, views or language files – Best Practice. My response to a developer after I saw human readable text in model and controller files:. Your human readable error messages need to appear in the view file. Right now i see code like this in controller or model files:. ErrMsg = “Birth date can’t be in the future”. View = load(‘template.php,’,$viewdata = array(‘error’= $errMsg) ;. Consider the following scenario:. If($errorLog['weight']) echo ‘the error message’. Ubuntu Com...
internetbandaid.com
1and1 business package at Internet Bandaid
http://internetbandaid.com/tag/1and1-business-package
Archive for the ‘1and1 business package’ tag. I’ve been using 1and1.com’s business package (shared linux hosting) as my staging server for the past 4 years without problems. I’ve used it for the following purposes:. Php 4 and php 5 applications. Mysql 4.0 and mysql 5.0 databases. Multiple domains and multiple sub domains. Setting up ssh keys for other developers (because they only offer 1 ssh account). Purchased an SSL for one of my domains (easy to set up). To host a blog that gets 500 pageviews per day.
internetbandaid.com
Internet Bandaid
http://internetbandaid.com/page/2
Human readable text belong in database, views or language files – Best Practice. March 28th, 2014 at 4:30 pm. My response to a developer after I saw human readable text in model and controller files:. Your human readable error messages need to appear in the view file. Right now i see code like this in controller or model files:. ErrMsg = “Birth date can’t be in the future”. View = load(‘template.php,’,$viewdata = array(‘error’= $errMsg) ;. Consider the following scenario:. Directly in the view file.
internetbandaid.com
Useful ways to free up ubuntu ports at Internet Bandaid
http://internetbandaid.com/2014/10/16/useful-ways-to-free-up-ubuntu-ports
Useful ways to free up ubuntu ports. This will find what’s using port 80 and might even tell you the process number. Netstat -lnp grep :80. Another way to do it. Written by John Lai. October 16th, 2014 at 12:45 pm. How to be a dinosaur. Mail (will not be published) (required). How does a technical lead ensure a team learns new things? Reactive Programming with ReactJS. Ubuntu Command Line Only. PHP Mail() with Postfix on Ubuntu – V2. Launch Phase Revision Policy. Mdash; Built for WordPress.
internetbandaid.com
Code Details – Best Practice at Internet Bandaid
http://internetbandaid.com/2014/03/18/code-details-best-practice
Code Details – Best Practice. 1) USE PREPARED STATEMENTS/PARAMETER BINDS. In your model, I see you doing something good by sanitizing input before binding to a query:. Result=mysqli query($GLOBALS['dbcon'],"SELECT * FROM tbl automobiles where automobile id=".( int)$id). To make things easier, mysqli (and PDO db library) has something called prepared statements that let’s you bind parameters. I’m going to use some pseudocode right now to demonstrate:. 2) PHP SHORT HAND ECHO NOTATION. The fact that you use...
internetbandaid.com
bluehost at Internet Bandaid
http://internetbandaid.com/tag/bluehost
Archive for the ‘bluehost’ tag. 1and1 vs. Bluehost vs. HostGator. Cons: Limited number of databases, each limited to 100 mb, poor tech support, bad reputation. Pros: Very affordable, DNS changes are fast, decent customer service. Cons: I’ve experienced 4 downtimes in 1 month. Tech support say they do not support subversion, so although I installed it myself, Bluehost system administrators may one day, without any warning, configure their servers in a way that disables my repositories. I wish there were ...
internetbandaid.com
beanstream at Internet Bandaid
http://internetbandaid.com/tag/beanstream
Archive for the ‘beanstream’ tag. Multiple Currency for Volusion. Volusion misleadingly advertises that it supports multicurrency. What I mean by misleading is that it can display different currencies on your website as long as you manually enter an exchange rate into your control panel’s configuration. But when the customer check’s out, Volusion will only process the payment against one merchant account at a time. As a consequence, the following is not possible:. Written by John Lai. UPDATE: I wrote thi...
internetbandaid.com
career at Internet Bandaid
http://internetbandaid.com/tag/career
Archive for the ‘career’ tag. Valuable Skills an Employee Should Have. From my experience working with a couple of co-op students, I’d have to say the two most valuable skills a new employee should have are: 1) to be able to read between the lines. And 2) to be able to program software. The latter skill is obvious. The reason it takes a backseat to the former is because by the time you get to work with me, it’s a given that you know how to code or that you’re a quick learner. Written by John Lai. Further...
SOCIAL ENGAGEMENT