I hereby claim:
- I am mando75 on github.
- I am bmullersn (https://keybase.io/bmullersn) on keybase.
- I have a public key ASBLfZ8v5fg1foZge5ZpnBPDfdd2jx2Ha7y8litvo_vwhwo
To claim this, I am signing this object:
type ValidatorGenerator = AsyncGenerator<Error, number> | |
type OperationGenerator = AsyncGenerator<ValidatorGenerator, { num: number }, number> | |
/** | |
* This function yields an Error if the input is invalid | |
* or returns the data if it is ok | |
* @param number | |
*/ | |
function* validator(number: number): ValidatorGenerator { | |
if (number % 2 === 0) { |
def find_ravi_pairs_in_bound(n) | |
ravis = [] | |
# Just setting an upper bound on this for now | |
(1..(n/2)).each do |i| | |
(i..n).each do |j| | |
# Add the two numbers together and convert them to binary string | |
a = (i + j).to_s(2) | |
# Multiply the two numbers together and convert them to binary string | |
b = (i * j).to_s(2).reverse | |
# just working with the upper bound |
import { FieldNode, GraphQLResolveInfo, SelectionNode } from "graphql"; | |
import { GraphQLDatabaseLoader } from "@mando75/typeorm-graphql-loader"; | |
import { SearchOptions, FeedNodeInfo } from "@mando75/typeorm-graphql-loader/dist/types"; | |
import { LoaderSearchMethod } from "@mando75/typeorm-graphql-loader/dist/base"; | |
import { OrderByCondition } from "typeorm"; | |
type getFeedOptions = { | |
search?: SearchOptions; | |
order?: OrderByCondition; | |
}; |
I hereby claim:
To claim this, I am signing this object:
<template> | |
<section> | |
<div v-if="guidePlayerFeed"> | |
<v-fade-transition class="row" group tag="div"> | |
<v-col | |
v-for="(player, index) in guidePlayerFeed.players" | |
:key="player.id + index" | |
cols="12" | |
sm="6" | |
md="4" |
import { BaseEntity as typeOrmEntity, ObjectType } from "typeorm"; | |
import { ObjectUtils } from "typeorm/util/ObjectUtils"; | |
import * as DataLoader from "dataloader"; | |
// Creating our own BaseEntity Class... | |
export class BaseEntity extends typeOrmEntity { | |
id: string; | |
constructor() { | |
super(); | |
} |
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable | |
values." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory |
function sendAlert(employee, date, vLog) { | |
var message = ("<head><style>" | |
+" @import url('https://fonts.googleapis.com/css?family=Work+Sans');" | |
+" #main {" | |
+" font-family: 'Work Sans', sans-serif;" | |
+" font-size: 14pt;" | |
+" padding: 1em; " | |
+" max-width: 600px" | |
+" }" | |
+" div#header {" |