gneady.com
Administration | Coding Adventures
http://gneady.com/category/administration
Yet another site about web programming experiments. Prepare a LAMP web development server on Amazon EC2. July 16, 2014. Here is a quick checklist for setting up LAMP development server on Amazon EC2. I used a standard Amazon Linux AMI on a T2.micro instance, which costs about $9/month at the time of writing this. Edit the DNS zone for your domain to add an A record for a sub-domain to point to the public IP of the instance. I recommend setting the TTL to 60 for fastest updates of IP later if necessary.
gneady.com
Creating an ON/OFF switch using bootstrap and jQuery | Coding Adventures
http://gneady.com/creating-an-onoff-switch-using-bootstrap-and-jquery
Yet another site about web programming experiments. Creating an ON/OFF switch using bootstrap and jQuery. November 6, 2014. In some projects that I work on, I need a quick way of adding some cool-looking user-friendly on/off switch. Checkboxes are ugly! And I don’t want to add a new component/plugin to the already loaded pages. So, I wrote some quick code snippet for a switch based on Bootstrap 3. Here is the HTML code:. Btn btn-info locked active". Btn btn-default unlocked inactive". Here is what the ou...
gneady.com
jquery | Coding Adventures
http://gneady.com/tag/jquery
Yet another site about web programming experiments. Creating an ON/OFF switch using bootstrap and jQuery. November 6, 2014. In some projects that I work on, I need a quick way of adding some cool-looking user-friendly on/off switch. Checkboxes are ugly! And I don’t want to add a new component/plugin to the already loaded pages. So, I wrote some quick code snippet for a switch based on Bootstrap 3. Here is the HTML code:. Btn btn-info locked active". Btn btn-default unlocked inactive". Here is what the ou...
gneady.com
JavaScript | Coding Adventures
http://gneady.com/category/javascript
Yet another site about web programming experiments. Creating an ON/OFF switch using bootstrap and jQuery. November 6, 2014. In some projects that I work on, I need a quick way of adding some cool-looking user-friendly on/off switch. Checkboxes are ugly! And I don’t want to add a new component/plugin to the already loaded pages. So, I wrote some quick code snippet for a switch based on Bootstrap 3. Here is the HTML code:. Btn btn-info locked active". Btn btn-default unlocked inactive". Here is what the ou...
gneady.com
How to paginate a database query in PHP — the no-frameworks way | Coding Adventures
http://gneady.com/how-to-paginate-database-query-php
Yet another site about web programming experiments. How to paginate a database query in PHP — the no-frameworks way. May 14, 2014. OK, I admit! Every time I have to write similar code I get stuck rethinking it — every time … If I wasted 10 minutes thinking of it every time, and I did so for 100 times, then I’ve already wasted more than 2 working days in the last 12 years doing it! I guess it’s time to stop that loss! So, how should pagination be handled in the server side? Here I define it in code, but c...
gneady.com
Life style | Coding Adventures
http://gneady.com/category/life-style
Yet another site about web programming experiments. Category Archives: Life style. Sitting for a long time is unhealthy. November 2, 2013. If your job requires long hours of sitting, for example in front of your PC, you are subject to many health risks — even if you do exercise daily. There are things you could do to fix this, including standing up rather than sitting down while working. Creating an ON/OFF switch using bootstrap and jQuery. Prepare a LAMP web development server on Amazon EC2.
gneady.com
Linux | Coding Adventures
http://gneady.com/tag/linux
Yet another site about web programming experiments. Prepare a LAMP web development server on Amazon EC2. July 16, 2014. Here is a quick checklist for setting up LAMP development server on Amazon EC2. I used a standard Amazon Linux AMI on a T2.micro instance, which costs about $9/month at the time of writing this. Edit the DNS zone for your domain to add an A record for a sub-domain to point to the public IP of the instance. I recommend setting the TTL to 60 for fastest updates of IP later if necessary.
gneady.com
Git | Coding Adventures
http://gneady.com/category/git
Yet another site about web programming experiments. Using Dropbox as a remote Git repository. September 13, 2013. Based on a post at StackOverflow. Create a bare repository inside a Dropbox folder. This would act as a remote repo. Inside the local repo, use push. To make that remote repo look exactly like the local one (except the remote is a bare repository). This will push all refs (branches and tags) including non-fast-forward updates. Creating an ON/OFF switch using bootstrap and jQuery.
gneady.com
LAMP | Coding Adventures
http://gneady.com/tag/lamp
Yet another site about web programming experiments. Prepare a LAMP web development server on Amazon EC2. July 16, 2014. Here is a quick checklist for setting up LAMP development server on Amazon EC2. I used a standard Amazon Linux AMI on a T2.micro instance, which costs about $9/month at the time of writing this. Edit the DNS zone for your domain to add an A record for a sub-domain to point to the public IP of the instance. I recommend setting the TTL to 60 for fastest updates of IP later if necessary.
gneady.com
bootstrap | Coding Adventures
http://gneady.com/tag/bootstrap
Yet another site about web programming experiments. Creating an ON/OFF switch using bootstrap and jQuery. November 6, 2014. In some projects that I work on, I need a quick way of adding some cool-looking user-friendly on/off switch. Checkboxes are ugly! And I don’t want to add a new component/plugin to the already loaded pages. So, I wrote some quick code snippet for a switch based on Bootstrap 3. Here is the HTML code:. Btn btn-info locked active". Btn btn-default unlocked inactive". Here is what the ou...