Skip to content

Instantly share code, notes, and snippets.

@interfect
interfect / castanet.sh
Last active November 17, 2024 15:19
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
OS: Linux version 5.1.15-steamvr-generic (buildd@lgw01-amd64-035) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #steamvr1-Ubuntu SMP Sun Jun 30 21:15:05 UTC 2019
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
OS: Linux version 5.1.15-steamvr-generic (buildd@lgw01-amd64-035) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #steamvr1-Ubuntu SMP Sun Jun 30 21:15:05 UTC 2019
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
OS: Linux version 4.15.0-54-generic (buildd@lgw01-amd64-014) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019
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
OS: Linux version 4.15.0-51-generic (buildd@lgw01-amd64-059) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #55-Ubuntu SMP Wed May 15 14:27:21 UTC 2019
@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