Monday, April 13, 2015

Afficher les utilisateus linux

cat /etc/passwd | awk -F: '{print $ 1}'

Tuesday, April 7, 2015

How can I determine the url that a local git repo was originally cloned from?

If referential integrity has been broken:
git config --get remote.origin.url
If referential integrity is intact:
git remote show origin
When using git clone (from github, or any source repository for that matter) the default name for the source of the clone is "origin". Using git remote show will display the information about this remote name.

Source : http://stackoverflow.com/questions/4089430/how-can-i-determine-the-url-that-a-local-git-repo-was-originally-cloned-from

Linux: 25 PHP Security Best Practices For Sys Admins

Red Hat / CentOS: Check / List Running Services

Perte de connectivité réseau

La commande reseau  netsh winsock reset all permet la remise à zéro du socket qui gère la couche TCP/IP. Cette commande peut être utilisée pour résoudre un problème lié au réseau (problème de navigation, problème d'adressage IP, etc...) netsh winsock reset Liens :
http://www.sospc20.com/formation_internet_gratuite/netsh.php http://windows.developpez.com/cours/ligne-commande/?page=page_12#LXII-C

Friday, April 3, 2015

PL/SQL : SET SERVEROUTPUT ON

PL\SQL : Pour écrire dans la console  de sqlDeveloper, saisir

SET SERVEROUTPUT ON 

BEGIN 
DBMS_OUTPUT.PUT_LINE('test'); 
END;