How To Turn Off eShop Test Mode

If you are using the latest WordPress version (which you should!!!), you’ll notice that eShop plugin will be perpetually set to Test Mode and there’s no way to turn it off. There’s quite a number of suggestions in the official forum at quirm.net but as it turns out, the option is inadvertently hidden. All you have to do is to activate the two column mode of the dashboard and you’ll be able to see the dropdown option.


To be clear, here’s the screenshot on how to do it.
Step 1 : click on 2 in the Number of Columns Screen options.

Step 2 : Update the status to Live and click on Save.

For those looking for it, I know how you feel. I just felt too stupid to not thinking about it. Admittedly, it’s probably one of the many plugins affected by the latest WordPress enhancements. I bet once rich updated the plugin to conform with the new standard, then it won’t be a problem anymore.

Source:

http://quirm.net/forum/topic.php?id=4716

Incoming search terms:

  • eshop test mode
  • disable eshop test mode
  • disable test mode eshop
  • eshop in test mode
  • eshop turn off the test mode
  • test mode eshop plugin

Agoda Hotel Rate Search Plugin for WordPress

Here’s my first plugin for 2012. It’s a plugin to show the agoda seach widget inside your post. If more applicable for travel websites who are also Agoda Affiliate Partner.

  1. upload agoda_hrs.php to plugins folder
  2. activate the plugin
  3. set client id, country id and city id in the settings menu
  4. add [agoda_hrs] shortcode on your post.

[Read more...]

Incoming search terms:

  • agoda widget
  • agoda wordpress
  • wordpress agoda plugin
  • agoda wordpress plugins
  • agoda wordpress search widgets
  • agoda hotel price
  • plugin for show hotels in wordpress
  • hotel search wordpress
  • agoda plugin wp
  • plugin hotel search website

comfort Host Panel Down

I had a major database problem in one of my sites the other day (more on that later). Though I was able to rectify that with my backup, I wanted to restore my VPS from it’s daily backup using the control panel of ComfortHost. Unfortunately, I cannot access the main site and neither the panel site. That’s odd since my VPS is still up. Since the control panel is down, you cannot raise any ticket.
[Read more...]

Incoming search terms:

  • how to upload a theme to comforthost server

How to Cancel Dropbox Upload

There are times when you inadvertently upload large files from your phone to your cloud storage like Dropbox. And when you’re on an area with weak 3G/HSPA+ coverage, it will take forever to upload the file. The other problem is… it will drain your battery. That’s exactly what happened to me last night. What’s more annoying is that I can’t cancel the Dropbox upload. At least, I don’t know how.
[Read more...]

Incoming search terms:

  • clear dropbox upload
  • clear upload from dropbox
  • dropbox cancel upload
  • dropbox retry failed uploads
  • how to cancel dropbox upload
  • how to cancel dropbox uploading

How to Get The First File in Unix

In case you are looking files using ls or find command and only want to get the first file found, the command would be like.

ls -l /any/path/filename*|sed -e 's/\//,/g'|awk -F "," '{print $NF}'|head -1

Of course, you can also use it in find command.


find /any/path/ -name "filename*" -type f|sed -e 's/\//,/g'|awk -F "," '{print $NF}'|head -1

[Read more...]

Incoming search terms:

  • unix find first file

How to Display Seconds in Unix File Timestamp

Apparently, there’s no native shell command to show the seconds portion of a unix file timestamp. The nearest to this functionality is stat. However, it’s not always available in unix systems. I’m using HP-UX and it’s not installed on our server.

Instead, I needed to use a one-line perl program shown below.

perl -e .foreach(@ARGV){$t =localtime ( ( ( stat ( $_ ) ) [9] ) ); printf(.%-20s %s\n.,$_,$t);}. filename.txt

My perl knowledge is limited to its name. I have nothing beyond that. That’s my way of saying ‘I don’t know what it is.’ But it works!


Source:

http://www.unix.com/shell-programming-scripting/41325-command-get-file-timestamp-including-seconds-aix-5-3-a.html

Incoming search terms:

  • how to get timestamp of a file in unix
  • unix file timestamp
  • how to get the timestamp of a file in unix
  • unix file timestamp seconds
  • unix file time stamp
  • hw to display timestamp of a file in unix
  • how to timestamp of a file in seconds
  • how to see timestamp of file in unix
  • command to get the timestamp of a file second
  • how to find timestamp of a file in unix

SpotVPS First Impressions

After the unfortunate incident last week with NordicVPS, I decided to look for a new VPS host. As usual, I went to lowendbox and get the reviews in webhostingtalk. It’s there where I stumbled upon a promo from SpotVPS. As it turns out, SpotVPS is a low-cost VPS offering of ComfortHost.NET.

And who are they? Here’s what they say about themselves.

ComfortHost.NET have been here since 2004 offer high quality web hosting solutions. All SpotVPS nodes are fully owned hardware and are colocated. All servers used by SpotVPS have been bought with internal cash. Our only monthly cost for these servers are the actual colocation. We are financially healthy and profitable since day one. We are NOT going out of buisness any time soon. We are in it for the long run!

ComfortHost on http://www.webhostingtalk.com/showthread.php?t=1110770

