Skip to content

Instantly share code, notes, and snippets.

View juherr's full-sized avatar

Julien Herr juherr

View GitHub Profile
@juherr
juherr / keybase.md
Created February 5, 2015 08:28
Keybase proof

Keybase proof

I hereby claim:

  • I am juherr on github.
  • I am juherr (https://keybase.io/juherr) on keybase.
  • I have a public key whose fingerprint is 5324 0E3C 22D6 BB81 4DD6 19B1 838A 9B11 C4CC D7F2

To claim this, I am signing this object:

# Boxstarter : http://boxstarter.org
# run command prompt "cmd" as admin
# START START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/juherr/[...]/raw/[...]/win-box.txt
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
#Enable-RemoteDesktop
cinst googlechrome
#cinst firefox
@juherr
juherr / directus-cleaning.sql
Last active December 19, 2023 13:57 — forked from lukas-schaetzle/directus-cleaning.sql
Directus (MySQL): Remove old activities, revisions, flow logs, notifications
/*
DISCLAIMER: Use at your own risk!
Tested with Directus 10.8.0 and MySQL 5.6
This will delete all flow execution logs, revisions and acitivites which are older
than the specified MinTimestamp and are not in the top <specified MinItems> latest
items. Activities related to saved revisions / flow logs are also saved even when
they normally would have been deleted.
Archived notifiactions are deleted when the creation of the notifaction is older