I hereby claim:
- I am knshiro on github.
- I am knshiro (https://keybase.io/knshiro) on keybase.
- I have a public key whose fingerprint is 0E28 37F4 DBF1 C3D2 2976 B4DC 28A0 C86D 6FFE 979E
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
require 'bundler/setup' | |
require 'cloudformation-ruby-dsl/cfntemplate' | |
require 'cloudformation-ruby-dsl/spotprice' | |
require 'cloudformation-ruby-dsl/table' | |
def tags_to_properties(tags) | |
tags.map { |k,v| {:Key => k, :Value}} | |
end |
import _root_.bintray.Bintray | |
enablePlugins(JavaAppPackaging, JDebPackaging) | |
name := "my-project" | |
maintainer := "My name <[email protected]>" | |
packageSummary := "Super package" |
import sbtrelease._ | |
import ReleaseKeys._ | |
import Utilities._ | |
import ReleaseStateTransformations._ | |
val gitVersionString = """enablePlugins(GitVersioning) | |
git.baseVersion := "%s"""" | |
def writeVersion(st: State, versionString: String) { |
I hereby claim:
To claim this, I am signing this object:
# frozen_string_literal: true | |
class AssociationLoader < GraphQL::Batch::Loader | |
attr_reader :klass, :association | |
def initialize(klass, association) | |
raise ArgumentError, "association to load must be a symbol (got #{association.inspect})" unless association.is_a?(Symbol) | |
raise ArgumentError, "cannot load associations for class #{klass.name}" unless klass < ActiveRecord::Base | |
raise TypeError, "association #{association} does not exist on #{klass.name}" unless klass.reflect_on_association(association) | |
@klass = klass |
version: "2.1" | |
services: | |
mysql-db: | |
image: mariadb:10.5 | |
volumes: | |
- ./mysql_data:/var/lib/mysql | |
restart: always | |
ports: | |
- 3307:3306 |
import type firebase from "firebase"; | |
function findUpperBound(s: string): string { | |
if (!s.length) { | |
return s; | |
} | |
const c = String.fromCharCode(s.charCodeAt(s.length - 1) + 1); | |
return s.substring(0, s.length - 1) + c; | |
} |