Skip to content

Instantly share code, notes, and snippets.

Ryan Merrill procload

View GitHub Profile
View button.jsx
import { Component, Prop, h, Event, EventEmitter } from "@stencil/core";
@Component({
tag: "mdn-button",
styleUrl: "mdn-button.css",
shadow: true
})
export class ButtonComponent {
@Prop() showIcon = false;
@Prop() buttonLabel: string;
View blah
if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
" unicode symbols
let g:airline_left_sep = '»'
let g:airline_left_sep = ''
let g:airline_right_sep = '«'
let g:airline_right_sep = ''
let g:airline_symbols.linenr = '␊'
View unwrap_2.swift
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
if segue.identifier == "pushDetail" {
let cell = sender as? UITableViewCell
let indexPath = tableView.indexPathForCell(cell!)!
let timerModel: TimerModel = {
if indexPath.section == 0 {
return self.coffeeTimers[indexPath.row]
} else {
View unwrap.swift
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
if segue.identifier == "pushDetail" {
let cell = sender as! UITableViewCell
let indexPath = tableView.indexPathForCell(cell)!
let timerModel: TimerModel = {
if indexPath.section == 0 {
return self.coffeeTimers[indexPath.row]
} else {
View unwrap
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
if segue.identifier == "pushDetail" {
let cell = sender as! UITableViewCell
let indexPath = tableView.indexPathForCell(cell)!
let timerModel: TimerModel = {
if indexPath.section == 0 {
return self.coffeeTimers[indexPath.row]
} else {
View font.scss
// Font Mixins
///////////////////////////////////////////////////////////////////////////////
//
// Usage
// @include font(brandon, light-italic);
// @include font(brandon);
// @include font(brandon, bold);
// Etc.
//
View email.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title></title>
<style type="text/css">
/* Responsive Media Queries */
@procload
procload / SassMeister-input.scss
Created Mar 4, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
$smoke: #CCC;
$color-facebook: #000;
$color-twitter: #000;
$color-pinterest: #000;
View zephyr.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title></title>
<style type="text/css">
View pretty.json
{
"content": [
{
"id": 12007,
"title": "How to Make Lentil Soup Without a Recipe",
"category": "Not Recipes",
"title_tag": "How to Make Lentil Soup Without a Recipe ",
"social_headline": "",
"social_description": "Lentil soup will hold your hand as you transition from holiday season to resolution season, and you don't even need a recipe to make it.",
"meta_description": "Lentil soup will hold your hand as you transition from holiday season to resolution season, and you don't even need a recipe to make it.",
You can’t perform that action at this time.