Instantly share code, notes, and snippets.

View TestIT.java
System.getProperty("tomcat.http.port")
View find_unused_properties.sh
#!/bin/sh
fichierProperties=$1
repertoireBaseProjet=$2
fichierRapport=$3
while read line
do
key=${line%%[ =]*}
View libreoffice-calc-read-only.desktop
[Desktop Entry]
Exec=/usr/bin/libreoffice --calc --view %f
Name=Ouvrir avec LibreOffice Calc (en lecture seule)
MimeType=application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;
Type=Application
NoDisplay=true
Icon=libreoffice-calc
Name[fr_FR]=Ouvrir avec LibreOffice Calc (en lecture seule)
View schema_diff.sql
SELECT DISTINCT
schemaR.name AS tbname,
'' AS name,
'' AS colno,
CASE
WHEN schemaA.name IS NULL AND schemaB.name IS NOT NULL THEN 'Table créée'
WHEN schemaA.name IS NOT NULL AND schemaB.name IS NULL THEN 'Table supprimée'
END AS typeModif,
'' AS coltype,
'' AS length,