Skip to content

Instantly share code, notes, and snippets.

View kanr's full-sized avatar
🤖
Resistance Is Futile

Connor kanr

🤖
Resistance Is Futile
View GitHub Profile
pragma solidity ^0.4.4;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint256 balance) {}
#!/bin/bash
echo "starting..."
#Fan Control
#echo "1 20 50 95" > /sys/devices/odroid_fan.13/fan_speeds
#echo "50 70 80" > /sys/devices/odroid_fan.13/temp_levels
cp -r /data/storjbackup/storjshare/* ~/.config/storjshare/
echo "starting storjshare daemon and loading snapshot..."
# base-image for node on any machine using a template variable,
# see more about dockerfile templates here: http://docs.resin.io/deployment/docker-templates/
# and about resin base images here: http://docs.resin.io/runtime/resin-base-images/
# Note the node:slim image doesn't have node-gyp
FROM resin/%%RESIN_MACHINE_NAME%%-node:6-slim
# use apt-get if you need to install dependencies,
# for instance if you need ALSA sound utils, just uncomment the lines below.
Verifying my Blockstack ID is secured with the address 1GPtihfApgtgNpLcA9D1W9VyeFpRFAQjY9 https://explorer.blockstack.org/address/1GPtihfApgtgNpLcA9D1W9VyeFpRFAQjY9
@kanr
kanr / maps.md
Last active August 14, 2017 00:46

Maps

Maps are one of humanitys most profound inventions. In its defenition maps are described as a collection of symbols that describe the relationships of objects in space. In the XX century, maps allowed early explorers to share safe routes to far away places and peoples. Maps were used to understand earths place in the universe. Mathematics make heavy use of this concept to model with ever greater precision and accuracy. The led to further techological and scientific breakthroughs. The modern digital age would not be possible without the maps of electronic circuts that are smaller and more expansive all the time. The Internet itself is a massive network map.

Wikipedia Map

Wikipedia Maps

Maps, the early years.

Humans have been using maps since the very earliest days of our species. When civilization dawned we used maps to find one another and trade was born. Cultural exchange, conlfict and

@kanr
kanr / openag in resin.md
Last active August 6, 2017 01:16
Implementing openag in resin consists of using a multi-container application.
@kanr
kanr / resin-multicontainers.md
Last active August 6, 2017 01:23
The State of MultiContainers with Resin.io
@kanr
kanr / gitlinks.md
Last active July 31, 2017 21:49
git and github training material
@kanr
kanr / test.md
Created July 31, 2017 19:58
Test gist for API notebook

this is a test

of the api notebook