Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Dave MDXDave

🏠
Working from home
Block or report user

Report or block MDXDave

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
@MDXDave
MDXDave / gist:2041a94e87b0239698e7
Created Apr 11, 2015
PowerDNS MySQL-Structure
View gist:2041a94e87b0239698e7
CREATE TABLE domains (
id INT AUTO_INCREMENT,
name VARCHAR(255) NOT NULL,
master VARCHAR(128) DEFAULT NULL,
last_check INT DEFAULT NULL,
type VARCHAR(6) NOT NULL,
notified_serial INT DEFAULT NULL,
account VARCHAR(40) DEFAULT NULL,
PRIMARY KEY (id)
) Engine=InnoDB;
@MDXDave
MDXDave / login.sh
Created May 20, 2015
Login-Skript (BS1 Praktikukm, Aufgabe 1)
View login.sh
#! /usr/bin/sh
hour=`date +%H`
min=`date +%M`
space=$( du -sm ~| awk '{print $1}')
maxspace=250
realname=`ypcat passwd | grep $USER | cut -d: -f5`
if [ $hour -lt 06 ]
then
echo "\033[1;37mGuten Morgen!"
View installv2.gradle
apply plugin: 'com.simpligility.maven.plugins'
group = publishedGroupId // Maven Group ID for the artifact
install {
repositories.mavenInstaller {
// This generates POM.xml with proper parameters
pom {
project {
packaging 'aar'
View netbear.pem
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.14 (GNU/Linux)
mQINBFXVAakBEADRzaJdBd/gnMkQhHipLc3TiFaSxJIvjoGVN+FFZUzgDLVGPISrVI7fPZc2AVhqnGBX/YydXVkWOlFuYxW/wuhyOTiUu33u44i1idQZTeyW0okO0uq6PBMhBj0X2eKjbSzYWYVMdgnMRJrsk+J/1/VVA1JVsDaQkjW6oMcOWc0hFs/F2a6VAag1yLI1kWoCcRoH9o2VM/cI0P4IIpRdavsb2VSIeY15SqKk6zuOxU4lhL0wlIPpkALCavtYNcJJ4hiAtXKiiNCCYuWghmzTCXvELNwg/ALpIVSdUdYkpdiUAQRd/dmmf4+3F6LFVSexEXIMZCM5J6U7b20ZKH1y+NIdcFCEn9oDACfKcmTJ8qTyJ1uDkuR8kL2zG9e2aYcCC1LH9csg+IBjWFNr3IzTqNYFwixGriNqL2l6kVfEwojDbi4FG51vwD0qINsayaELl88MHLnQhi4txz21kPk4PUUA/I4dY9PLtGqLql3gUjwwRfxEusmLsCM7U0f7PvtLfeIoot9nqo55g+hyR4dWJyH0aEgMKVNc+kILLyIZgIVmj5OjtRihDZ3/ubYVWC5DXWanb5KZGTA4zLTXtATik+g+vZyGjc9FYkRtIupVj1xbxtQm1ZFigJ6lMR8CO6L/HjTO3QWCwgIjUL7ItuIiF5/iS7M6GzpP7W5RUHPY7d8mtQARAQABtDFNYXJrdXMgRXlyaWNoIChuRVVUUm9uKSA8ZXlyaWNoLm1hcmt1c0BnbWFpbC5jb20+iQI4BBMBAgAiBQJV1QGpAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRBfu0HISEIUadt3D/9eK+uvUV9gSxu9kvHUN8CPaRtNSyFDFpKXFScZ4SHrUNrKsEdkkFlo4JqXfWALIqBOsUCD0OqDW4KbWEKvCi5GhiOmjJBZXTwbhlp
@MDXDave
MDXDave / TwitterTeal.css
Created Dec 10, 2016
Twitter Teal Style
View TwitterTeal.css
.promoted-trend {
display: none;
}
.promoted-tweet {
display: none
}
* {
border-radius: 0 !important;
You can’t perform that action at this time.