Skip to content

Instantly share code, notes, and snippets.

View disbelief's full-sized avatar
🚀

Mike Lawlor disbelief

🚀
View GitHub Profile
import { Resolver as GraphCacheResolver, UpdateResolver as GraphCacheUpdateResolver, OptimisticMutationResolver as GraphCacheOptimisticMutationResolver } from '@urql/exchange-graphcache';
export type Maybe<T> = T | null;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: string;
String: string;
Boolean: boolean;
gulp build
[12:44:31] Using gulpfile ~/Minbox/code/minbox-web/gulpfile.js
[12:44:31] Starting 'scripts'...
[12:44:31] Starting 'uglify-js'...
[12:44:31] Finished 'uglify-js' after 4.58 ms
[12:44:31] Starting 'uglify-css'...
[12:44:31] Finished 'uglify-css' after 1.76 ms
Error: EMFILE, open '/Users/mlawlor/Minbox/code/minbox-web/node_modules/react/package.json'
[12:44:42] Finished 'scripts' after 11 s
[12:44:42] Starting 'build'...
{
"type": "project:created",
"scopes": ["activity", "notification", "general"],
"data": {
"_id": "...",
"name": "project name",
"user": {
"_id": "...",
"avatar": "...",
"name": "John Doe"
{
"type": "activity:created",
"data": {
"_id": "...",
"_type": "project",
"name": "project name",
"user": {
"_id": "...",
"avatar": "...",
"name": "John Doe"
Uncaught TypeError: Cannot read property 'view' of undefined minbox.js:14
t.exports.n.createBackboneClass.render minbox.js:14
(anonymous function) minbox.js:19
(anonymous function) minbox.js:21
(anonymous function) minbox.js:19
(anonymous function) minbox.js:21
b.Mixin.mountChildren minbox.js:21
r.Mixin._createContentMarkup minbox.js:19
(anonymous function) minbox.js:19
(anonymous function) minbox.js:21
Uncaught TypeError: Cannot read property 'companies' of null minbox.js:13
(anonymous function) minbox.js:13
t.exports.requireAuthentication minbox.js:12
r.before minbox.js:13
o minbox.js:12
r minbox.js:12
n.extend.execute minbox.js:1
(anonymous function) minbox.js:1
(anonymous function) minbox.js:1
C.some.C.any minbox.js:2
@disbelief
disbelief / hack.sh
Created March 31, 2012 11:03 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@disbelief
disbelief / gist:1430700
Created December 4, 2011 17:05
dm-redis-adaptor has n, :through associations incomplete after reload
class User
include DataMapper::Resource
property :id, Serial
property :full_name, String, :length => 25, :required => true
property :email, String, :length => 320, :required => true
has n, :company_memberships
has n, :companies, :through => :company_memberships
end