Skip to content

Instantly share code, notes, and snippets.

View MichaH's full-sized avatar

Micha MichaH

View GitHub Profile
@MichaH
MichaH / rolling_stone_top_500_albums_2020.csv
Created July 4, 2025 07:11 — forked from hasmanyguitars/rolling_stone_top_500_albums_2020.csv
The 500 Greatest Albums of All Time - Rolling Stone - 2020
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
Rank,Artist,Album,Info,Description
500,Arcade Fire,Funeral,"Merge, 2004","Loss, love, forced coming-of-age, and fragile generational hope: Arcade Fire’s debut touched on all these themes as it defined the independent rock of the ‘00s. Built on family ties (leader Win Butler, his wife, Régine Chassagne, his brother Will), the Montreal band made symphonic rock that truly rocked, simultaneously outsize and deeply personal, like the best pop. But for all its sad realism, Butler’s is music that still finds solace, and purpose, in communal celebration.
"
499,"Rufus, Chaka Khan",Ask Rufus,"ABC, 1977","Fronted by Chaka Khan, one of soul music’s most combustible singers, Rufus built its mid-Seventies sound on heavy-footed, guitar-slathered funk. But after spending 16 months in the studio working on Ask Rufus, they came out with a record that gave their songs more room to breathe, anticipating the lithe, loose arrangements of Nineties neo-soul. Khan glided through the head-nodding “Everlasting Love” and the twisty-tur
@MichaH
MichaH / RestartGfallVog.java
Created August 13, 2018 13:17
FilterCriterion
FilterCriterion c1 = new FilterCriterion(
AufgabeSelectFilter.Criterion.AUFGABENAME_LIKE, vopa.getNextTask());
FilterCriterion c2 = new FilterCriterion(
AufgabeSelectFilter.Criterion.FALLID_EQ, vopa.getGfallId());
FilterAndList andFilter = new FilterAndList(c1, c2);
TreeSelectFilter selectFilter = new AufgabeSelectFilter(andFilter);
List<AufgabeLW> aufgabenListe = AufgabeLWHome.getDefault().findAll(selectFilter, em);
@MichaH
MichaH / AdapterStatusCode.java
Last active April 5, 2016 06:42
The http status codes (source: wikipedia) cast into an enum class; german descriptions as comments
/*
* O R A N G E O B J E C T S
* http://www.OrangeObjects.de
*
*/
package com.orangeobjects.abest.trans.async;
/**
*
* @author Michael Hofmann <Michael.Hofmann@OrangeObjects.de>
@MichaH
MichaH / isSameXMLContent
Created October 29, 2014 16:51
A diff for two XML-InputStreams
private static boolean isSameXMLContent(InputStream s1, InputStream s2)
throws ParserConfigurationException, SAXException, IOException {
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
dbf.setNamespaceAware(true);
dbf.setCoalescing(true);
dbf.setIgnoringElementContentWhitespace(true);
dbf.setIgnoringComments(true);
DocumentBuilder db = dbf.newDocumentBuilder();
Document doc1 = db.parse(s1);
doc1.normalizeDocument();