Here’s the plan that I got.
$6.99/mo Ultimate Plan
Memory: 2048mb (2gb)
HD Space: 50gb (50,000mb)
Bandwidth: 1,000gb (1TB)
Monthly Price: $6.99/mo
Setup Fee: FREE!
FREE GIGABIT PORT – FREE WEEKLY BACKUPS – FREE HARDWARE RAID
Location: Orlando, FL at DimeNOC
Test IP Address: 72.29.87.105

2GB RAM for $6.99. That’s sweet. Want to try it yourself? ORDER NOW

Word of caution,though. This plan (and all other dirt-cheap vps that I know of) comes with very limited support. You are usually given your VPS, IP and OS install and you have to do the rest. I installed mine with NGiNx, PHP, MySQL and it’s already up and running for 7 days straight now.

Here’s the result of the test I made on my VPS.

[root@vps ~]# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 14.9939 seconds, 71.6 MB/s

[root@vps ~]# wget cachefly.cachefly.net/100mb.test
--2011-11-24 18:10:35-- http://cachefly.cachefly.net/100mb.test
Resolving cachefly.cachefly.net... 205.234.175.175
Connecting to cachefly.cachefly.net|205.234.175.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104857600 (100M) [application/octet-stream]
Saving to: `100mb.test'

100%[==============================================================================================================================>] 104,857,600 66.8M/s in 1.5s
2011-11-24 18:10:36 (66.8 MB/s) - `100mb.test' saved [104857600/104857600]

I’ll try to come up with a review together with my other hosting providers. :)

Incoming search terms:

  • spotvps
  • cachefly vps
  • comforthost spotvps
  • spotvps coupon
  • spotvps net
  • vps cachefly test
  • vps wget 10 mb test file

Nordic VPS Is Down Again

I’m a long time client of NordicVPS and it is really sad that their service level is going down the drain lately. First, it was the billing and payment issues. Lately, the unscheduled downtimes.. and now 4 hours on, the whole nordicvps site is down. For the month of November, I already experienced at least two long downtimes (5 hours and more). Sadly, a few of my money sites are hosted on my vps with them. Apparently, they have problems with their German servers.

However, speculations is rife that the reason the servers are down is because NordicVPS hasn’t pay yet. Here’s a screenshot of one of the posts in Webhosting talk.

I really hope that it’s not true.

My friend, Crixus, experienced more than a week of downtime and his tickets still unanswered. Admittedly, his site is up now but he’s planning to move elsewhere. He already paid 6 months in advance.

I’m thinking of moving to another unmanaged VPS hosting, too. It’s a painful process again given the number of domains I have in my NordicVPS account. I think I still have some credits with them, too. I’ll try to do it slowly. My concern is, most of the sites I host there have pagerank and if I move it to another server, the PR will be gone.

Sad, really sad.

**** UPDATE ****
Server is now up!!!!
However, the train has left the station. Time to wind down this server. :( I wish Sean and his team good luck.

Incoming search terms:

  • NordicVPS down
  • nordicvps
  • Nordic down
  • nordicvps down 2012
  • problem with nordicvps
  • vps 100mb test
  • vps review nordicvps

Monitor SQL Server DB Processes

If you don’t have DBArtisan or other more advanced SQL Editor, you can use the query below. Take note that you’ll need necessary rights to be able to run it.

select spid, status, blocked, open_tran, waitresource, waittype,
waittime, cmd, lastwaittype, cpu, physical_io,
hostname, hostprocess, loginame, program_name, net_address,
net_library, dbid, ecid, kpid, nt_domain, nt_username, uid, sid,
memusage, last_batch=convert(varchar(26), last_batch,121),
login_time=convert(varchar(26), login_time,121)
from master.dbo.sysprocesses
--where (blocked!=0 or waittype != 0x0000)

If you only want to see those that are blocking or locking, uncomment the last line. One thing that’s lacking here is the list of tables and database objects that each process id is using. That’s important if a user is running stored procedures and you need to know . I’ll provide that later as honestly, I don’t know yet which table holds that information.

I actually contributed this at SQL Reviewer as I don’t see a lot of websites that discusses this. For further reading, you may go to the MSDN website.

Incoming search terms:

  • www kwatog com

Blogging in the Train

With limited time and a couple of blogs at hand, posting regularly becomes a challenge. Aggravated by more work at your day job makes it more difficult. You need to be creative to be able to cope up with this kind of challenging situation. We need to balance our work life, blogging life, and of course our own life.

And one particular technique that I’ve been implementing is blogging while traveling and in my idle time while not at the office or at the comfort of home and internet connection. It feels the gap and make a rather dull travel into something useful.

Benefits

  • Make Time More Useful- while in the train, you don’t have to just count the number of people
    getting in and out of the train. And you can sit down in a corner blogging while your wife is shopping!
  • Keep Tabs on Idea-especially important when something interesting
    crops up while daydreaming inside the train or something happens interesting and worth blogging.

Disadvantages

  • No Sleeping-but you can always skip blogging if you really need to.
  • It’s another manifestation that you are a blog addict!
  • It’s another way to annoy your wife/gf.

Tools to Use

I’m currently using gmail for mobile on a N73 phone. It serves me well as I can email the post directly. However, any text editor available on your phone serves just as well. So any smartphone or pda is suitable.

Incoming search terms:

  • blog on the train