Skip to content

Instantly share code, notes, and snippets.

View dennisfrank's full-sized avatar

Dennis Frank dennisfrank

View GitHub Profile
@dennisfrank
dennisfrank / dabblet.css
Created January 22, 2013 13:56
show and hide classes for media queries
/**
* show and hide classes for media queries
*/
h1 {font-size: 1.5em; float: right;}
h1:after {
content: "< 480px";
display: block;
}
@dennisfrank
dennisfrank / Buddy-craft3-atomic-deployment-pipeline.yml
Last active July 31, 2019 18:09
Buddy.works Craft 3 Atomic Deployment Pipeline
- pipeline: "Build and deploy to [environment]"
trigger_mode: "ON_EVERY_PUSH"
ref_name: "develop"
actions:
- action: "Init: Atomic Deployment"
type: "SSH_COMMAND"
working_directory: "${remote_path}/"
login: "${user}"
host: "${host}"
port: "22"
@dennisfrank
dennisfrank / discord-custom.css
Last active February 13, 2019 16:34
Custom Discord styles
:root {
--font-family: "Lato-Regular", "Helvetica Neue", Helvetica, "Segoe UI", -apple-system, BlinkMacSystemFont, Tahoma, Arial, sans-serif;
--message-max-width: 50rem;
--theme-light-message-color: #23262a;
--avatar-border-radius: 3px;
--sidebar-width: 70px;
--sidebar-icon-width: 35px;
--sidebar-icon-border-radius: 8px;
--channel-bar-width: 180px;
--channel-bar-item-height: 1.5rem;
@dennisfrank
dennisfrank / SassMeister-input.scss
Last active August 24, 2016 13:23
Generated by SassMeister.com.
// ----
// libsass (v3.3.6)
// ----
///* ========================================================================
// #SETTINGS
// ======================================================================== */
// Map of breakpoints

Contract Killer 3

Revised date: 07/11/2012

Between us [company name] and you [customer name]

Summary:

We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.

@dennisfrank
dennisfrank / dabblet.css
Created January 25, 2013 13:46
Define aspect ratio for elements in CSS
/**
* Define aspect ratio for elements in CSS
*/
div {
height: 0;
width: 33%;
padding-bottom: 33%;
float: left;
@dennisfrank
dennisfrank / small-and-minimalist-mac-apps.md
Last active October 13, 2015 04:58
Barcamp Braunschweig 2012 – Kleine Tools für den Mac
<?php
/**
* Custom configuration bootsrtap file for ExpressionEngine
*
* Place config.php in your site root
* Add require(realpath(dirname(__FILE__) . '/../../config_bootstrap.php')); to the bottom of system/expressionengine/config/config.php
* Add require(realpath(dirname(__FILE__) . '/../../config_bootstrap.php')); to the bottom of system/expressionengine/config/database.php
* If you have moved your site root you'll need to update the require_once path
*
@dennisfrank
dennisfrank / osxtweaks.sh
Last active October 2, 2015 18:58 — forked from erikh/hack.sh
OS X Tweaks
#!/usr/bin/env bash
##
# This script stands on the shoulders of giants:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# https://github.com/ptb/Mac-OS-X-Lion-Setup/blob/master/setup.sh
#
# Adjust it to your needs and install it like this:
# curl -sL https://raw.github.com/gist/2301333/osxtweaks.sh | sh
#
@dennisfrank
dennisfrank / dabblet.css
Created February 6, 2012 17:34
Flexible inline text with background color and large right padding
/**
* Flexible inline text with background color and large right padding
*/
body {
width: 50%;
background: #363532;
}
p {