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 / head.html
Last active Apr 28, 2017
website-head-tags
View head.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Website</title>
<base href="/">
@marcobiedermann
marcobiedermann / google.maps.Map
Last active Aug 29, 2015
Google Maps API Greyscale
View google.maps.Map
var mapOptions = {
styles: [
{
stylers: [
{ saturation: -100 }
]
}
]
};
View HTML Dummy Content
<h3>Headings</h3>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
<h3>Text</h3>
View Markdown Dummy Content
### Headings
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
View social-share-links.md
@marcobiedermann
marcobiedermann / snippets.md
Last active Sep 28, 2018
Mac OS Command Line Snippets
View snippets.md

Compression

Archive tar and gzip

tar -czf output.tar.gz input_folder1 input_folder2 input_file …

Extract tar and gzip

@marcobiedermann
marcobiedermann / backup.sh
Last active Mar 16, 2017
Backup Database
View backup.sh
#!/usr/bin/env bash
# settings
BACKUP_DIRECTORY="backups"
SITE=""
DB_HOST=""
DB_NAME=""
DB_USER=""
DB_PASS=""
@marcobiedermann
marcobiedermann / contao-setup.sh
Last active Jan 4, 2020
Contao Core Installation Setup
View contao-setup.sh
#!/usr/bin/env bash
# Contao Core releases: https://github.com/contao/core/releases
# Contao Check releases: https://github.com/contao/check/releases
CONTAO_CORE_VERSION="3.5.40"
CONTAO_CHECK_VERSION="12.2"
# Install Contao
wget https://github.com/contao/core/releases/download/${CONTAO_CORE_VERSION}/contao-${CONTAO_CORE_VERSION}.tar.gz
tar -xzf contao-${CONTAO_CORE_VERSION}.tar.gz
@marcobiedermann
marcobiedermann / wordpress-setup.sh
Last active Jun 3, 2016
WordPress Installation Setup
View wordpress-setup.sh
#!/usr/bin/env bash
# Download and extract WordPress
wget https://wordpress.org/latest.tar.gz
tar -xzf latest.tar.gz
rm -f latest.tar.gz
mv wordpress/* .
rm -rf wordpress
# Remove setup file
@marcobiedermann
marcobiedermann / typo3-setup.sh
Last active Dec 22, 2017
Typo3 Installation Setup
View typo3-setup.sh
#!/usr/bin/env bash
TYPO3_VERSION="8.7.9"
# Download and extract Typo3
curl -L -o typo3_src.tgz get.typo3.org/${TYPO3_VERSION}
tar -xzf typo3_src.tgz
rm -f typo3_src.tgz
# Symlink Typo3 source folder
You can’t perform that action at this time.