Skip to content

Instantly share code, notes, and snippets.

@stucki
stucki / gist:e6e3c67cdb24cbcf9bb8d35de9402576
Last active November 22, 2021 14:46
Move all contents of a Git repository into a new subdirectory
# Goals:
# - Move all contents of a Git repository into a new subdirectory
# - Apply the change on all commits in the entire history
#
# Notes:
# - You can also just move the contents of the last commit in your repository. Git is able to
# follow moved contents in the history using git log --follow.
# - This code moves the contents of every commit, so --follow is not needed anymore.
# - However, this means that every commit will be changed. Old SHAs are no longer valid.
# Every clone of the repository needs to be cloned from start again.
@stucki
stucki / ADBCheatSheet.md
Created April 6, 2017 16:30 — forked from HugoMatilla/ADBCheatSheet.md
ADB Cheat Sheet

#CONFIG

Include adb and other android tools on your path

In Users/hugomatilla.bash_profile add export PATH=$PATH:/Users/hugomatilla/Documents/AndroidSDKs/sdk/platform-tools export PATH=$PATH:/Users/hugomatilla/Documents/AndroidSDKs/sdk/tools

My own adb location

cd /Users/hugomatilla/Documents/AndroidSDKs/sdk/platform-tools

START

@stucki
stucki / ADBCheatSheet.md
Created April 6, 2017 16:30 — forked from HugoMatilla/ADBCheatSheet.md
ADB Cheat Sheet

#CONFIG

Include adb and other android tools on your path

In Users/hugomatilla.bash_profile add export PATH=$PATH:/Users/hugomatilla/Documents/AndroidSDKs/sdk/platform-tools export PATH=$PATH:/Users/hugomatilla/Documents/AndroidSDKs/sdk/tools

My own adb location

cd /Users/hugomatilla/Documents/AndroidSDKs/sdk/platform-tools

START

@stucki
stucki / ADBCheatSheet.md
Created April 6, 2017 16:30 — forked from HugoMatilla/ADBCheatSheet.md
ADB Cheat Sheet

#CONFIG

Include adb and other android tools on your path

In Users/hugomatilla.bash_profile add export PATH=$PATH:/Users/hugomatilla/Documents/AndroidSDKs/sdk/platform-tools export PATH=$PATH:/Users/hugomatilla/Documents/AndroidSDKs/sdk/tools

My own adb location

cd /Users/hugomatilla/Documents/AndroidSDKs/sdk/platform-tools

START

Keybase proof

I hereby claim:

  • I am stucki on github.
  • I am stucki (https://keybase.io/stucki) on keybase.
  • I have a public key whose fingerprint is EFFE A648 A83D 2F05 FFFD 6E0B 7E34 9B69 1194 3F7A

To claim this, I am signing this object:

@stucki
stucki / BetterUserManagementForTypo3Infrastructure.md
Last active December 19, 2015 09:29
Join our workshop today 14:30 at T3DD13 to get this project started!

Better user management for TYPO3 infrastructure

Current situation

  • Highly proprietary Direct-SSO single-signon solution (http://www.single-signon.com/)
  • Custom SSO adaptor to integrate various external systems (MediaWiki, FUDforum, Redmine, question2answer)
  • HTTP call to a script on typo3.org to check username / password (Subversion, Gerrit)
  • Groups managed through forge (redmine) projects. Not related to extension key owner on typo3.org

Reasons to move away from Direct-SSO