IP

List of Ebay shipping services in UK

April 14, 2013

<?xml version="1.0&#8243; encoding="UTF-8&#8243;?> <GeteBayDetailsResponse xmlns="urn:ebay:apis:eBLBaseComponents"> <Timestamp>2013-04-13T07:54:20.770Z</Timestamp> <Ack>Success</Ack> <Version>813</Version> <Build>E813\_INTL\_BUNDLED\_15816370\_R1</Build> <ShippingServiceDetails> <Description>Standard Int'l Postage</Description> <InternationalService>true</InternationalService> <ShippingService>UK_SellersStandardInternationalRate</ShippingService> <ShippingServiceID>50301</ShippingServiceID> <ServiceType>Flat</ServiceType> <ValidForSellingFlow>true</ValidForSellingFlow> <DetailVersion>74</DetailVersion> <UpdateTime>2013-04-08T14:42:28.000Z</UpdateTime> <ShippingCategory>STANDARD</ShippingCategory> </ShippingServiceDetails> <ShippingServiceDetails> <Description>Collect+ Tracked: drop at store-delivery to door</Description> <ShippingService>UK_CollectPlusTrakedDeliveryToDoor</ShippingService> <ShippingServiceID>330</ShippingServiceID> <ShippingTimeMax>5</ShippingTimeMax> <ShippingTimeMin>3</ShippingTimeMin> <ServiceType>Flat</ServiceType> <ValidForSellingFlow>true</ValidForSellingFlow> <DetailVersion>74</DetailVersion> <UpdateTime>2013-04-08T14:42:28.000Z</UpdateTime> <ShippingCategory>ECONOMY</ShippingCategory> </ShippingServiceDetails> <ShippingServiceDetails> <Description>Royal Mail Airmail (Small Packets)</Description> <InternationalService>true</InternationalService> <ShippingService>UK_RoyalMailAirmailInternational</ShippingService> <ShippingServiceID>50302</ShippingServiceID> <ServiceType>Flat</ServiceType> <ValidForSellingFlow>true</ValidForSellingFlow> <DetailVersion>74</DetailVersion> <UpdateTime>2013-04-08T14:42:28.000Z</UpdateTime> <ShippingCategory>NONE</ShippingCategory> </ShippingServiceDetails> <ShippingServiceDetails> <Description>Hermes Tracked</Description> <ShippingService>UK_myHermesDoorToDoorService</ShippingService> <ShippingServiceID>322</ShippingServiceID> <ShippingTimeMax>5</ShippingTimeMax> <ShippingTimeMin>3</ShippingTimeMin> <ServiceType>Flat</ServiceType> <ValidForSellingFlow>true</ValidForSellingFlow> <DetailVersion>74</DetailVersion> <UpdateTime>2013-04-08T14:42:28.000Z</UpdateTime> <ShippingCategory>ECONOMY</ShippingCategory> </ShippingServiceDetails> <ShippingServiceDetails> <Description>Royal Mail 1st Class</Description> <ShippingService>UK_RoyalMailFirstClassStandard</ShippingService> <ShippingServiceID>301</ShippingServiceID> <ShippingTimeMax>2</ShippingTimeMax> <ShippingTimeMin>1</ShippingTimeMin> <ServiceType>Flat</ServiceType> <ValidForSellingFlow>true</ValidForSellingFlow> <DetailVersion>74</DetailVersion> <UpdateTime>2013-04-08T14:42:28. ...

[HowTo] Replace ip address using sed

June 20, 2011

Following one-liner will search for a ip address pattern in the specified file and replace it with the one provided : sed 's/[0-9]\{1,3\}.[0-9]\{1,3\}.[0-9]\{1,3\}.[0-9]\{1,3\}/**IPADDRESS-COMES-HERE**/g' /SourceFilename > /DestinationFilename

Best Practices for Crafting an Efficient Build Script

May 9, 2011

