I hereby claim:
- I am billinghamj on github.
- I am billinghamj (https://keybase.io/billinghamj) on keybase.
- I have a public key ASAQvSgKR433Yc-RZa6Hdh33a5LcJNcbo6dnobEW5dmTsgo
To claim this, I am signing this object:
@import 'compass/css3/font-face'; | |
@mixin nice-font-face($name, $directoryName, $svg, $weights, $style, $fileSuffix: '', $nameOverride: false) | |
{ | |
@each $weight in $weights | |
{ | |
$path: $directoryName + '/'; | |
$files: ''; | |
@if ($nameOverride) |
require 'httparty' | |
require 'nokogiri' | |
class PlauralObject | |
def initialize(name, number) | |
@name = name | |
@number = number | |
end | |
def cost |
#import <objc/runtime.h> | |
- (BOOL) class:(Class)classA descendsFromClass:(Class)classB | |
{ | |
while (1) | |
{ | |
if (classA == classB) return true; | |
id superClass = class_getSuperclass(classA); | |
if (classA == superClass) return (superClass == classB); | |
classA = superClass; |
#import "UIViewController+UniversalModal.h" | |
@implementation UIViewController (UniversalModal) | |
- (void)presentViewControllerFromVisibleViewController:(UIViewController *)viewControllerToPresent | |
animated:(BOOL)animated | |
completion:(void (^)(void))completion | |
{ | |
if ([self isKindOfClass:[UINavigationController class]]) |
#import <Foundation/Foundation.h> | |
typedef NS_ENUM(NSUInteger, BatteryStatus) | |
{ | |
BatteryStatusUnknown, | |
BatteryStatusOkay, | |
BatteryStatusLow, | |
BatteryStatusEmpty | |
}; |
const express = require('express'); | |
const twilio = require('twilio'); | |
const app = express(); | |
app.use('/twilio', twilio.middleware); | |
const call = await twilio.call.create('+12125551234', { from: '+16465551234' }); | |
call.say('Welcome to Cuvva'); |
*:not([class*=icon]) { | |
font-family: inherit; | |
} | |
html { | |
font-family: sans-serif !important; | |
} | |
tt, code, kbd, samp, pre, xmp, plaintext, listing { | |
font-family: monospace !important; |
import log from 'cuvva-log'; | |
import {MongoClient, ObjectID} from 'mongodb'; | |
export default class Storage { | |
static async create(url) { | |
// for this particular service, majority is worth having | |
// if copying, evaluate your write concern needs properly | |
const db = await MongoClient.connect(url, { | |
db: { w: 'majority' }, | |
}); |
package main | |
import ( | |
"crypto" | |
"crypto/x509" | |
"encoding/pem" | |
"fmt" | |
"github.com/dgrijalva/jwt-go" | |
"io/ioutil" | |
"time" |
I hereby claim:
To claim this, I am signing this object: