Skip to content

Instantly share code, notes, and snippets.

View deponeWD's full-sized avatar

Daniel Ehniss deponeWD

View GitHub Profile
@deponeWD
deponeWD / SassMeister-input-HTML.html
Last active August 29, 2015 14:07
Grid Example with Susy. (Generated by SassMeister.com)
<!DOCTYPE html>
<html>
<head>
<title>Grid Example &ndash; Susy</title>
<meta charset="UTF-8">
<meta content="grid susy depone sass" name="keywords" />
<meta content="Daniel Ehniss" name="author" />
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>
@deponeWD
deponeWD / SassMeister-input-HTML.html
Created October 16, 2014 14:42
Grid Example with Neat. (Generated by SassMeister.com)
<!DOCTYPE html>
<html>
<head>
<title>Grid Example &ndash; Bourbon Neat</title>
<meta charset="UTF-8">
<meta content="grid bourbon neat depone" name="keywords" />
<meta content="Daniel Ehniss" name="author" />
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>
@deponeWD
deponeWD / comments.php
Last active September 15, 2017 15:29
Mein aktuelles Comments-Template
<?php if ( comments_open() ) : ?>
<div id="comments">
<?php if ( have_comments() ) : ?>
<h2 class="comment-count" ><?php printf( _n( '<span class="komplett" ><span class="zahl" >1</span> Reaktion</span>', '<span class="komplett"><span class="zahl" >%1$s</span> Reaktionen</span>', get_comments_number(), '' ), number_format_i18n( get_comments_number() )); ?></h2>
<?php endif; // check if there are comments ?>
<?php if ( post_password_required() ) : ?>
### Keybase proof
I hereby claim:
* I am deponeWD on github.
* I am depone (https://keybase.io/depone) on keybase.
* I have a public key whose fingerprint is 1DC3 9F03 E9CA 5A3F C179 A8D2 36A7 194D CBC3 4662
To claim this, I am signing this object:
@deponeWD
deponeWD / backup.sh
Last active November 10, 2017 09:25
Backup of MySQL-Database
#!/bin/bash
# Database credentials
# Getting username and password from .my.cnf
# [mysqldump]
# password=PASSWORD
# user=USERNAME
host="localhost"
db_name="NAME"
# Other options