Skip to content

Instantly share code, notes, and snippets.

View 2tefan's full-sized avatar
👋
Living

2tefan

👋
Living
View GitHub Profile
@2tefan
2tefan / sendMultipleFilesViaKDEConnect.sh
Created November 7, 2022 21:01
Send multiple files via KDE Connect
for file (*) kdeconnect-cli -d device_id --share=$file
@2tefan
2tefan / sortPicsByDate.sh
Created November 5, 2022 02:48
Sorts all pictures into folders with date
exiftool "-directory<ImageSize" *
@2tefan
2tefan / ListTests.java
Created July 27, 2022 13:31
List all Tests of a class and also prints if the test is ignored or not. The sysout can be used to create a table or just as a overview
public static void main(String[] args) {
Class cls = PutYourClassHere.class;
ArrayList<Boolean> ignoredList = new ArrayList<>();
for (Method method :
cls.getDeclaredMethods()) {
boolean isTest = false;
boolean isIgnored = false;
for (Annotation annotation :

Keybase proof

I hereby claim:

  • I am 2tefan on github.
  • I am 2tefan (https://keybase.io/2tefan) on keybase.
  • I have a public key ASBWJcFndGsfJHRacWAp9fZ0S8oNWmw97GFbHQ5qMYwmKQo

To claim this, I am signing this object: