I hereby claim:
- I am thedavidmeister on github.
- I am thedavidmeister (https://keybase.io/thedavidmeister) on keybase.
- I have a public key ASBKQkYiiUzEGTaJXeprS2wAf0fwr0lZRIyebqvmEAtepAo
To claim this, I am signing this object:
# Strat: Recharging tranches | |
# | |
# High level idea is that the strategy offers a firm price for batches of tokens. | |
# Each batch is called a "tranche". | |
# | |
# Every time a batch of tokens fully clears a new price further from the previous | |
# trades is offered for the next tranche. | |
# | |
# For example, if 1000 BLUE was available in a tranche to buy RED at | |
# 1 BLUE per RED and this fully cleared, the next tranche might be to buy up to |
/* op meta ref 613769424da0faccd68bfa8d9b3af911a278c706 */ | |
@0x47ed85f917e187757bff09371cedcf5c0eb277c27e4673feb2d3cc040c66c993 | |
/* ob meta ref 613769424da0faccd68bfa8d9b3af911a278c706 */ | |
@0x56ffc3fc82109c33f1e1544157a70144fc15e7c6e9ae9c65a636fd165b1bc51c | |
#one 1e18 | |
#target-threshold 1e14 | |
#start-time 1683480203 |
rec { | |
normalize-artifact-target = target: | |
builtins.replaceStrings | |
[ "unknown" ] | |
[ "generic" ] | |
target | |
; | |
artifact-name = args: "${args.name}-${args.version}-${normalize-artifact-target args.target}"; | |
artifact-url = args: "https://github.com/${args.owner}/${args.repo}/releases/download/${args.version}/${artifact-name args}.tar.gz"; |
Vagrant.configure("2") do |config| | |
config.vm.box = "holochain-vagrant" | |
config.vm.box_url = "https://holochain.love/box" | |
config.vm.provider "virtualbox" do |vb| | |
# Customize the amount of memory on the VM: | |
vb.memory = "4096" | |
vb.cpus = "4" | |
vb.customize ["modifyvm", :id, "--hwvirtex", "off"] | |
end |
let | |
holonix = import (fetchTarball { | |
url = "https://github.com/holochain/holonix/tarball/master"; | |
}); | |
# holonix = import ../holonix; | |
in | |
with holonix.pkgs; | |
{ | |
core-shell = stdenv.mkDerivation (holonix.shell // { | |
name = "app-shell"; |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
I hereby claim:
To claim this, I am signing this object:
function fetchJSON(url) { | |
var response = UrlFetchApp.fetch(url); | |
return JSON.parse(response.getContentText()); | |
} | |
function ETHWALLET(address, token) { | |
if (address && token) { | |
var token = token + ''; | |
var url = 'https://api.ethplorer.io/getAddressInfo/' + address + '?apiKey=freekey'; | |
var val = fetchJSON(url); |
/** | |
* @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | |
* For licensing, see LICENSE.md. | |
*/ | |
(function webpackUniversalModuleDefinition(root, factory) { | |
if(typeof exports === 'object' && typeof module === 'object') | |
module.exports = factory(); | |
else if(typeof define === 'function' && define.amd) | |
define([], factory); | |
else if(typeof exports === 'object') |
(deftask gh-pages | |
"Build for production deployment." | |
[] | |
(comp | |
(hoplon) | |
(cljs :optimizations :advanced) | |
(target :dir #{"gh-pages"}))) |