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

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

Codes for Web Safe Colors

When developing themes or doing anything that requires colors, it’s important that you know the hex codes of the color you want to use. They are the 6-number codes that represent a specific color which you use on your CSS.

The list below shows the codes for web safe colors. I kept this list on my usb drive and always had seach from the net numerous times as I don’t bring my usb drive with me all the time. Take note that most of the monitors and browsers can now display millions of colors and shades. Go somewhere else to get all of them hehe

000000 000033 000066 000099 0000CC 0000FF
003300 003333 003366 003399 0033CC 0033FF
006600 006633 006666 006699 0066CC 0066FF
009900 009933 009966 009999 0099CC 0099FF
00CC00 00CC33 00CC66 00CC99 00CCCC 00CCFF
00FF00 00FF33 00FF66 00FF99 00FFCC 00FFFF
330000 330033 330066 330099 3300CC 3300FF
333300 333333 333366 333399 3333CC 3333FF
336600 336633 336666 336699 3366CC 3366FF
339900 339933 339966 339999 3399CC 3399FF
33CC00 33CC33 33CC66 33CC99 33CCCC 33CCFF
33FF00 33FF33 33FF66 33FF99 33FFCC 33FFFF
660000 660033 660066 660099 6600CC 6600FF
663300 663333 663366 663399 6633CC 6633FF
666600 666633 666666 666699 6666CC 6666FF
669900 669933 669966 669999 6699CC 6699FF
66CC00 66CC33 66CC66 66CC99 66CCCC 66CCFF
66FF00 66FF33 66FF66 66FF99 66FFCC 66FFFF
990000 990033 990066 990099 9900CC 9900FF
993300 993333 993366 993399 9933CC 9933FF
996600 996633 996666 996699 9966CC 9966FF
999900 999933 999966 999999 9999CC 9999FF
99CC00 99CC33 99CC66 99CC99 99CCCC 99CCFF
99FF00 99FF33 99FF66 99FF99 99FFCC 99FFFF
CC0000 CC0033 CC0066 CC0099 CC00CC CC00FF
CC3300 CC3333 CC3366 CC3399 CC33CC CC33FF
CC6600 CC6633 CC6666 CC6699 CC66CC CC66FF
CC9900 CC9933 CC9966 CC9999 CC99CC CC99FF
CCCC00 CCCC33 CCCC66 CCCC99 CCCCCC CCCCFF
CCFF00 CCFF33 CCFF66 CCFF99 CCFFCC CCFFFF
FF0000 FF0033 FF0066 FF0099 FF00CC FF00FF
FF3300 FF3333 FF3366 FF3399 FF33CC FF33FF
FF6600 FF6633 FF6666 FF6699 FF66CC FF66FF
FF9900 FF9933 FF9966 FF9999 FF99CC FF99FF
FFCC00 FFCC33 FFCC66 FFCC99 FFCCCC FFCCFF
FFFF00 FFFF33 FFFF66 FFFF99 FFFFCC FFFFFF

By the way, I only realized now that my little blog site lacks color. Too bad I only realized this after making this post.

Incoming search terms:

  • color safe web
  • web safe colours 2011

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