Skip to content

Instantly share code, notes, and snippets.

:octocat:
git push --force

Marco Biedermann marcobiedermann

:octocat:
git push --force
Block or report user

Report or block marcobiedermann

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
@marcobiedermann
marcobiedermann / cloudSettings
Last active Jul 12, 2019
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2019-07-12T11:43:05.359Z","extensionVersion":"v3.3.1"}
@marcobiedermann
marcobiedermann / google.md
Created Feb 11, 2018
Google Search Parameters
View google.md

Search in URL

inurl:

Seach in Title

intitle:
@marcobiedermann
marcobiedermann / composer.md
Created Jan 28, 2018
Cheatsheet of composer commands
View composer.md

Initialize new composer.json

composer init

Install all dependencies specified in composer.json

composer install
@marcobiedermann
marcobiedermann / git.md
Last active Jan 10, 2018
Cheatsheet of git commands
View git.md

Get status

git status

Add file to staging area

git add FILE
@marcobiedermann
marcobiedermann / unix.md
Last active Oct 26, 2017
Unix tools and how to use them
View unix.md

ifconfig

apt-get install net-tools

curl

apt-get install curl
@marcobiedermann
marcobiedermann / php-styleguide.md
Last active Mar 31, 2017
PHP Coding Styleguide
View php-styleguide.md

Do not use closing PHP tag at end of file

<?php

Capitalize class names.

class MyClassName
View wordpress-security.md

Rename database table prefix

Set table prefix in wp-config.php

$table_prefix  = 'wp_6yCX_';

Rename tables in database

@marcobiedermann
marcobiedermann / contao-setup.sh
Last active Sep 26, 2017
Contao 4 standard Installation Setup
View contao-setup.sh
#!/usr/bin/env bash
# Contao 4 standard releases: https://github.com/contao/standard-edition/releases/
# Contao Check releases: https://github.com/contao/check/releases
CONTAO_CORE_VERSION="4.4.5"
CONTAO_CHECK_VERSION="12.0"
# Install Contao
wget https://github.com/contao/standard-edition/releases/download/${CONTAO_CORE_VERSION}/contao-${CONTAO_CORE_VERSION}.tar.gz
tar -xzf contao-${CONTAO_CORE_VERSION}.tar.gz
View typo-snippets.md

ExtBase

Update Repository Instance

<f:form action="ACTION_NAME" name="MODEL_NAME" object="{MODEL_NAME}">
  <f:form.textfield name="PROPERTY_NAME" property="PROPERTY_NAME" />
</f:form>
You can’t perform that action at this time.