Skip to content

Instantly share code, notes, and snippets.

Avatar

Jenna Moakley moakdesigns

View GitHub Profile
@moakdesigns
moakdesigns / MDmod-WorkFlowy-LWMD-Expanded-Notes.css
Last active May 22, 2019
Adjusted the expanded notes section from #Workflowy Lightweight Markdown Flavored located here https://userstyles.org/styles/149728/workflowy-lightweight-markdown-flavored
View MDmod-WorkFlowy-LWMD-Expanded-Notes.css
@font-face {
font-family: 'Roboto';
font-style: italic;
font-weight: 300;
src: local('Roboto Light Italic'), local('Roboto-LightItalic'), url(https://fonts.gstatic.com/s/roboto/v18/KFOjCnqEu92Fr1Mu51TjASc6CsTYl4BO.woff2) format('woff2');
}
@font-face {
font-family: 'Roboto';
font-style: italic;
font-weight: 500;
View WorkflowyStylableTags_big_old_version.js
// ==UserScript==
// @name WorkflowyStylableTags
// @description Gives each tag it's own css style, so you can style them with Stylish. I use Blank Canvas to manage my userscripts in Chrome.
// @author Nigel Thorne
// @include http*://*workflowy.com/*
// @version 1.0
// ==/UserScript==
String.prototype.endsWith = function(suffix) {
return this.indexOf(suffix, this.length - suffix.length) !== -1;
@moakdesigns
moakdesigns / Data-Attributes-Console-Hack.js
Last active Jun 28, 2017
Chrome DevTools Console Hack to list all Data Attributes in table view. Credits to: https://www.thyngster.com/tip-quickly-debugqa-data-attributes/ For GTM I assume. [updated June 28, 2017]
View Data-Attributes-Console-Hack.js
(function() {
var elements = [].slice.call(document.querySelectorAll('*')).filter(function(el) {
if (typeof (el.dataset) != "undefined")
return Object.keys(el.dataset).length != 0;
});
var data = [];
var i = elements.length;
@moakdesigns
moakdesigns / MCC Performance Dashboard
Created May 14, 2015
To whet your appetite, here’s a Script which builds a nice little dashboard for all your accounts and which shows how yesterday’s spend compares to the day before and to the same day last week. It does the same for weekly and monthly spend and puts it into a Google Sheet. You can use the basic version below, but we’ll post updated versions in ou…
View MCC Performance Dashboard
function main() {
var newSpreadSheet = SpreadsheetApp.openByUrl("put a link to a Google Sheet
here - this is where the results will be placed");
var numOfSheets = newSpreadSheet.getSheets();
if(numOfSheets.length>0){
for(var i=1,len=numOfSheets.length;i<len;i++)
newSpreadSheet.deleteSheet(numOfSheets[i]);
}
newSpreadSheet.getActiveSheet().clear().setName("Last 1 Day");
@moakdesigns
moakdesigns / css_resources.md
Last active Aug 29, 2015 — forked from jookyboi/css_resources.md
CSS libraries and guides to bring some order to the chaos.
View css_resources.md

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides

@moakdesigns
moakdesigns / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console