b4r7 blocco note 2.0

29gen/100

Windows’ God Mode

A vostro rischio e pericolo, provate.

Create un nuovo collegamento (click dx -> Nuovo -> Collegamento) con il seguente percorso:
explorer.exe shell:::{ED7BA470-8E54-465E-825C-99712043E01C}
Chiamatelo come volete, doppio click

Oppure

Create una nuova cartella (click dx -> Nuovo -> Cartella) con il seguente nome:
Modalità Dio.{ED7BA470-8E54-465E-825C-99712043E01C}
Entrate nella cartella

Non resta altro che godervi la modalità dio.

Testati su Windows Vista Home Premium SP2 x86.
Funzionano anche su Vista x64, 7 x32, 7 x64 - si mormora.

18set/090

convert for windows

Convert is a free and easy to use unit conversion program that will convert the most popular units of distance, temperature, volume, time, speed, mass, power, density, pressure, energy and many others, including the ability to create custom conversions!

Screenshot

convertAni

System Requirements

Convert will run on the following supported operating systems:

  • Windows 95
  • Windows NT 4
  • Windows 98
  • Windows 98SE
  • Windows ME
  • Windows 2000
  • Windows XP
  • Windows 2003
  • Windows Vista
  • Windows 7
  • Anything that runs Wine (not officially supported) [Convert runs quite well on Linux and UNIX using Wine. If you do this, you may need to change the tab layout to use a single row by going into Options > Preferences > Tabs, and clear the Multiple Lines option]

If your operating system is not listed above, Convert will not run on it.

Download Types

There are two ways to download Convert.

  • ConvertSetup.exe (780kb) is a full InstallShield installation which sets up directories, icons, and supports uninstallation. This download is recommended for most users.
  • convert.zip (153kb) is a ZIP file of just the executable. You can unZIP it with your favorite ZIP tool and just run the executable. This download is recommended for experienced users.

Other Information

10ago/090

camel case con PHP

<?php
$testo = "qualCOSA che vuOI mettere in Camel CASE";
echo ucwords(strtolower($testo)); //Qualcosa Che Vuoi Mettere In Camel Case
?>

strtolower: http://it.php.net/manual/en/function.strtolower.php
ucwords: http://it.php.net/manual/en/function.ucwords.php

Inserito in: piccì, siti, tips Nessun commento
3mag/090

eliminare .svn

Windows:

for /f "tokens=* delims=" %%i in ('dir /s /b /a:d *svn') do (
rd /s /q "%%i"
)

Linux:

find ./ -name .svn -exec rm -rf {} +

Mac (OS 10.5):

find . -name .svn -exec rm -rf {} \;

presi dalla rete e collezionati, non si sa mai. per chi come me è su winzozz, il primo codice basta salvarlo con estensione bat e lanciarlo nella cartella a cui vogliamo togliere le .svn .. con vizta ho dovuto spostarlo in alcune sotto-cartelle. non ho provato su linuz. non ho mc.

30apr/090

slug_me

a better (?) version of toAscii function by Matteo Spinelli

function slug_me($str, $replace=array(), $delimiter='-', $charset='ISO-8859-1') {
	$str = iconv($charset, 'UTF-8', $str);
	if (!empty($replace)) { $str = str_replace((array)$replace, ' ', $str); }
	$clean = iconv('UTF-8', 'ASCII//TRANSLIT', $str);
	$clean = preg_replace("/[^a-zA-Z0-9\/_|+ -]/", '', $clean);
	$clean = strtolower(trim($clean, '-'));
	$clean = preg_replace("/[\/_|+ -]+/", $delimiter, $clean);
	return $clean;
}