Skip to content

Instantly share code, notes, and snippets.

@interfect
interfect / castanet.sh
Last active April 15, 2024 06:11
Set up a Chromecast from a Linux PC, without an Android or iOS mobile device and without Google Home
#!/usr/bin/env bash
# castanet.sh: Script to connect a chromecast to a WiFi network.
#
# Allows you to put your Chromecast on WiFi and do Chromecast initial setup
# without using the Google Home app at all, just using a normal Linux computer.
#
# You do need your Chromecast to be on Ethernet, or (untested) to join its setup WiFi
# network with your PC, and you also need to find out its IP yourself with e.g.
# Wireshark.
This file has been truncated, but you can view the full file.
SteamVR System Report created Mon Jul 15 21:16:25 2019
<Report>
SteamVR Version: 1.5.16 (1561762502)
SteamVR Date: 2019-06-28
Steam: Public
Steam Branch:
Steam AppID: 250820
Tracking: lighthouse
This file has been truncated, but you can view the full file.
SteamVR System Report created Mon Jul 15 21:12:39 2019
<Report>
SteamVR Version: 1.5.16 (1561762502)
SteamVR Date: 2019-06-28
Steam: Public
Steam Branch:
Steam AppID: 250820
Tracking: lighthouse
This file has been truncated, but you can view the full file.
SteamVR System Report created Fri Jul 12 19:35:18 2019
<Report>
SteamVR Version: 1.5.16 (1561762502)
SteamVR Date: 2019-06-28
Steam: Public
Steam Branch:
Steam AppID: 250820
Tracking: lighthouse
This file has been truncated, but you can view the full file.
SteamVR System Report created Sat Jun 15 21:39:16 2019
<Report>
SteamVR Version: 1.5.9 (1560531147)
SteamVR Date: 2019-06-14
Steam: Public
Steam Branch:
Steam AppID: 250820
Tracking: openhmd
@interfect
interfect / nomic.json
Created December 14, 2015 09:16
JSON ABI for the Nomic contract
[
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256",
"typeShort": "uint",
"bits": "256",
"template": "elements_input_uint"
@interfect
interfect / nomic.sol
Created December 14, 2015 09:04
Nomic on Ethereum
/*
This creates a basic nomic.
There is a list of addresses that are "players", holding 1 unit of citizenship.
Motions can be proposed by any player.
Motions can be rejected by any player, or passed unanimously.
This contract is live on the Ethereum blockchain with address 0xcc0ee510bc4b5cd4d31da49f672ab5aa6806f70a.
@interfect
interfect / roist.user.js
Last active August 29, 2015 14:08
Reddit Open In Same Tab
// ==UserScript==
// @name Reddit open in same tab
// @namespace roist
// @description Makes links on reddit.com open in the same tab by default, even if not logged in.
// @include http://*.reddit.com/*
// @include https://*.reddit.com/*
// @version 1
// @author Interfect
// @copyright 2014 Interfect
// @grant none