Skip to content

Instantly share code, notes, and snippets.

View 256hax's full-sized avatar

256hax 256hax

View GitHub Profile
// Docs:
// https://docs.gameshift.dev/docs/arbitrary-transaction-signing
// https://docs.gameshift.dev/reference/arbitrarytransactionsigningcontroller_signtransaction
import * as dotenv from 'dotenv';
import * as bs58 from 'bs58';
import axios from 'axios';
import { v4 as uuidv4 } from 'uuid';
import {
Connection,
PublicKey,

Keybase proof

I hereby claim:

  • I am 256hax on github.
  • I am 256hax (https://keybase.io/256hax) on keybase.
  • I have a public key ASBu3Kt_bf0DStjkpn3cAROSVqafPvLkRfsCfTadhB1LKwo

To claim this, I am signing this object:

@256hax
256hax / 00-default-vhost.conf
Last active May 6, 2019 12:23
Avoid any received URL requests for Nginx on Dokku
server {
listen 80 default_server;
server_name _;
access_log off;
return 410;
}
# To handle HTTPS requests, you can uncomment the following section.
#
# Please note that in order to let this work as expected, you need a valid
@256hax
256hax / .travis.yml
Created May 4, 2019 14:34
Travis CI deploy to Heroku Sample yml file
language: ruby
services:
- postgresql
bundler_args: "--jobs=3 --retry=3"
cache: bundler
before_install:
- gem install bundler -v 1.17.3
- gem install bundler -v 2.0.1
before_script:
- psql -c 'create database travis_ci_test;' -U postgres