Skip to content

Instantly share code, notes, and snippets.

@tlattimore
tlattimore / README.md
Created May 31, 2016 10:44 — forked from juampynr/README.md
Run Drupal 8 web tests without installing Drupal
  1. Create a MySQL database.
  2. Create a user that has access to that database.
  3. Make sure that you have the PDO_MySQL PHP library (otherwise you will get an error because it is missing).
  4. Run the following script.
  5. Once tests complete, we need to stop PHP's web server.

Note: there seem to be some issues with PHP's built-in web server. Please report them here https://www.drupal.org/node/1543858.

@tlattimore
tlattimore / Rakefile
Last active April 11, 2016 11:34
Personal Blog Deployment
#
# == Dependencies
#
require 'rake'
require 'yaml'
require 'fileutils'
require 'rbconfig'
#
@tlattimore
tlattimore / SassMeister-input-HTML.html
Created March 12, 2015 18:38
Generated by SassMeister.com.
<!--<div class="onoffswitch">
<input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="myonoffswitch" checked>
<label class="onoffswitch-label" for="myonoffswitch">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
</div>
-->
<div class="toggle">
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCpRy8BMAecgqrZ/2zARxdVs0MniVzSfdGgZkEeJ3hGNt8nLP8cPYdEhGtECilrC9gJKQ3N9JdZlTqfwaj2BofzsYo7XC7fgVitRSE0aO2G3fyzqVQv/3SJLK+qJ2U/cCTRQ0wpIouSqRH4rc4w0ZWRog2KZ1nS/xeckGfL9NK381qmSSDnKshsq1YZH+681KdTD0crO38badzT4YG1rdAwXKWN08anlkrckUL/fQSzQWPxfXQdxr/snxCz3XvjyiTuVRw5VZsRPVmRi3jG/yh7RyVkK+nkV4bew9kdvbezWucK4A0ZneVd1ne8Ya2/HI8t+Eco/MDx6/ryv47d2Rm9 thomas@lattimore.me
@tlattimore
tlattimore / SassMeister-input-HTML.html
Created December 19, 2014 14:56
Generated by SassMeister.com.
<section class="grid-container">
<div class="grid-container__item"><h2>One</h2></div>
<div class="grid-container__item"><h2>Two</h2>
Pellentesque accumsan fringilla tincidunt. Integer.
</div>
<div class="grid-container__item"><h2>Three</h2></div>
<div class="grid-container__item"><h2>Four</h2></div>
<div class="grid-container__item"><h2>Five</h2>
<img src="http://placekitten.com/g/200/200" />
</div>
@tlattimore
tlattimore / SassMeister-input.scss
Created December 4, 2014 20:23
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// Breakpoint (v2.5.0)
// ----
@import "breakpoint";
$breakpoints: (
'small': 420px,
@tlattimore
tlattimore / SassMeister-input.scss
Created November 12, 2014 23:45
Generated by SassMeister.com.
// ----
// libsass (v3.0.1)
// ----
$components: (
alpha: "icon-alpha.png",
beta: "icon-beta.png",
gamma: "icon-gamma.png"
);
@tlattimore
tlattimore / SassMeister-input.scss
Created November 4, 2014 17:12
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
$components: (
alpha: "icon-alpha.png",
beta: "icon-beta.png",
gamma: "icon-gamma.png"
);
@tlattimore
tlattimore / httpd.conf
Created October 31, 2014 15:28
Require all granted
<Directory />
AllowOverride none
Require all granted
</Directory>
@tlattimore
tlattimore / packages.md
Created September 9, 2014 20:18
Sublime Text 3 Packages I Use
  • BracketHighlighter
  • DocBlockr
  • Drupal Snippets
  • Drupal
  • Git
  • GitGutter
  • HTML5
  • Jekyll
  • Liquid
  • Markdown Preview