Skip to content

Instantly share code, notes, and snippets.

@kellishouts
kellishouts / GoogleFu-Priorities.md
Last active November 8, 2015 12:47
GoogleFu Priorities

Jason

8 - 11 Private Game Flow
30 Lobby: Ability to Leave the Game Lobby
Ability to Remove User

Jon

25 Winner View

Kelli

More Search Results

@kellishouts
kellishouts / gulp-scss-livereload.md
Last active June 29, 2018 16:03
Gulp + SCSS + LiveReload - Updated 12/18/2015

Gulp + SCSS + LiveReload

This Gist outlines the gulp workflow that will:

  1. watch for any scss changes, then compiles scss source into css
  2. watch for any changes in the public directory, and trigger live-reload
  3. serve static content in public/

This Gist also assumes you already know how to install npm modules, gitignore, create directories and create files via the command line.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>SCSS Day</title>
<link href='https://fonts.googleapis.com/css?family=Oswald|Roboto+Condensed:300,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="/css/styles.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
@kellishouts
kellishouts / semi-final-scss.scss
Created December 19, 2015 17:55
SCSS Day - Semifinal SCSS
// PROCESS
// 1. Set basic variables & media query ranges x
// 2. Style large blocks with bg colors for layout x
// 3. Get general layout elements (block) sized for all media queries x
// 4. Modify general layout elements with & x
// 5. Secondary features grid (S --> L)
// 6. Typography & Image Sizes x
// 7. Refactor the SCSS to make it dryer & simpler.
// 8. Set variables for common values.
@kellishouts
kellishouts / initial-scss.scss
Created December 20, 2015 00:29
initial-scss.scss
// PROCESS
// 1. Set basic variables & media query ranges
// 2. Style large blocks with bg colors for layout
// 3. Get general layout elements (block) sized for all media queries
// 4. Modify general layout elements with &
// 5. Secondary features grid (S --> L)
// 6. Typography & Image Sizes
// 7. Refactor the SCSS to make it dryer & simpler.
// 8. Set variables for common values.
@kellishouts
kellishouts / developing-airshipcs-admin.md
Last active February 28, 2018 23:10
Developing AirshipCMS Admin

hi

@kellishouts
kellishouts / AirshipVagrantSetup.md
Created March 22, 2016 01:01
Airship Vagrant Setup

setup test or dev env

install vagrant

install coreos

  • i setup mine in ~/VirtualBox\ VMs/
  • git clone https://github.com/coreos/coreos-vagrant
@kellishouts
kellishouts / foundation-debugging.md
Last active April 11, 2016 21:17
Foundation Debugging

Failed Attempts

It was really difficult to get foundation-sites working for the project. At first, I was using a npm version of it, that wasn't working. Then I used a bower version of it that wasn't working. Along the way I struggled to figure out how my gulp file needed to be set up and what dependencies were required. Foundation said that 'autoprefixer' was required. So I Googled 'Foundation Sass Autoprefixer'. Semi-helpful results. Here were some semi-helpful resources in that process. Not super fruitful, though at least I understand gulp a tiny bit better:

https://github.com/sindresorhus/gulp-autoprefixer
http://www.sitepoint.com/simple-gulpy-workflow-sass/

Successful Hacking of Foundation-Sites

Foundation still didn't import properly, so I looked up a totally different solution. I found that the MOST helpful thing to do was set up a foundation demo project, install it, and copy their project structure (almost exactly), then tweak until it matched my project structure a bit more.

@kellishouts
kellishouts / demo_foundation_settings.scss
Last active April 28, 2016 01:56
demo_foundation_settings.scss
/// SNIPPETS FROM SETTINGS THAT AFFECT THE TOPBAR
// 7. Accordion
// ------------
$accordion-background: $white;
$accordion-plusminus: true;
$accordion-item-color: foreground($accordion-background, $primary-color);
$accordion-item-background-hover: $light-gray;
$accordion-item-padding: 1.25rem 1rem;
@kellishouts
kellishouts / demo_foundation_header_markup.html
Last active April 28, 2016 01:58
demo_foundation_header_markup.html
<header>
<div class="top-bar">
<div class="top-bar-title">
<h2>
<a href="#">
Logo Here
</a>
</h2>
<span class="mobile-menu-button" data-responsive-toggle="responsive-menu" data-hide-for="large">
<button class="menu-icon" type="button" data-toggle></button>