Skip to content

Instantly share code, notes, and snippets.

View dennisfrank's full-sized avatar

Dennis Frank dennisfrank

View GitHub Profile
@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 / 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 / SassMeister-input.scss
Last active August 24, 2016 13:23
Generated by SassMeister.com.
// ----
// libsass (v3.3.6)
// ----
///* ========================================================================
// #SETTINGS
// ======================================================================== */
// Map of breakpoints
@dennisfrank
dennisfrank / SassMeister-input.scss
Last active August 29, 2015 14:24
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
/*
* Works
*/
// Works as expected
@mixin okay($foo: bar) {
@dennisfrank
dennisfrank / get_remote_db.sh
Created May 23, 2014 16:49
Shell script to import a remote database into local environment
#!/bin/sh
# Import a remote database into a local database
# ----------------------------------------------
#
# Based on http://danherd.net/quick-script-synchronise-from-a-remote-expressionengine-database/
#
# Don’t forget chmod +x to make the script executable.
#
# Change the extension to .command to run the script directly from OS X Finder.
@dennisfrank
dennisfrank / 0_reuse_code.js
Created February 7, 2014 17:04
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

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 / 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;
}