Skip to content

Instantly share code, notes, and snippets.

View graficaindipendente's full-sized avatar

gonzo graficaindipendente

  • Alessandro Piovan
  • Padua Italy
View GitHub Profile
@graficaindipendente
graficaindipendente / cmd.exe.md
Last active March 19, 2024 21:16
[Win cmd.exe]

cmd.exe

ctrl + C per bloccare un comando

/?guida

ipconfig per visualizzare le info di rete

taskkill /im per chiudere un servizio in esecuzione

@graficaindipendente
graficaindipendente / lamp.md
Created July 17, 2023 23:14
[Mac LAMP Server - ENG] Install Apache, PHP, MySQL and phpMyAdmin on Mac OS X

Prerequisites

Install homebrew:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

1. Enable Apache

Open Terminal and run the following Code: sudo apachectl start

Open your browser and access http://localhost. If it says It Works, then you are set otherwise see if your apachectl has started or not.

Link senza decorazioni

<a href="https://esempio.com" style="text-decoration: none; color: inherit;">link non sottolineato e senza cambio di colore</a>

Inserire gli Spazi in HTML

Uno spazio vuoto &nbsp;

Alternativa di uno spazio vuoto &#160;

!!! This guide was created with Macbook Pro M1. Path may vary for different or even same machine.

Install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Install PHP

@graficaindipendente
graficaindipendente / tipNtricks.md
Last active September 22, 2023 20:29
[tip and tricks] #spotify #questopc #risorsedelcomputer #esecuzioneautomatica

Spotify cracked for mac

Da terminale lanci il comando:

sudo xattr -rd com.apple.quarantine /Applications/Spotify.app

Windows: Rimuovere la cartella Oggetti 3D da Questo PC

  1. Esegui: regedit
@graficaindipendente
graficaindipendente / sqlnote.md
Last active June 16, 2023 23:07
[Costumers Note Web Page]

Certo! Per creare un codice PHP che inserisca delle annotazioni testuali collegate ad un database di clienti, devi prima creare il database e la tabella dei clienti. Puoi farlo passando un'istruzione scritta in linguaggio SQL come parametro alla funzione denominata mysql_query(). [^2]

Ecco un esempio di codice per creare un database ed effettuare le cosiddette CRUD (Create, Read, Update, Delete) ossia le 4 operazioni fondamentali che possiamo effettuare su un database. [^1]

		<?php
		// Connessione al server MySQL
		$connessione = mysqli_connect("localhost", "username", "password");

// Creazione del database
@graficaindipendente
graficaindipendente / ps4_dns_blacklist.md
Last active September 22, 2023 20:30
[PS4 DNS blacklist] #ps4 #playstation

DNS Blacklist

192.168.1.113	dau01.ps4.update.playstation.net
192.168.1.113	dbr01.ps4.update.playstation.net
192.168.1.113	dcn01.ps4.update.playstation.net
192.168.1.113	deu01.ps4.update.playstation.net
192.168.1.113	dhk01.ps4.update.playstation.net
192.168.1.113	djp01.ps4.update.playstation.net
192.168.1.113	dkr01.ps4.update.playstation.net
192.168.1.113	dmx01.ps4.update.playstation.net

cmake

  1. mkdir build

  2. cd build

  3. cmake ..

  4. make

@graficaindipendente
graficaindipendente / server.md
Last active August 22, 2023 22:20
[Server]

Server

  • Fatto
  • Non fatto

Apache

sudo apt install apache2

FTP