I hereby claim:
- I am crissilvaeng on github.
- I am crissilvaeng (https://keybase.io/crissilvaeng) on keybase.
- I have a public key ASBTA2vRaZewQlqcwMcN8qPmkGl937shp9GfpOI7dQdpHQo
To claim this, I am signing this object:
{ | |
"AttributeDefinitions": [ | |
{ | |
"AttributeName": "birth_day", | |
"AttributeType": "N" | |
}, | |
{ | |
"AttributeName": "birth_month", | |
"AttributeType": "N" | |
}, |
const load = protos => { | |
const dirname = path.join(__dirname, config.rpc.protos) | |
return fs.readdirSync(dirname) | |
.reduce((accum, curr) => { | |
if (curr.endsWith('.proto') == true) { | |
const proto = path.join(__dirname, config.rpc.protos, curr) | |
return [...accum, proto] | |
} | |
}, []) | |
} |
I hereby claim:
To claim this, I am signing this object:
angular.module('yourApp').run(['$templateCache', function($templateCache) { | |
$templateCache.put('directives/toast/toast.html', | |
"<div>Your template here</div>" | |
); | |
$templateCache.put('directives/progressbar/progressbar.html', | |
"<div>Your progressbar here</div>" | |
); | |
}]); |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import os | |
import json | |
from marvel.marvel import Marvel | |
public_key = os.environ.get('MARVEL_API_PUBLIC_KEY') | |
private_key = os.environ.get('MARVEL_API_PRIVATE_KEY') |
using System; | |
using System.ComponentModel; | |
using System.Linq; | |
using System.Reflection; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
func TestGetAnswer(t *testing.T) { | |
httpmock.Activate() | |
defer httpmock.DeactivateAndReset() | |
httpmock.RegisterResponder("GET", "https://localhost:8080/answer", | |
httpmock.NewStringResponder(200, `{"answer": 42}`)) | |
} | |
func TestPostAnswer(t *testing.T) { | |
httpmock.Activate() |
type Party struct { | |
ID int `db:"id"` | |
Description string `db:"description"` | |
StartAt time.Time `db:"start_at"` | |
EndAt time.Time `db:"end_at"` | |
Dangerous bool `db:"dangerous"` | |
} |
# remap prefix to Control + a | |
set -g prefix C-a | |
# bind 'C-a C-a' to type 'C-a' | |
bind C-a send-prefix | |
unbind C-b |
#!/bin/sh | |
# The MIT License (MIT) | |
# Copyright (c) 2016 Cristina Silva <cristina.silva@openmailbox.org> | |
# and Ceres Rohana <ceres.rohana@gmail.com> | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of | |
# this software and associated documentation files (the "Software"), to deal in | |
# the Software without restriction, including without limitation the rights to |