Find Raspberry Pi on the network:
brew install nmap
sudo nmap -v -sn 10.128.30.0/24 | awk '/^Nmap/{ip=$NF}/B8:27:EB/{print ip}'
where 10.128.30.0
is the network the thing is on.
Expand the filesystem with raspi-config
.
Find Raspberry Pi on the network:
brew install nmap
sudo nmap -v -sn 10.128.30.0/24 | awk '/^Nmap/{ip=$NF}/B8:27:EB/{print ip}'
where 10.128.30.0
is the network the thing is on.
Expand the filesystem with raspi-config
.
.DS_Store | |
node_modules/* |
# ================================================================================ | |
# ObjectStorageUploader.sh | |
# © Copyright IBM Corporation 2014. | |
# LICENSE: MIT (http://opensource.org/licenses/MIT) | |
# ================================================================================ | |
import argparse | |
import os | |
import math | |
import http.client |
As configured in my dotfiles.
start new:
tmux
start new with session name:
nodes = 5 | |
for x in Range.new(0,nodes,false) | |
token = 2 ** 127 / nodes * x | |
puts "Initial token: #{token}" | |
end |
/* | |
Author:: Rad Gruchalski (<[email protected]>) | |
The MIT License (MIT) | |
Copyright (c) 2013 Rad Gruchalski | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal |
var https = require("https") | |
, fs = require("fs") | |
, spawn = require('child_process').spawn | |
, AWS = require('aws-sdk'); | |
var CONFIG = { | |
username: "<github-username>" | |
, password: "<github-password>" | |
, backupdir: "/where/to" | |
, bucket: "github.backup" |
-module(lb). | |
-compile(export_all). | |
-include_lib("stdlib/include/qlc.hrl"). | |
-include_lib("kernel/include/inet.hrl"). | |
start_lb() -> | |
{ok, Redis} = eredis:start_link(), | |
eredis:q(Redis, ["FLUSHALL" | []]), | |
spawn_link(?MODULE, loop0, [1883,Redis]), | |
spawn_link(?MODULE, loop1, [1884,Redis]). |