Skip to content

Instantly share code, notes, and snippets.

Roman Allenstein roman-1983

Block or report user

Report or block roman-1983

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@roman-1983
roman-1983 / script.sh
Created Apr 28, 2016
Shopware .gitkeep folders
View script.sh
#!/usr/bin/env bash
FOLDERS=("cache" "media/archive" "media/image" "media/music" "media/pdf" "media/temp" "media/unknown" "media/video" "var/cache" "var/log" "web/cache")
for FOLDER in "${FOLDERS[@]}"
do :
mkdir -p $FOLDER
touch $FOLDER/.gitkeep
git add --force $FOLDER/.gitkeep
done
View .gitignore_global
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@roman-1983
roman-1983 / console
Created Sep 25, 2015
Copy ssh-key to remote server without ssh-copy-id
View console
cat ~/.ssh/id_rsa.pub | ssh user@machine "mkdir ~/.ssh; cat >> ~/.ssh/authorized_keys"
You can’t perform that action at this time.