Karim Vaes

Why chop at leaves, when one must dig at roots
  • Home
  • About me
    • Curriculum Vitae
  • Scripts
    • OWA Most Popular
  • Search
  • License
  • Contact

Hardware platforms

Ever needed to filter certain F5 platforms within your installation scripts? If so, check out the following document at the tech part of f5.com

You’ll see a listing of all the hardware platforms like this:

Platform: C36
Models: BIG-IP 1500, Enterprise Manager 500
Form Factor: 1U
Host Board: Tyan 5112
Processor: Single Celeron 2.5GHz
SSL Card: Yes

Now combine the Platform code with a small bash script like this one:

HW=$($AWK -F= '/^platform/{print $2}' /PLATFORM )
case "$HW" in
  C62*)   HARDWARE=3400;;
  C36)    HARDWARE=1500;;
  D44)    HARDWARE=2400;;
  *)      HARDWARE=UNKNOWN;;
esac

And you can tweak your scripts to only support certain hardware.

Comments
No Comments »
Categories
F5
Comments rss Comments rss
Trackback Trackback
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

WordPress language issue under php5

If you’re experiencing this, check the following thread
…

You need to edit gettext.php file

Find entry:

if ($magic == ($MAGIC1 & 0xFFFFFFFF)) {
$this->BYTEORDER = 0;
} elseif ($magic == ($MAGIC2 & 0xFFFFFFFF)) {

Replace by:

if ($magic == $MAGIC1) {
$this->BYTEORDER = 0;
} elseif ($magic == $MAGIC2) {
Comments
No Comments »
Categories
OpenSource, Web, Wordpress
Comments rss Comments rss
Trackback Trackback
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

eBay scamming

After two and a halve months I brought myself to the conclusion that I’m not going to see the object I bought (for the moment, an “expensive imaginary” wii) or the money I paid for it. Was I naif to believe friends who told me that their was protection from eBay, maybe, … One thing is sure, I learned a great deal from this experience:

  • If you don’t receive (notice about) the shipping within one week, file a dispute indicating that the object was not received.
  • When in doubt, don’t wait to long to file a complaint. You can file a complaint (with eBay) after 10 days, but you have to do it within 60 days. I believed in the other guys story for too long, and I got passed the 60 days.
  • Do NOT do transactions without paypal or wiretransfer. They aren’t “supported” by eBay, and they will just waive your claim away.
  • Always do insured shipping, never go for economy class. Apparently the postal offices have a lot of thieves within their ranks.

Those may be obvious to the eBay veterans, but it wasn’t to me (as an eBay newbie) until this situation. What I can say is be aware of the risks when dealing on eBay. Not everyone is as fair as yourself. Here I have to say that (apparently) some nationalities have a tendency to be more a scammer. These statements are mine personally, and I’m aware that I’m judging a lot of people who might not deserve this. Yet… I never had any issues with English, German, Dutch or Flemish people. On the two occasions where I had problems, it were both French speaking persons. Once the object was broken (Wallon person), and this time I failed to receive anything (French person – Gérard Loriot – Limeil Brevannes).

To close this, I leave you with a helpful link on the matter. It can be found at here, credits to AuctionBytes.

Comments
No Comments »
Categories
General
Comments rss Comments rss
Trackback Trackback
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

New theme

I know, yet again… The priamos one wasn’t ideal. The dkblog was nice, but had image probs. The priamos wasn’t as clear as I wanted it to be. When posting code (like with the ant), it showed up totally wrong sometimes. So here we have a new one. How long will it last? ;-)

Comments
No Comments »
Categories
General
Comments rss Comments rss
Trackback Trackback
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Ant : tar & compress a file structure

The following code may be handy for you… It can be used to tar/compress a directory structure.


  
    
  
  
  
    
    
  
  
  

Checkout the CoreTasks section in the ant manual for references.

Comments
No Comments »
Categories
Java
Comments rss Comments rss
Trackback Trackback
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

« Previous Entries

Recent Posts

  • Treating the root cause to cancer
  • Is “entrepreneur” a bad word?
  • Where physics meets marketing
  • Where USSR meets IT?
  • Accepting our limitations, is giving us the opportunity to overcome them!

Similar Posts

  • bash getopts
  • Grinder : Load Testing Framework
  • Running back to the right mediacenter for my needs (part two)
  • bash : locking issues – example with setlock
  • Debugging solaris : when nobody else can help, you better call dtrace

Recent Comments

  • Karim Vaes on Accept every offer!
  • Danny on The teachings of Budo in Business
  • Pascal on The Service Catalog
  • Shubert on WordPress widget : Most popular posts
  • Dermana Agrı Kesici Krem on OWA Most Popular

Commercial

Categories

2.0 Ads Agile Bash Blogroll Book Brain Business Career Change CIO Collaboration Communication Corner Creative CRM Culture Desktop Development Dreambox Drupal Education Entrepreneur F5 Firefox Food Freelance Fun General Green Growth High Availability Human Resources Idea Infrastructure Insightful Interesting IT ITIL Java Lesson License Life Malware Management Mind Model Motivation MythTV Network NLP OpenSource Performance PHP PM Presentation Project Proverb Quote Remote Scrum Security SEO Social Spam Storage Stress Tactical Team Tech TED Time Management Tip Tool TV Ubuntu Unix/Linux Vids Vim Virtual VmWare Voip Web Wordpress

Archives

  • August 2010
  • July 2010
  • May 2010
  • April 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • August 2009
  • July 2009
  • June 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
rss Comments rss valid xhtml 1.1 design by jide licensed as Creative Commons Attribution