Showing posts with label web. Show all posts
Showing posts with label web. Show all posts

2017-04-21

HOWTO: decompress WOFF2 fonts

Once upon a time you can stumble upon a WOFF2 font file; it's in WOFF 2.0 format, an improved version of Web Open Font Format.
And it's quite easy to unpack such compressed files to get the usual TTF (and maybe OTF) fonts -- just use the woff2_decompress utility from the woff2 Google project on GitHub:
$ woff2_decompress myfont.woff2
(please note: you need to compile that project before use, and it's much easier to do in GNU/Linux and other Unix-like environments, than in MS Windows).

2017-04-01

Websites: BugMeNot (shared logins)

Have you ever visited an ugly site requiring registration to access some ordinary info? Tired of countless one-time registrations?
BugMeNot can help: it's the site where you and other ordinary users can share their useless login info (disposable email addresses are usually used for such registrations) for a variety of useless sites :-)

Disclaimer: no warranties, only for educational use, some sites get blocked from the site, and please don't abuse it etc. ;-)

External links:
  1. BugMeNot: share logins
    1. microsoft.com passwords - BugMeNot
  2. BugMeNot - Wikipedia

2013-08-04

HOWTO: get a high-quality image from an eBay listing

Well, sometimes you can find an interesting item on eBay, and then you want to take a nice look at the photos. Unfortunately, the pictures are often displayed in a low resolution (and without a "zoom in" option). Luckily, often you still have a chance to get good quality images (with resolutions up to 1600 * 1200; it depends on the original quality of the picture the seller has uploaded).

Notes. The sites are in process of migration to HTTPS, so you'll often see image URLs beginning with "https://" instead of plain "http://". And it should work for all regional eBay sites (i. e., ebay.com, ebay.co.uk, ebay.de etc.), and also for "eBay Kleinanzeigen" (German eBay classified ads site).
  1. An old image URL style.
    1. First of all, copy an URL of the needed image; you'll get something like this:
      http://i.ebayimg.com/t/Some-nice-item-For-sale-/00/s/S0mE-W1LD/$GaRb4gE~~60_12.JPG
    2. Then you'll need to modify the URL a little; just replace the last number found in the URL (it's preceded by a '_' and followed by a '.'; in this sample, it's "12") with "10":
      http://i.ebayimg.com/t/Some-nice-item-For-sale-/00/s/S0mE-W1LD/$GaRb4gE~~60_10.JPG
      or with "57" (I don't know what's actually better):
      http://i.ebayimg.com/t/Some-nice-item-For-sale-/00/s/S0mE-W1LD/$GaRb4gE~~60_57.JPG
    3. Just paste the modified image URL into your browser's address bar and enjoy!
  2. A new image URL style. The method remains similar.
    1. Get an image URL:
      http://i.ebayimg.com/images/g/GaRbaG3/s-l64.jpg
    2. Change the appropriate URL fragment to "1600":
      http://i.ebayimg.com/images/g/GaRbaG3/s-l1600.jpg
    3. ...
    4. Done!

References:
  1. getProductDetails : thumbnail How can I get high resolution picture of catalogued item. - eBay Developer Support / Customer Help
  2. getProductDetails - API Reference - Product API - eBay Developers Program
---
Last updated: 2017-03-14