Skip to content

Instantly share code, notes, and snippets.

@tlattimore
tlattimore / README.md
Created May 31, 2016 — forked from juampynr/README.md
Run Drupal 8 web tests without installing Drupal
View README.md
  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 Apr 11, 2016
Personal Blog Deployment
View Rakefile
#
# == Dependencies
#
require 'rake'
require 'yaml'
require 'fileutils'
require 'rbconfig'
#
@tlattimore
tlattimore / SassMeister-input-HTML.html
Created Mar 12, 2015
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<!--<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">
View gist:2cf7cc99f545a97b8f44
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 Dec 19, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<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 Dec 4, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// Breakpoint (v2.5.0)
// ----
@import "breakpoint";
$breakpoints: (
'small': 420px,
@tlattimore
tlattimore / SassMeister-input.scss
Created Nov 12, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// libsass (v3.0.1)
// ----
$components: (
alpha: "icon-alpha.png",
beta: "icon-beta.png",
gamma: "icon-gamma.png"
);
@tlattimore
tlattimore / SassMeister-input.scss
Created Nov 4, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// 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 Oct 31, 2014
Require all granted
View httpd.conf
<Directory />
AllowOverride none
Require all granted
</Directory>
@tlattimore
tlattimore / packages.md
Created Sep 9, 2014
Sublime Text 3 Packages I Use
View packages.md
  • BracketHighlighter
  • DocBlockr
  • Drupal Snippets
  • Drupal
  • Git
  • GitGutter
  • HTML5
  • Jekyll
  • Liquid
  • Markdown Preview
You can’t perform that action at this time.