Categories
Hardware

Xerox ColorQube error code 001-535

New rounds with problems on a Xerox ColorQube, this time i was greeted with error code “001-535”. This “translates” to problems with the power supply.This was not resolved until a technician came on site with a new power supply to replace the old one.

Categories
Software Windows

Outlook 2010 error 0x800c8101

Outlook 2010 does not like to give simple error messages sometimes. When getting the error code “0x800c8101”, make sure that you have filled out the user information. For example “Full name” etc.

Categories
Web

Scam: RuneScape – Final warning: Legal actions for Real-World Trading (case No. gsUVpdKZl)

If you got this in your inbox and wonder if it is a spam, then i can confirm it. It is a spam mail that tries to phish your account information. Do NOT click the link in the mail.

Dear Customer,

We have strong evidence that you may have attempted a transfer of RuneScape accounts or traded virtual items outside of the game environment.

Real-world trading destroys the economy of RuneScape, violates your agreement with us, and any player that continues to engage in the illegal activity has no place in our community.

All of your accounts, main and otherwise, are now on our watch list and will be monitored for real-world trading. Regardless of who you are or how long you’ve been with us, if you decide to real-world trade ever again we will have no hesitation in: (1) permanently removing your account from our wonderful community in order to protect Jagex’s rights, and (2) naming you as a defendant in Jagex Limited v. John Does, which is a lawsuit based on antitrust law violations that is currently pending in the U.S. District Court for the Central District of California (Civ. Action No. SANC-V12-00972-CGC).

If you decide to ignore this email and instead continue Real-World Trading, we (Jagex Ltd) reserve our rights to pursue statutory damages against you for between $200 to $2,500 per act of past, present, and/or future real-world trading in accordance with 18 U.S.C. 1304(c)(2).

In addition, new infractions have been added to your RuneScape account. If left unchallenged your account will be temporarily or permanently suspended.

Please complete the following security form to monitor your account’s status or to appeal the infractions you have recieved:
http://**********************

Please note: Due to recent technical problems, some accounts were unfairly punished. Most of the void infractions have been removed. You should visit the appeal section to appeal any unjustified infractions received due to system errors.

Sincerely,
Mod Mark.

© 2012 All rights reserved by Jagex Ltd. and RuneScape.
Privacy Policy, Terms And Conditions: ****
St. John’s Innovation Centre, Cowley Road, Cambridge, CB5 1WS, England.

Categories
Development Java

GWT: Getting rid of iframe borders in IE8

IE8 defaults to displaying a frame border on iframes, this can be overridden by using the IFrameElement class.

Example:

IFrameElement.as(yourFrameClass.getElement()).setFrameBorder(0);
Categories
Uncategorized

Time used to convert a TB sized ext3 filesystem to btrfs

I have expanded my 11×1.5TB RAID6 to 10X3TB, and since i have everything in one ext3-filsystem, i realised that ext3 simply do not support such filesystem sizes yet. Or to be correct, the filesystem supports it but it is still not possible to resize a filsystem on Ubuntu above 16TB.

I could only find to solution which did not force me to drop all data, and that was to convert it to btrfs, as it support a convertion. I did not time the whole process but it did take me less than 30 hours for 9.5 TB.

Categories
Mobile & Gadgets Web development

How to make iframes scrollbable on iPad (even in GWT)

I am currently working on a GWT app that some places uses iframes. When i tested this on a iPad, i noticed that it was not possible to scroll the contents, even with the two fingers swipe trick.

This required a lot of testing, googling, failing and then some more testing.

Somebody solved this by setting parent elements of the iframe, to the iframe`s size, this did not give the wanted behavior. But what i did notice was that there was a lot of pointing towards the CSS rule: “-webkit-overflow-scrolling”. I tried this too, but it did not “just work”.

After some testing, i made it work when i added the CSS rule for almost all parent elements for that iframe. With the 3 parents of the iframe corrected, the ipad started working as expected. Yay!

-webkit-overflow-scrolling: touch;

But then, i got to the next problem. All the HTML elements that were hidden because of overflow, started disappearing, shrinking, getting cut in half, and other “fancy stuff”.

Luckily, there is a CSS fix for that too:

*:not(html) {
-webkit-transform: translate3d(0, 0, 0);
}

tl;tr: iPad gets correct iframe scrolling with two lines of CSS.

PS: This is verified on iPad3.

Categories
Linux Ubuntu

Linux: Finding motherboard model

Just had to locate the name of the motherboard on one of my servers, here comes dmidecode to the rescue! 🙂

To list all info it can find, simply run dmidecode. I executed the following command to find my motherboard model:

thu@dom0:~$ sudo dmidecode|grep "Product Name: "
Product Name: P5Q-E   
Product Name: P5Q-E  
thu@dom0:~$
Categories
Development Java

java.io.file renameTo return false

Had a issue today where a java function which moves files stopped working. I realised that Java`s io.file.renameTo only throws Exceptions for some scenarios. For some errors, it will only return false when something goes wrong.

Only getting true/false on a rather vital operation is rather silly, so my “fix” was to move over to a library from Apache, aka FileUtils.

So now i simply do this: FileUtils.moveFile(oldFile, newFile);

That function actually throws exceptions when something fails 🙂

Categories
Red Hat

Getting snmpwalk on Red Hat 5 (rhel5)

Needed snmpwalk on one of my Red Hat 5 boxes today, yum search snmpwalk gave no clues, but after some digging i found it in the package net-snmp-utils. 🙂

yum install net-snmp-utils

Categories
Development Linux

MRTG: ERROR: CFG Error in “Interval”: should be at least 5 Minutes (unless you use rrdtool)

Just setup MRTG the other day. And due to having some old switches to monitor, i chose to run the MRTG cron every minute, in order to be able to read traffic above 100Mbit. But even when i had specified rrdtool in the server config, i got these error messages:

ERROR: CFG Error in "Interval": should be at least 5 Minutes 
(unless you use rrdtool) at /usr/bin/../lib64/mrtg2/MRTG_lib.pm line 739 

The solution was pretty simple. Simply add the following line in mrtg.cfg:

Logformat: rrdtool
Interval: 1
Categories
Hardware

Xerox-printer giving error code 016-799

Just figured out that some Xerox-printers when getting a job with a unknown paper format or other strange settings. The printer will simply return the error code 016-799.

The only solution i has found for this so far is to make sure that the print jobs actually have a paper format that the printer supports. (And of course, no other strange settings…)

Pdf-files for example can in some cases have print settings embedded, so it is extra smart to check those before printing them.

Categories
Mobile & Gadgets

Samsung Galaxy S III: How to add shortcuts to the home screen

So i just got my new phone, a juicy Galaxy S III. But i quickly noticed that i did not quickly notice how i could add shortcuts to the home screen. (On HTC, it was simply to select add -> shortcut -> select shortcut).

This is how to add shortcuts on the S3:

  1. Long click a empty space on the home screen
  2. Choose “Add to home screen”
  3. Choose Apps
  4. Choose Widgets at the top right
  5. Find the app with the related shortcuts
  6. Place it on the home screen
  7. Voila, you should now be able to choose a relevant shortcut.