Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva

In questo articolo sto memorizzando dei piccoli batch che possono tornare utili. 

Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva

Il comando netsh in Windows è utilizzato per visualizzare e per cambiare impostazioni di rete.

E' anche possibile visualizzare le password che sono state memorizzate nel vostro pc. 

Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva

Il comando shutdown in Windows 11 è utilizzato per gestire il riavvio o l’arresto del sistema da riga di comando.

Ne ho trovato uno che riavvia il PC ed accede automaticamente al BIOS UEFI.

Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva

Quest'articolo vuole soltanto raccogliere alcuni link speciali che si possono creare in Windows.

Ad esempio per aprire il Pannello di Controllo, per aprire la Finestra Esegui ecc. 

Valutazione attuale: 5 / 5

Stella attivaStella attivaStella attivaStella attivaStella attiva

Di recente ho dovuto affrontare un problema inaspettato, un errore nella mia stampante Epson ET-2850: "The Ink Pad needs service. Contact Epson".

In italiano dovrebbe essere qualcosa del genere: "Il tampone d'inchiostro necessita di assistenza. Contattare Epson".

Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva

Il risparmio energetico del mio PC è programmato per spegnere il monitor dopo 10 minuti e sospendere dopo 20.

Da qualche tempo a questa parte dopo andare regolarmente in sospensione ho notato che lo trovavo al login come se il nostro gatto avesse toccato il mouse o la tastiera. Mi è capitato di stare vicino al PC e di vederlo ripartire senza nessuno lo avesse toccato.

Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva
I found on internet a lot of suggestions on how upgrade Windows 11 21H2 to 22H2. I tried some but I always got the message "... trouble determinating if your PC can run Windows Server...".
My PC has Windows 11 21H2 and not the Windows Server!
Here my experience about the update to unsupported hardware with 22H2.
 

Valutazione attuale: 5 / 5

Stella attivaStella attivaStella attivaStella attivaStella attiva

Nativamente Excel è in grado di alternare i colori delle righe ad ogni riga (pari-dispari). Purtroppo Excel nativamente non ha un modo di alternare i colori delle righe quando il valore di un gruppo cambia.

Tempo fa ho trovato una soluzione su internet ma sfortunamente non ho memorizzato l'indirizzo ma per fortuna avevo creato un esempio che di recente ho ritrovato.

Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva

Here how you can customize the key bindings in order to switch focus between editor and integrated terminal.

I have done it editing the file "data\user-data\User\keybindings.json" and adding the settings there. Just save and test it.

My binds in my italian keyboards:

CTRL + \ 

Switch focus between Editor and Terminal
The key backslash "\" in my keyboard is under the ESC key.

ALT + \ 

Open the Terminal if it's closed

Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva

Visual Studio Code has so many extensions that it takes a long time to choose which one to use. Let me share with my favorites. Just a list with a brief descriptions.

Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva

When you use Visual Studio Code with SSH extension you can run from your linux command line the command "code" to edit your files. let me say it's fantastic, real useful. If you still using classic Terminal session with Putty or others, you will need a classic linux editor like nano. Well I often fall in a mitstake and write code in putty and viceversa.

Solution is to create a function () and name it "nano" and stored it in the .bashrc file.

Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva

Recently I found a solution to run a javascript to temporary apply changes on a web site.

I had 2 cases where I changed some stuff in 3rd party webpage. Of course it's a temporary change until the page is reloaded.

In one case I need to remove the class "hidden-print" because the print invoice do not print some info. I need that but the supplier never fix it.

Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva

This article contains how to customize the foreground, background and cursor color on VS Code Terminal.

Use different colors schema for each ssh remote helps to recognize them. Or maybe you want to change your local terminal colors.

We need to add/change the workbench setting inside the file settings.json.

Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva

I was playing with the linux history command and after some tries I was searching on internet and I found a good feature on Visual Studio Code for the integrated terminal.

VS Code has 2 features for:

  • Commands for Current session
  • Commands for Previous sessions
  • Visited Directories for Current session
  • Visited Directories for Previous sessions

 Finally a good, easy and pratics way to manage your comand history plus the new history for directory visited.

I binding my keys, I choosen CTRL + ALT + UP arrow for history commands and CTRL - ALT + LEFT arrow for directories.

Stella inattivaStella inattivaStella inattivaStella inattivaStella inattiva

One of my latest experience has been to show the correct date time to russian guys.

In order to manage the right local date for each country I have done the following 3 simple steps:

  1. Store the date in GMT format (Greenwich Mean Time)
  2. Declare the momentJS in my webpage
  3. Use the momentJS function to convert the date

Browser will do a right conversion

 

Sottocategorie

MiscellaneousMiscellaneous
ajaxAsynchronous JavaScript
Lotus NotesArticoli su IBM Lotus Notes e Domino
VariArticoli Vari
GraphicsSome particulars tricks
JoomlaIl CMS Joomla!
developingDeveloping
vb.netVB.Net
php logo mediumPHP Scripts
sqlDatabases sql scripts and more
javascriptJavascript scripts
vscodePHP Scripts