quakey.wordpress.com
VIM Syntax Highlighting | Quakey's Corner on the Far Side of the Net
https://quakey.wordpress.com/2007/07/11/vim-syntax-highlighting
Quakey's Corner on the Far Side of the Net. July 11, 2007 at 6:26 am. For anyone who uses CakePHP. 12 branch should know the template/view files now end with the .ctp extension (instead of .thtml). However, Vim doesn’t recognize that extension so syntax highlighting won’t be activated when you edit the files in Vim. Last thing I want to do is to code in Vim without syntax highlighting! Search for the string “php” and you will find the lines you need to modify and just add *.ctp like below:. Acloudtree &r...
quakey.wordpress.com
Learning MySQL 5 Stored Procedures | Quakey's Corner on the Far Side of the Net
https://quakey.wordpress.com/2007/06/19/learning-mysql-5-stored-procedures
Quakey's Corner on the Far Side of the Net. Learning MySQL 5 Stored Procedures. June 19, 2007 at 8:04 pm. I recently have been trying to pick up Stored Procedure. In MySQL 5. It has been pretty straight forward to learn if you already have done any programming before. Just a matter of familiarizing yourself with the syntax. If you are learning Stored Procedure from scratch just like me, here are a few gotchas I’ve found:. DECLARE statements *must* come at the top of each procedure. MySQLi extension is re...
quakey.wordpress.com
Bugzilla 2.18.3 Stopped Working | Quakey's Corner on the Far Side of the Net
https://quakey.wordpress.com/2007/07/16/bugzilla-2183-stopped-working
Quakey's Corner on the Far Side of the Net. Bugzilla 2.18.3 Stopped Working. July 16, 2007 at 9:39 pm. At work we use Mozilla’s Bugzilla. That is odd. First thing I checked was to see if it was a MySQL permission issue. Nope, the user permission settings were just fine. If I ran that SQL statement manually as the Bugzilla user at MySQL console, I got:. ERROR 1054 (42S22): Unknown column 'bugs.bug id' in 'on clause'. To (notice the parentheses surrounding “bugs, profiles AS map assigned to”):. This bug is...
quakey.wordpress.com
September | 2011 | Quakey's Corner on the Far Side of the Net
https://quakey.wordpress.com/2011/09
Quakey's Corner on the Far Side of the Net. Archive for September, 2011. Iptables’ recent module parameter. Since most likely the recent module is already loaded and changing the parameter will involve either rebooting or unloading the module (and its dependency modules) which is not ideal if it is a live server. Luckily there is a way to change the parameter on the fly. Say you want to increase the hitcount to 100, you can do:. Echo 100 /sys/module/ipt recent/parameters/ip pkt list tot.
quakey.wordpress.com
Enable MySQLi Extension in PHP | Quakey's Corner on the Far Side of the Net
https://quakey.wordpress.com/2007/06/22/enable-mysqli-extension-in-php
Quakey's Corner on the Far Side of the Net. Enable MySQLi Extension in PHP. June 22, 2007 at 7:09 pm. In my previous blog. I talked about MySQL’s stored procedures and how MySQLi support must be enabled in PHP in order to utilize stored procedures. That also means a re-compilation of PHP is necessary. To compile PHP with MySQLi support, you need to add this to PHP configure:. With-mysqli[=location of mysql client]. Mysql client - version. Next, go on to MySQL’s website. Tar zxvf mysql-5.x.xx....You do no...
quakey.wordpress.com
Turn on VIM Syntax Highlighting | Quakey's Corner on the Far Side of the Net
https://quakey.wordpress.com/2007/07/26/turn-on-vim-syntax-highlighting
Quakey's Corner on the Far Side of the Net. Turn on VIM Syntax Highlighting. July 26, 2007 at 6:55 am. I have noticed that a few people have come to my blog hoping to find out why their VIM doesn’t have syntax highlighting at all. Well, if the syntax highlighting is disabled, you just go in the command mode and do:. Of course, you wouldn’t want to do that every time you edit a file. To make it default, just create/edit the file /.vimrc and put “syntax on ” on a line of itself. Entry filed under: Linux.
quakey.wordpress.com
Iptables’ recent module parameter | Quakey's Corner on the Far Side of the Net
https://quakey.wordpress.com/2011/09/16/iptables-recent-module-parameter
Quakey's Corner on the Far Side of the Net. Iptables’ recent module parameter. September 16, 2011 at 6:52 am. Since most likely the recent module is already loaded and changing the parameter will involve either rebooting or unloading the module (and its dependency modules) which is not ideal if it is a live server. Luckily there is a way to change the parameter on the fly. Say you want to increase the hitcount to 100, you can do:. Echo 100 /sys/module/ipt recent/parameters/ip pkt list tot. Get every new ...
quakey.wordpress.com
Quakey's Corner on the Far Side of the Net | Just another WordPress.com weblog | Page 2
https://quakey.wordpress.com/page/2
Quakey's Corner on the Far Side of the Net. Why is marijuana outlawed while liquors aren’t? We all know how messed up people get when they are liquored up. We have heard of all kinds of incidents/accidents due to alcohol in our blood stream but how many of you have heard of marijuana causing the same kinds of problems? Wouldn’t you think marijuana is a “safer” way to get “high”? Someone told me marijuana was outlawed due to racial discrimination which I hope is not true. June 19, 2007 at 2:02 am. Luckily...
gregmoreno.wordpress.com
How to create a wrapper gem for service APIs – part 1 | Greg Moreno
https://gregmoreno.wordpress.com/2012/06/07/how-to-create-a-wrapper-gem-for-service-apis-part-1
Think BIG, act small. How to create a wrapper gem for service APIs – part 1. June 7, 2012. APIs are getting more and more popular as apps and services move to the cloud. Whenever you need to integrate a popular web service API into your Ruby app, 99.99% of the time there already exists a gem ready for use. That is a testament to how active Ruby developers are in supporting the community. You may eventually need to adopt a services architecture to support upcoming features and make things manageable.
SOCIAL ENGAGEMENT