temporaneità
English scratches and Italian notes written by Carlo Perassi
  • Home
  • About
  • Borges
  • Ideas
    • Post Updated NG
    • aggr
    • pungw
    • dilw
    • aggrw
  • Links
  • Library
  • Contact
Browse: Home / trivial hacks

trivial hacks

PHP5 class for bit.ly API

By Carlo on 2010-07-01

Having chosen to convert a bunch of long URLs using bit.ly, I slightly modified and packaged in a simple PHP5 class the code written by David Walsh. The following is an example of usage of this class: $mbit = new BitlyWalsh($login, $apiKey); echo $mbit->getShort($yourLongUrl); // echo $mbit->getLong($bitlyShortUrl); You can download here this basic class.

Posted in English | Tagged PHP, trivial hacks | Leave a response

Google Spelling

By Carlo on 2010-06-07

I’ve written a short PHP script that outputs what I call “the Google spelling” :) a 26 words list of the most frequent words/phrases taken from Google Suggest. You can also pass the language to it, so the today’s (2010-06-07) English list is amazon bank of america craigslist dictionary ebay facebook gmail hotmail imdb jet [...]

Posted in English | Tagged Google, PHP, trivial hacks | Leave a response

MarkerClusterer clearMarkers bugfix

By Carlo on 2009-12-01

(This should be a crosspost written with Massimiliano) It seems that MarkerClusterer has a bug, fixed with this patch (*) written by Massimiliano while we were hunting together for it on this application (now working fine): after the ajax submit and zooming out, the library was still displaying old clusters and markers, because, after destroying [...]

Posted in English | Tagged Google maps, javascript, trivial hacks | 1 Response

KML Confini Comuni

By Carlo on 2009-09-04

Partendo dall’eccellente lavoro di localMapping e utilizzando parte dei dati di un mio post precedente ho creato, con un piccolo script, il file comuni.kml, che abbina quindi i confini dei comuni piemontesi ai relativi codici ISTAT: Google Earth riesce a visualizzarlo mentre Google Maps no, dato che il file è per lui troppo grande; in [...]

Posted in Italiano | Tagged Google maps, Piedmont, trivial hacks | 4 Responses

jQuery easy checkbox

By Carlo on 2009-08-20

This little jQuery script (demo here) makes it easy to select checkboxes: it is almost comparable to Comodo Click.

Posted in English | Tagged jQuery, trivial hacks | Leave a response

dilw 0.6 is out

By Carlo on 2009-05-08

This release adds a call for templates (inside your template, write echo get_dil();).

Posted in English | Tagged trivial hacks, WordPress | Leave a response

jQuery Quick Pagination (trivial patch)

By Carlo on 2009-05-05

jQuery Quick Pagination plugin is well… quick :) and it works well: this simple patch adds the options to change the text of the “next/prev” links. The new call is jQuery(document).ready(function(){ jQuery(‘#list_nav li’).quickpaginate({ prev_text: ‘blah previous’, next_text: ‘blah next’ }); });

Posted in English | Tagged jQuery, trivial hacks | Leave a response

dkdil 0.7 is out

By Carlo on 2009-02-09

This release fixes a small bug (thanks to Michael Klein).

Posted in English | Tagged DokuWiki, trivial hacks | Leave a response

Boosting a Linksys Access Point

Boosting a Linksys Access Point

By Carlo on 2009-01-07

The Linksys WAP54G is shipped with two 5 dBi antennas. Here I show two ways to increase its power and working area: perhaps using both solutions provides too much power to be legal… but I don’t use them at the same time, of course. :) In place of the 5 dBi antenna on the left, [...]

Posted in English | Tagged Access Point, Dbi Antenna, Linksys Wap54g, Rf, Rp, Sma Antennas, trivial hacks, Wifi | 2 Responses

Calf-Point 0.4 is out

By Carlo on 2008-10-10

This release adds a modified version of Iconize (thanks to Maurizio for having tuned the CSS files).

Posted in English | Tagged trivial hacks, WordPress | Leave a response

Next »

Search

It passes

it passes

My posts, unless otherwise expressly stated, are licensed under a Creative Commons Attribution-Share Alike 2.5 Italy License.

Top posts for 600 days

  1. Top ten Italian songs of all times
  2. Inserting raw HTML code in MediaWiki
  3. jQuery tabs and cookies
  4. Using AWK to remove file extensions
  5. A Dilbert Plugin for DokuWiki
  6. aggr
  7. Huawei E176 and Ubuntu
  8. Bright dawn
  9. Customising wp-comments-post.php
  10. Boosting a Linksys Access Point

Copyright © 2006 - 2010 by Carlo Perassi. Powered by WordPress and Hybrid.