Skip to content

Instantly share code, notes, and snippets.

View octalmage's full-sized avatar

Jason Stallings octalmage

View GitHub Profile
@octalmage
octalmage / keplr.js gist
Last active September 19, 2022 16:49 — forked from clevinson/keplr.js gist
DO NOT RUN THIS
{
"chainId": "phoenix-1",
"chainName": "Terra 2.0",
"rpc": "https://terra-rpc.polkachu.com/",
"rest": "https://phoenix-lcd.terra.dev/",
"stakeCurrency": {
"coinDenom": "LUNA",
"coinMinimalDenom": "uluna",
"coinDecimals": 6,
"coinGeckoId": "terra-luna"
@octalmage
octalmage / index.js
Last active September 6, 2018 19:15 — forked from salami-art/index.js
import React from 'react'
// import { Link } from 'gatsby'
import Layout from '../components/layout'
import PostsList from '../components/posts_list'
import PostsFilter from '../components/posts_filter'
const IndexPage = (data) => {
console.log('Index.js', data.length)
return (
<Layout>
@octalmage
octalmage / bulkUpdate.js
Created May 21, 2017 15:47 — forked from davideast/bulkUpdate.js
Bulk update with .push()
/**
* Send a bulk update to Firebase from an array or an object literal.
*
* When .push() is called on a Firebase reference without a parameter passed no
* trip to the server is made.
*
* ex:
* var childRef = ref.push();
*
* A reference is returned which has a push-id that can be returned by calling .name().
@octalmage
octalmage / bulkUpdate.js
Created May 21, 2017 15:47 — forked from davideast/bulkUpdate.js
Bulk update with .push()
/**
* Send a bulk update to Firebase from an array or an object literal.
*
* When .push() is called on a Firebase reference without a parameter passed no
* trip to the server is made.
*
* ex:
* var childRef = ref.push();
*
* A reference is returned which has a push-id that can be returned by calling .name().
@octalmage
octalmage / example.md
Created July 13, 2016 16:14 — forked from lee-dohm/example.md
HTML5 <details> in GitHub

Using <details> in GitHub

Suppose you're opening an issue and there's a lot of noisy logs that may be useful.

Rather than wrecking readability, wrap it in a <details> tag!

<spoilers>
 <summary>Summary Goes Here</summary>