Skip to content

Instantly share code, notes, and snippets.

<template>
<div>
<span class="Plan__name">{{ plan.name }}</span>
<span class=Plan__price>{{ plan.price}}/month</span>
<button @click=setActivePlan>Upgrade</button>
</div>
</template>
<script>
export default {
name: 'plan',
@jason
jason / plan.vue
Last active November 23, 2016 18:03
<template>
<div>
<span class="Plan__name">{{ plan.name }}</span>
<span class=Plan__price>{{ plan.price}}/month</span>
</div>
</template>
<script>
export default {
name: 'plan',
props: ['plan']
ruby closelead.rb
name
rastkuqwfkt
{:name=>"rastkuqwfkt", :contacts=>[{:name=>"Jdubs", :phones=>[{:phone=>"4153342961", :type=>"office"}], :emails=>[{:email=>"technique@gmail.com", :type=>"office"}]}]}
I, [2013-04-24T07:18:41.110939 #21186] INFO -- : CONNECT: ["app.close.io", 80]
I, [2013-04-24T07:18:41.111055 #21186] INFO -- : POST /api/v1/lead
I, [2013-04-24T07:18:41.317552 #21186] INFO -- : PARAMS {"{\"name\":\"rastkuqwfkt\",\"contacts\":[{\"name\":\"Jdubs\",\"phones\":[{\"phone\":\"4153342961\",\"type\":\"office\"}],\"emails\":[{\"email\":\"technique@gmail.com\",\"type\":\"office\"}]}]}"=>[]}
I, [2013-04-24T07:18:41.317619 #21186] INFO -- : BODY: Net::HTTPFound
I, [2013-04-24T07:18:41.317870 #21186] INFO -- : CONNECT: ["app.close.io", 443]
I, [2013-04-24T07:18:41.317935 #21186] INFO -- : GET /api/v1/lead
@jason
jason / bourbon.css.scss
Created March 20, 2013 18:19
Bourbon Neat HTML/CSS grid setup
.l-row {
@include outer-container;
}
.l-sidebar {
@include span-columns(4);
}
.l-article {
@include span-columns(8);
@jason
jason / foundation.html
Created March 20, 2013 18:17
Foundation grid setup
<div class="row">
<div class="large-8 columns"></div>
<div class="large-4 columns"></div>
</div>
@jason
jason / bootstrap.html
Created March 20, 2013 18:16
Bootstrap grid setup
<div class="row">
<div class="span8"></div>
<div class="span4"></div>
</div>
devise = yes?("Devise? ")
cancan = yes?("Cancan? ")
omniauth = yes?("Omniauth? ")
foundation = yes?("Foundation? ")
bootstrap = foundation ? false : yes?("Bootstrap? ")
handlebars = yes?("Handlebars? ")
underscore = yes?("Underscore? ")
staticpages = yes?("Static Pages Controller with home page? ")
github = yes?("GitHub create and push? ")
if github
@jason
jason / gist:5073930
Created March 3, 2013 00:36
VoteTypes.name holds whether the vote is an aye, nay, or abstain. @ resolution has Resolution.find(params[:id}). Votes has the vote_type_id, the member_id (who it is that's voting) and the resolution_id
td = @vote_types[@resolution.votes.where(:member_id => n).first.vote_type_id - 1].name
@jason
jason / w1d4
Last active December 11, 2015 00:08 — forked from seanwooj/ w1d4
Hangman and Mastermind
@jason
jason / w1d4
Created January 11, 2013 21:19 — forked from nramadas/ w1d4
Hangman and Mastermind