Skip to content

Instantly share code, notes, and snippets.

View marcobiedermann's full-sized avatar
:octocat:
git push origin main -fu

Marco Biedermann marcobiedermann

:octocat:
git push origin main -fu
View GitHub Profile
@marcobiedermann
marcobiedermann / head.html
Last active May 25, 2022 19:59
website-head-tags
<!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 August 29, 2015 14:01
Google Maps API Greyscale
var mapOptions = {
styles: [
{
stylers: [
{ saturation: -100 }
]
}
]
};
<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>
### Headings
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
@marcobiedermann
marcobiedermann / social-share-links.md
Last active May 25, 2022 19:58
social-share-links.md
@marcobiedermann
marcobiedermann / snippets.md
Last active May 25, 2022 19:57
Mac OS Command Line Snippets

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 March 16, 2017 20:14
Backup Database
#!/usr/bin/env bash
# settings
BACKUP_DIRECTORY="backups"
SITE=""
DB_HOST=""
DB_NAME=""
DB_USER=""
DB_PASS=""
@marcobiedermann
marcobiedermann / contao-setup.sh
Last active January 4, 2020 10:50
Contao Core Installation Setup
#!/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 June 3, 2016 08:37
WordPress Installation Setup
#!/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 December 22, 2017 19:00
Typo3 Installation Setup
#!/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