Skip to content

Instantly share code, notes, and snippets.

Avatar

Marcin Titikowski lmbd

View GitHub Profile
View gist:950bae8d7daed9960542746231ccb32f
for months in Q2
ignore tenants in state Internal,Test,Cancelled,Deactivated,Delete and don't have accepted ToS
- monthly tasks per farm
- monthly tracked working hours per farm
- monthly tracked working hours per employee
- average number of activated supplies per farm
- average number of activated machines per farm
- average activated employees per farm
- average used supplies per month per farm
@lmbd
lmbd / parallels-reset.sh
Created May 2, 2017
Reset Parallels' trial
View parallels-reset.sh
#!/bin/sh
# Reset Parallels Desktop's trial and generate a casual email address to register a new user
rm /private/var/root/Library/Preferences/com.parallels.desktop.plist /Library/Preferences/Parallels/licenses.xml
jot -w pdu%d@gmail.com -r 1
View gist:0af1e320df7b36b5eb01
java.lang.IllegalStateException: Observer it.gmariotti.cardslib.library.prototypes.CardWithList$1@426a57e8 is already registered.
at android.database.Observable.registerObserver(Observable.java:49)
at android.widget.BaseAdapter.registerDataSetObserver(BaseAdapter.java:38)
at it.gmariotti.cardslib.library.prototypes.CardWithList.setupInnerViewElements(CardWithList.java:308)
at it.gmariotti.cardslib.library.internal.Card.getInnerView(Card.java:250)
at it.gmariotti.cardslib.library.view.CardView.setupMainView(CardView.java:364)
at it.gmariotti.cardslib.library.view.CardView.buildUI(CardView.java:270)
at it.gmariotti.cardslib.library.view.CardView.setCard(CardView.java:230)
at it.gmariotti.cardslib.library.internal.CardArrayAdapter.getView(CardArrayAdapter.java:162)
at android.widget.AbsListView.obtainView(AbsListView.java:2240)