This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gql from "graphql-tag"; | |
import { graphql } from 'react-apollo' | |
import { compose } from 'recompose' | |
import { withLoading, withError } from '../helpers' | |
const GET_DOGS = gql` | |
{ | |
dogs { | |
id | |
breed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gql from "graphql-tag"; | |
import { Query } from "react-apollo"; | |
const GET_DOGS = gql` | |
{ | |
dogs { | |
id | |
breed | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0xaa7FA506d7A6d59ee05829439470589c0bEC45D6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function focus(label = 'Now') { | |
$(`[aria-label="${label}"]`).parent().parent().parent().attr('id', 'focus'); | |
$('.list-wrapper:not(#focus)').hide(); | |
$('#header').hide() | |
$('.board-header').hide(); | |
$('body').css({background: '#fff', fontSize: '18px'}); | |
$('.list').css({background: '#fff', maxWidth: '100%'}); | |
$('.list').css({background: '#fff', maxWidth: '100%'}); | |
$('.list-card').css({maxWidth: '100%', overflow: 'auto', opacity: .5, border: 'none' }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" File: .vim/syntax/rdoc.vim | |
" RDoc inline links: protocol optional user:pass@ sub/domain .com, .co.uk, etc optional port path/querystring/hash fragment | |
" ------------ _____________________ --------------------------- ________________________ ----------------- __ | |
syntax match rdocInlineURL /https\?:\/\/\(\w\+\(:\w\+\)\?@\)\?\([A-Za-z][-_0-9A-Za-z]*\.\)\{1,}\(\w\{2,}\.\?\)\{1,}\(:[0-9]\{1,5}\)\?\S*/ | |
HtmlHiLink rdocInlineURL htmlLink |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lsof -i TCP:3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= form_for(@quote) do |f| %> | |
<% if @quote.errors.any? %> | |
<div id="error_explanation"> | |
<h2><%= pluralize(@quote.errors.count, "error") %> prohibited this quote from being saved:</h2> | |
<ul> | |
<% @quote.errors.full_messages.each do |msg| %> | |
<li><%= msg %></li> | |
<% end %> | |
</ul> |