Skip to content

Instantly share code, notes, and snippets.

Daniel Ehniss deponeWD

View GitHub Profile
@deponeWD
deponeWD / backup.sh
Last active Nov 10, 2017
Backup of MySQL-Database
View backup.sh
#!/bin/bash
# Database credentials
# Getting username and password from .my.cnf
# [mysqldump]
# password=PASSWORD
# user=USERNAME
host="localhost"
db_name="NAME"
# Other options
View Keybase proof
### 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 / comments.php
Last active Sep 15, 2017
Mein aktuelles Comments-Template
View comments.php
<?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() ) : ?>
@deponeWD
deponeWD / SassMeister-input-HTML.html
Created Oct 16, 2014
Grid Example with Neat. (Generated by SassMeister.com)
View SassMeister-input-HTML.html
<!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 / SassMeister-input-HTML.html
Last active Aug 29, 2015
Grid Example with Susy. (Generated by SassMeister.com)
View SassMeister-input-HTML.html
<!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>
You can’t perform that action at this time.