WINDOWS - Restore the "Show Deskop" fast opening
you "lost" or accidentally deleted the "Show Desktop" in the 'Quick Start' in Windows (XP - Vista)? Here is how to restore
:
- creates a text file and write in it these lines:
[Shell] Command = 2
IconFile = explorer.exe, 3
[Taskbar] Command =
ToggleDesktop
- Now save the text file and rename it as "Show Desktop.scf"
- Take the confirmation when asked if you really want to change the extension
file - Now you have your loved one "link" ready to use! Then drag the bar "Quick Start" and you restore your button!
The "link" also works from anywhere so you can put it in other locations, everywhere you can serve, although I think not served by other parties outside "Fast opening"! For the lazy
the link here with a zip file containing the "Show Desktop" beautiful done!
soon!
Tuesday, January 15, 2008
Sunday, January 13, 2008
Blueprints On Building A Playset
FIREFOX 2.0 - Quick Search Toolbar
Carry on my blog that I published a post on my site Ottoble 27, 2006. In Firefox 2.0
those buttons are gone so comfortable in the Quick Search bar?
Do not worry! Here's how to restore them!
Source: Mozillaitalia.it -> http://www.mozillaitalia.it
With Firefox you can put a setting in which the browser search the text of a page in a word or phrase by simply typing the word in question: Firefox, first push of a button on your keyboard opens the search bar faster than in previous versions to FF2.0, also had options like "next word", "previous word", etc ... Unfortunately
either version 2 of FF these buttons and options are no longer present! Here's how to put them back
!
merely reported what it says on the site of MozillaItalia above link!
To restore the buttons you need to edit the file userChrome.css adding this simple line:
FindToolbar #> * {display:-moz-box;}
This file is located, for owners of Windows XP in the profile folder is usually located in
C: \\ Documents and Settings \\ "username" \\ Application Data \\ Mozilla \\ Firefox \\ Profiles \\ "NOME_ALFANUMERICO." default \\ chrome \\ !
course the folder "Application Data" is hidden so you need to enable viewing of hidden files, or you can access this folder (without enabling the viewing of hidden files) da "esegui" di windows, digitando " %appdata% " (senza virgolette) e premendo invio.
Con quest'ultimo metodo potete accedere a questa cartella anche da windows Vista !
E' da precisare che non esiste il file " UserChrome.css " ma ne esiste uno chiamato "UserChrome-example.css" ! Come dice il nome di quel file è un file di esempio, quindi potete tranquillamente modificare quello poi rinominarlo in "UserChrome.css"
Agguingete a questo file questa riga:
#FindToolbar > * {display:-moz-box;}
(mettetela per esempio in fondo al file...) poi salvate, rinominate "UserChrome-example.css " in "UserChrome.css" , se non l'avete già fatto, e riavviate firefox!
Io l'ho fatto e il "problema" è risolto!!!
Che ne dici di provare anche tu?
Alla prossima!
Carry on my blog that I published a post on my site Ottoble 27, 2006. In Firefox 2.0
those buttons are gone so comfortable in the Quick Search bar?
Do not worry! Here's how to restore them!
Source: Mozillaitalia.it -> http://www.mozillaitalia.it
With Firefox you can put a setting in which the browser search the text of a page in a word or phrase by simply typing the word in question: Firefox, first push of a button on your keyboard opens the search bar faster than in previous versions to FF2.0, also had options like "next word", "previous word", etc ... Unfortunately
either version 2 of FF these buttons and options are no longer present! Here's how to put them back
!
merely reported what it says on the site of MozillaItalia above link!
To restore the buttons you need to edit the file userChrome.css adding this simple line:
FindToolbar #> * {display:-moz-box;}
This file is located, for owners of Windows XP in the profile folder is usually located in
C: \\ Documents and Settings \\ "username" \\ Application Data \\ Mozilla \\ Firefox \\ Profiles \\ "NOME_ALFANUMERICO." default \\ chrome \\ !
course the folder "Application Data" is hidden so you need to enable viewing of hidden files, or you can access this folder (without enabling the viewing of hidden files) da "esegui" di windows, digitando " %appdata% " (senza virgolette) e premendo invio.
Con quest'ultimo metodo potete accedere a questa cartella anche da windows Vista !
E' da precisare che non esiste il file " UserChrome.css " ma ne esiste uno chiamato "UserChrome-example.css" ! Come dice il nome di quel file è un file di esempio, quindi potete tranquillamente modificare quello poi rinominarlo in "UserChrome.css"
Agguingete a questo file questa riga:
#FindToolbar > * {display:-moz-box;}
(mettetela per esempio in fondo al file...) poi salvate, rinominate "UserChrome-example.css " in "UserChrome.css" , se non l'avete già fatto, e riavviate firefox!
Io l'ho fatto e il "problema" è risolto!!!
Che ne dici di provare anche tu?
Alla prossima!
Friday, November 30, 2007
Electro Negatively Table
ASP - how to check if a year is a leap
In questo post presenterò il codice ASP che ci permette di verificare se un anno è bisestile o no.
Lo script è composto da una funzione principale, cuore del calcolo, e da un "blocco if" con il quale si intercetta la risposta.
E' utile fare in questo modo ( e non con una sola semplice funzione) per poter verificare anche se sono avvenuti errori in the calculation.
The code is as follows:
If you are sure to pass a parameter to the function correctly, ie a number corresponding to one year (greater than 0 and positive) or a date in a correct format then you can simplify the "if block" in this way:
I hope I was clear! If you want to download the script this is the link.
In the script of the Zip is not the second if block, that simple.
If you have any questions, criticisms or suggestions or simply want clarification do not hesitate to contact me
soon!
Updated:
one shown above is an "educational function": D. I update this post to put much less complex than another that does the same thing. The function is this:
Note however that in the latter function have not put a check errors then you should be sure to spend a year as a value or a date!
The rest is the same. The function returns the Boolean value true if the year is a leap year or false if not. In
zippo lynched above is NOT included it running!
Lo script è composto da una funzione principale, cuore del calcolo, e da un "blocco if" con il quale si intercetta la risposta.
E' utile fare in questo modo ( e non con una sola semplice funzione) per poter verificare anche se sono avvenuti errori in the calculation.
The code is as follows:
\u0026lt;% Function
annobisestile (data_num)
on error resume next
if not (isempty (data_num) or isnull (data_num) or len (trim (data_num)) = 0) then 'if there is a parameter
if err \u0026lt;> 0 then annobisestile = vbNull
if IsNumeric (data_num) then' if it's a year if
data_num \u0026lt;> 0 then 'if it is different from zero
year = abs ( data_num) 'bad years are considered positive
end if elseif
IsDate (data_num) then' if it's a date
year = year (data_num) 'extrapolates year
else' if it is neither a date nor a year
annobisestile = vbNull
end if if err \u0026lt;> 0 then annobisestile = vbNull
'/***** ************************************************** ****************************/
'/ One year is a leap year if it is divisible by 4 but not by 100. But it is a leap year * /
'/ if it is divisible by 400 * /
'/********************************************* **************************************/
'check if
is a leap year if (( (year mod 4 = 0) and (year mod 100 \u0026lt;> 0)) or (year mod 400 = 0)) = true then
annobisestile
else
annobisestile = false
end if if err \u0026lt;> 0 then annobisestile = vbNull
else 'if there is no parameter
annobisestile = vbNull
end if end function
strtest = 2007
if annobisestile (strtest)
= true then 'code here if you want the year is a leap
annobisestile elseif (strtest) = vbNull
then 'here the code that you want if there was an error
' or was not passed an incorrect parameter
else 'here if you want the code that is not a leap year
end if%>
If you are sure to pass a parameter to the function correctly, ie a number corresponding to one year (greater than 0 and positive) or a date in a correct format then you can simplify the "if block" in this way:
strtest = 2007
if annobisestile (strtest) then
'here the code that you want if the year is a leap
else' here the code you want is not a leap year if end if
I hope I was clear! If you want to download the script this is the link.
In the script of the Zip is not the second if block, that simple.
If you have any questions, criticisms or suggestions or simply want clarification do not hesitate to contact me
soon!
Updated:
one shown above is an "educational function": D. I update this post to put much less complex than another that does the same thing. The function is this:
\u0026lt;% function
annobisestile (year)
dim miadata
if IsDate (year) then
miadata = "28/02 /" & year (year)
else
miadata = "28/02 /" & year end if
miadata = dateadd ("d", 1, miadata)
if day (miadata) = 29 then
annobisestile = true else
annobisestile
= false end if end function
%>
Note however that in the latter function have not put a check errors then you should be sure to spend a year as a value or a date!
The rest is the same. The function returns the Boolean value true if the year is a leap year or false if not. In
zippo lynched above is NOT included it running!
Saturday, October 20, 2007
How Do You Make A Kilt
ASP - ASP Script to calculate the age of a person! Again
Hello everyone!
Given that, on dates between the 1000000 functions present in the ' asp, there is a specific function to calculate the age of a person properly taking into account also the birthday of the latter, here I show a small function
The function returns a number that corresponds to the age correct!
In developing this little feature, I realized that I was doing just as we would have had trouble getting the correct age if the year was a leap year (could be wrong calculation of a day) then if it seems strange I've done what I did take note that too!
If you still seem strange to me that you probably have not made the choice easy and fast!
Illuminatemi!
If you are interested in the script here zipped !
Hello and see you soon!
Hello everyone!
Given that, on dates between the 1000000 functions present in the ' asp, there is a specific function to calculate the age of a person properly taking into account also the birthday of the latter, here I show a small function
Function calcolaeta ( BirthDate date)
'calculation of the years you have to make the user
eta = datediff ("yyyy " BirthDate date)
'calculation on the birthday of the current user
birday = dateadd ("yyyy , age, DoB )
'takes account of the day!
if datepart ("y", date) < datepart ("y", birday )
then age = age-1
end if
calcolaeta eta =
End Function
The function you have to pass two parameters, date of birth and date (eg today's) for which we know the age! The function returns a number that corresponds to the age correct!
In developing this little feature, I realized that I was doing just as we would have had trouble getting the correct age if the year was a leap year (could be wrong calculation of a day) then if it seems strange I've done what I did take note that too!
If you still seem strange to me that you probably have not made the choice easy and fast!
Illuminatemi!
If you are interested in the script here zipped !
Hello and see you soon!
Subscribe to:
Posts (Atom)