Skip to content

Instantly share code, notes, and snippets.

package de.lray.intercom.highscore;
import de.lray.intercom.pattern.Strategy;
import org.junit.Assert;
import org.junit.Test;
import java.io.*;
import static org.mockito.Mockito.*;
package de.lray.intercom.flattener;
import org.junit.Assert;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
public class Flattener {
@l-ray
l-ray / gist:9138961
Created February 21, 2014 17:32
Bash command to get a list of all used classes in css-files
find . -name "*.css" -print | xargs grep -o '\.[a-zA-Z]*' | sed 's/^[\.\/_a-zA-Z]*:\.\([a-zA-Z]*\)$/\1/' | sort | uniq