Skip to content

Instantly share code, notes, and snippets.

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;
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 = '␊'
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 {
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 {
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 {
// Font Mixins
///////////////////////////////////////////////////////////////////////////////
//
// Usage
// @include font(brandon, light-italic);
// @include font(brandon);
// @include font(brandon, bold);
// Etc.
//
<!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 March 4, 2015 22:15
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
$smoke: #CCC;
$color-facebook: #000;
$color-twitter: #000;
$color-pinterest: #000;
<!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">
{
"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.",