This file contains 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/bash | |
# Requires mutagen. I used 1.20 | |
# http://code.google.com/p/mutagen/ | |
# | |
# Changes artist sort tag from Last, First to just | |
# be whatever the artist name is. | |
"ls" *mp3 | while read FILE | |
do | |
TPE1=$(mid3v2 -l "$FILE" | "grep" TPE1 | cut -d= -f2) |
This file contains 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 java.math.BigInteger; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.List; | |
public class Fibonacci | |
{ | |
public static void main(String...args) | |
{ | |
// fib(new BigInteger("7886")); |
This file contains 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 java.sql.Connection; | |
import java.sql.PreparedStatement; | |
import java.sql.ResultSet; | |
import java.sql.SQLException; | |
import java.sql.Statement; | |
import java.util.Collection; | |
import java.util.Collections; | |
import java.util.Date; | |
import java.util.HashSet; | |
import java.util.Set; |
This file contains 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 gps.absenceCalc2.registry; | |
import java.sql.Connection; | |
import java.sql.PreparedStatement; | |
import java.sql.ResultSet; | |
import java.sql.SQLException; | |
import java.sql.Statement; | |
import javax.naming.NamingException; |
This file contains 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 . -iname "*.flac" | sed -e 's/\.flac//' | parallel ./flac2mp3.sh 4 {}.{flac,mp3} |
This file contains 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 gps.absenceCalc2.web.ui; | |
import java.util.ArrayList; | |
import java.util.Collection; | |
import java.util.Iterator; | |
import java.util.List; | |
import java.util.ListIterator; | |
import java.util.SortedSet; | |
import java.util.TreeSet; |
This file contains 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
<?xml version="1.0"?> | |
<project name="ffn" default="main" basedir="."> | |
<!-- Properties--> | |
<property name="tomcat" location="/usr/share/tomcat7" /> | |
<property name="app-name" value="ffn" /> | |
<property name="war-name" value="ffn.war" /> | |
<property name="src.dir" location="src" /> | |
<property name="dist.dir" location="dist" /> | |
<property name="build.dir" location="build/classes" /> |
This file contains 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
/** | |
* Indiscriminately forwards the sorted set methods to the backing sorted set. | |
* <p> | |
* {@link #toString()} is also forwarded. equals and hashcode are not | |
* implemented. | |
*/ | |
public abstract class ForwardingSortedSet<E> implements SortedSet<E> | |
{ | |
protected SortedSet<E> set; |
This file contains 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
/** | |
* Indiscriminately forwards the map methods to the backing map. | |
* <p> | |
* {@link #toString()} is also forwarded. equals and hashcode are not | |
* implemented. | |
*/ | |
public abstract class ForwardingMap<K, V> implements Map<K, V> | |
{ | |
protected Map<K, V> map; |
This file contains 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
/** | |
* Indiscriminately forwards the list methods to the backing list. | |
* <p> | |
* {@link #toString()} is also forwarded. equals and hashcode are not | |
* implemented. | |
*/ | |
public class ForwardingList<E> implements List<E> | |
{ | |
protected List<E> list; |
OlderNewer