Skip to content

Instantly share code, notes, and snippets.

View thedavidmeister's full-sized avatar

David Meister thedavidmeister

View GitHub Profile
/* op meta ref 613769424da0faccd68bfa8d9b3af911a278c706 */
@0x47ed85f917e187757bff09371cedcf5c0eb277c27e4673feb2d3cc040c66c993
/* ob meta ref 613769424da0faccd68bfa8d9b3af911a278c706 */
@0x56ffc3fc82109c33f1e1544157a70144fc15e7c6e9ae9c65a636fd165b1bc51c
#one 1e18
#target-threshold 1e14
#start-time 1683480203
@thedavidmeister
thedavidmeister / default.nix
Last active November 11, 2019 13:47
nixos-holochain-binary-name-fns
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";
@thedavidmeister
thedavidmeister / Vagrantfile
Created August 18, 2019 11:28
minimal holonix vagrantfile
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";
@thedavidmeister
thedavidmeister / Vagrantfile
Created June 26, 2019 15:51
Vagrantfile used in the Holochain quick start guide https://developer.holochain.org/start.html
# -*- 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

Keybase proof

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:

@thedavidmeister
thedavidmeister / gist:3f6cfdeb856bb9e59f19712a1a0c9396
Created June 5, 2018 09:52
get eth wallet in google sheets
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')
@thedavidmeister
thedavidmeister / build.boot
Last active July 30, 2017 03:12
Boot deploy to gh-pages
(deftask gh-pages
"Build for production deployment."
[]
(comp
(hoplon)
(cljs :optimizations :advanced)
(target :dir #{"gh-pages"})))
@thedavidmeister
thedavidmeister / .gitignore
Last active July 29, 2017 15:53
basic setup for hoplon project
/target_dev