When it comes to software development, a robust and efficient build script can be a game-changer. Whether you’re working on a Java project or any other type of application, the right build script can streamline the whole process and make life a whole lot easier for developers. Here’s a rundown of some best practices to keep in mind when you’re writing your build script: Platform Independence # Choose a programming language that is compatible across multiple platforms, especially if you’re working on a Java project. ...

How To Get The Current Epoch Time (Unix Timestamp)

September 30, 2010

Perl: time PHP: time() Ruby: Time.now # (or Time.new). To display the epoch: Time.now.to_i Python: import time # first, then int(time.time()) Java: long epoch = System.currentTimeMillis()/1000; Microsoft .NET C#: epoch = (DateTime.Now.ToUniversalTime().Ticks - 621355968000000000) / 10000000; VBScript/ASP: DateDiff("s", "01/01/1970 00:00:00", Now()) Erlang: calendar:datetime_to_gregorian_seconds(calendar:now_to_universal_time( now()))-719528*24*3600. # OR element(1, now()) * 10000 + element(2, now()). MySQL: SELECT unix_timestamp(now()) PostgreSQL: SELECT extract(epoch FROM now()); Oracle PL/SQL: SELECT (SYSDATE - TO_DATE('01-01-1970 00:00:00', 'DD-MM-YYYY HH24:MI:SS')) * 24 * 60 * 60 FROM DUAL SQL Server: SELECT DATEDIFF(s, '1970-01-01 00:00:00', GETUTCDATE()) JavaScript: Math. ...

Database Integration – some points to keep in mind

September 18, 2010

**Always Have a Single, Authoritative Source For Your Schema ** Everyone should know where the official schema resides, and have a frictionless experience in getting a fresh database setup. One should be able to walk up to a computer, get the latest from source control, build, and run a simple tool to setup the database (in many scenarios, the build process can even setup a database if none exists, so the process is one step shorter). ...

Perl – system load

September 7, 2010

To find the system load use the following perl snippet : System load of last one minute : my $system_load = exec('<a class="zem_slink" title="Uptime" rel="wikipedia" href="http://en.wikipedia.org/wiki/Uptime">uptime</a> | awk -F "load average: " \'{ print $2 }\' | cut -d, -f1'); my $system_load = qx('uptime | awk -F "load average: " \'{ print $2 }\' | cut -d, -f1'); System load of last 5 minutes : my $system_load = exec('uptime | awk -F "load average: " \'{ print $2 }\' | cut -d, -f2'); my $system_load = qx('uptime | awk -F "load average: " \'{ print $2 }\' | cut -d, -f2'); System load of last 15 minutes : my $system_load = exec('uptime | awk -F "load average: " \'{ print $2 }\' | cut -d, -f3'); my $system_load = qx('uptime | awk -F "load average: " \'{ print $2 }\' | cut -d, -f3');

GNUSL3S LINUX OS

March 29, 2010

Description: GNUSL3S LINUX OS is a versatile and comprehensive distribution that comes with a rich selection of pre-installed software for various purposes. Whether you are a molecular biologist, an IT security professional, a system administrator, or a home server user, you will find the tools and applications you need in this distribution. You can boot from the DVD and enjoy a user-friendly graphical interface, useful recovery tools, and current libraries. ...

Typo3 Reference Manuals – A Google Chrome Extension

March 27, 2010

I am happy to share with you my first Google Chrome extension. It is a collection of Typo3 reference manuals that I have compiled from the typo3.org website. It may not be the coolest extension out there, but it has been useful to me. πŸ™‚ This Google Chrome extension is for: β€’ Those who have a slow or unreliable internet connection. For example, in India. β€’ And those who prefer to stay in the browser while reading or searching something in the Typo3 swx reference manuals. ...

Lessons Learned – from a cms developer

October 9, 2009

As a CMS developer, I have learned some valuable lessons over the years. Here are some of the most important ones that I want to share with you: Never use the Root directory for your website; β€œforward” requests to a secondary directory. This will make your website more secure and easier to manage. You can use .htaccess files or other methods to redirect requests from the root directory to a subdirectory where your CMS files are located. ...