Skip to content

Instantly share code, notes, and snippets.

View ADoebeling's full-sized avatar
:octocat:
Erreichbar

Andreas Döbeling ADoebeling

:octocat:
Erreichbar
View GitHub Profile
@ADoebeling
ADoebeling / .gitAutoCommit.sh
Last active January 29, 2023 19:39
Simple shellscript for updating .gitignore, auto-commit and push all changes to github
#!/bin/sh
# GIT Auto-Commit
#
# @author Andreas Doebeling <Kontakt@Doebeling.de>
# @copyright 1601.production siegler&thuemmler ohg
# @link http://www.1601.com
# @link http://xing.doebeling.de
# @version 0.2.230129_1ad
@ADoebeling
ADoebeling / .htaccess
Last active August 8, 2017 12:43
.htaccess-defaults
# .htaccess-defaults
# Some often used .htaccess-parameters
#
# @Author: Andreas Doebeling <ad@1601.com>
# @Copyright: 1601.communication gmbh
# @Link: http://www.1601.com
# @Link: http://xing.doebeling.de
# Always required at 1601-Hosting
RewriteEngine on
@ADoebeling
ADoebeling / fudforum-attach-export.sql
Last active July 5, 2016 04:37
How to export *.atch-Files from FudForum 2.6.0 / eGroupware 1.0 with with original filename/extension?
# 1.) Generate Bash-Script in MySQL
SELECT concat("mv ", id, ".atch \"", original_name, "\"") FROM phpgw_fud_attach
# 2.) Export as plain-text
# 3.) Insert result into rename.sh and add chmod +x
# 4.) Run rename.sh :)
@ADoebeling
ADoebeling / README.MD
Last active March 16, 2016 11:46
Stored in the dir about /htdocs/ it will dump the mysql-db that's configured in the contao localconfig.php

1601.com contaoMysqlDump

Setup-instruction

  • Switch into www-dir (above htdocs) of your project

  • Download this script:
    git clone git@gist.github.com:e78e9bafda5e1e1ff9e9.git

  • Rename folder:

@ADoebeling
ADoebeling / 1601_cmsBackup.sh
Last active September 15, 2015 13:06
Backup eines CMS
# How to backup a CMS
#
# @Author: Andreas Doebeling <ad@1601.com>
# @Copyright: 1601.communication gmbh
# @Link: http://www.1601.com
# Switch to customer-folder
cd /$PATH/
# Check the current mySQL-Config
@ADoebeling
ADoebeling / contao.robots.txt
Created September 4, 2015 12:58
Contao robots.txt
User-agent: *
Disallow: /check/
Disallow: /contao/
Disallow: /system/
Disallow: /templates/
Disallow: /vendor/
Disallow: /share/index.php
Disallow: /build.xml
Disallow: /composer.json
Disallow: /composer.lock
@ADoebeling
ADoebeling / github-basiswissen.sh
Created July 7, 2015 13:57
GitHub-Basiswissen
# Zum Verbinden auf mac
# Terminal starten
ssh SSH-BENUTZERNAME@DOMAINNAME
# Repariert die SSH-Berechtigung in einem Quota, einmal täglich
chmod 700 ~/.ssh && chmod 600 ~/.ssh/*
# Gibt Übersicht über alle Änderungen seit letztem Checkin
git status