Skip to content

Instantly share code, notes, and snippets.

🦄
Doing FINE !

Rungsikorn Rungsikavanich zapkub

View GitHub Profile
View user.ts
interface UserAccount {
id: string
createdAt: Date
name: string
mobileNumber: string
password: string
}
type CreateNewUserAccountInput = Pick<UserAccount, Exclude<keyof UserAccount, 'id' | 'createdAt'>>
export type CreateNewUserAccount = (input: CreateNewUserAccountInput) => UserAccount
View user.ts
interface UserAccount {
id: string
createdAt: Date
name: string
mobileNumber: string
password: string
}
View user.ts
interface CreateUserAccountInput{
name: string
mobileNumber: string
password: string
}
interface CreateUserAccountOutput extends CreateUserAccountInput{
id: string
createdAt: Date
}
@zapkub
zapkub / aws-ecr-credential.go
Last active Mar 5, 2019
how to get AWS credential from ECR with golang
View aws-ecr-credential.go
/*
* Copyright (c) 2019. Inception Asia
* Maintain by DigithunWorldwide ❤
* Maintainer
* - rungsikorn.r@digithunworldwide.com
* - nipon.chi@digithunworldwide.com
*/
package util
View gist:d867adcac217ddde761ff7442262a35d
import * as React from 'react'
import Head from "next/head";
export default () => {
return (
<div>
<Head>
<link rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
View gg.go
package main
import (
"bufio"
"encoding/json"
"fmt"
"github.com/stellar/go/build"
"github.com/stellar/go/clients/horizon"
"github.com/stellar/go/keypair"
"net/http"
View gist:afada6dfe924e081457af90c2c935528
package main
import (
"fmt"
"github.com/stellar/go/build"
"github.com/stellar/go/clients/horizon"
"github.com/stellar/go/keypair"
"net/http"
)
View dis.go
package main
import (
"fmt"
"github.com/stellar/go/build"
"github.com/stellar/go/clients/horizon"
"github.com/stellar/go/keypair"
"net/http"
)
View multi operation signarture.go
package main
import (
"fmt"
"github.com/stellar/go/build"
"github.com/stellar/go/clients/horizon"
"github.com/stellar/go/keypair"
"net/http"
)
View loop-operations.go
package main
import (
"fmt"
"github.com/stellar/go/build"
"github.com/stellar/go/clients/horizon"
"github.com/stellar/go/keypair"
"net/http"
)
You can’t perform that action at this time.