Skip to content

Instantly share code, notes, and snippets.

View adamfeldman's full-sized avatar
🎉
Clojure & Distributed Systems

Adam Feldman adamfeldman

🎉
Clojure & Distributed Systems
View GitHub Profile
Portable Portal dev environment with Vagrant
Potential future improvements:
change to nginx if/when portal moves to it
change to git for bitleap repo
auto-install IE 6-9 VMs as well: http://osxdaily.com/2011/09/04/internet-explorer-for-mac-ie7-ie8-ie-9-free/, https://github.com/xdissent/ievms
windows 8/IE 10 VM? (IE 10 will also run on windows 7)
windows host support?
This is a portable development environment for BCC (Portal). All dependencies are installed for you; you need only provide your credentials as explained below and a development box will be automatically built for you. Compatible accross all platforms where Virtualbox/Vagrant/SSH/Python run (everywhere!).

Keybase proof

I hereby claim:

  • I am adamfeldman on github.
  • I am adamfeldman (https://keybase.io/adamfeldman) on keybase.
  • I have a public key whose fingerprint is D715 41A1 C7FA 9382 9CED 596E 2BB1 C826 893C A2AF

To claim this, I am signing this object:

@adamfeldman
adamfeldman / cloudflared@.service
Last active June 11, 2019 13:07
Parameterized systemd service to support multiple `cloudflared tunnel`
# /lib/systemd/system/cloudflared@.service
[Unit]
Description=Cloudflare Tunnels (%I)
After=network.target
[Service]
Type=simple
User=cloudflared
ExecStart=/usr/local/bin/cloudflared tunnel --config /etc/cloudflared/%i.yml
Restart=on-failure
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@adamfeldman
adamfeldman / wake-up-light-alarm-with-sunrise-effect.yaml
Last active June 30, 2023 02:10 — forked from sbyx/wake-up-light-alarm-with-sunrise-effect.yaml
Home Assistant Blueprint: Wake-up light alarm with sunrise effect
blueprint:
name: Wake-up light alarm with sunrise effect
description: 'A wake-up light alarm with a brightness and color temperature sunrise
effect. Note: Requires date_time_iso sensor in configuration, not manually executable!'
domain: automation
input:
light_entity:
name: Wake-up light entity
description: The light to control. Turning it off during the sunrise will keep
it off. Color temperature range is auto-detected.