This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import static com.google.common.collect.Maps.filterEntries; | |
import java.util.Collection; | |
import java.util.HashMap; | |
import java.util.Map; | |
import java.util.Map.Entry; | |
import org.junit.Assert; | |
import org.junit.Test; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Affiche les index positionnés sur ma table | |
SHOW INDEX FROM MA_TABLE | |
SELECT | |
* | |
FROM | |
tblA, | |
tblB, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find -name "*.iml" -exec rm {} \; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cestpasdur; | |
import java.io.FileOutputStream; | |
import java.sql.Connection; | |
import java.sql.DriverManager; | |
import org.dbunit.database.DatabaseConnection; | |
import org.dbunit.database.IDatabaseConnection; | |
import org.dbunit.database.QueryDataSet; | |
import org.dbunit.dataset.xml.FlatXmlDataSet; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for FILE in $( ls public); do | |
jhead -exifmap "public/"$FILE | grep "Orientation" >/dev/null | |
if [ $? -eq 0 ] | |
then | |
echo "public/"$FILE | |
jhead -autorot "public/"$FILE | |
fi | |
done |
NewerOlder