Skip to content

Instantly share code, notes, and snippets.

View dennisfrank's full-sized avatar

Dennis Frank dennisfrank

View GitHub Profile
@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
@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 / 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 / SassMeister-input.scss
Last active August 24, 2016 13:23
Generated by SassMeister.com.
// ----
// libsass (v3.3.6)
// ----
///* ========================================================================
// #SETTINGS
// ======================================================================== */
// Map of breakpoints
@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;