Skip to content

Instantly share code, notes, and snippets.

View bronson's full-sized avatar

Scott Bronson bronson

  • Santa Cruz, CA
View GitHub Profile
@bronson
bronson / unstable-tailscale.nix
Last active October 2, 2022 01:47 — forked from epk/unstable-tailscale.nix
Installs unstable Tailscale
# Installs the latest version of Tailscale instead of the stable version.
# Run these two commands to prepare the unstable channel:
# nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs-unstable
# nix-channel --update nixpkgs-unstable
{ config, lib, pkgs, ... }:
let
baseconfig = { allowUnfree = true; };
unstable = import <nixpkgs-unstable> { config = baseconfig; };
@bronson
bronson / tester.rb
Last active March 18, 2016 23:05 — forked from anonymous/tester.rb
@b1 = button "Mjello?"
@para = para "please load some data"
@b1.click do
@para.replace File.read("tester.txt", "r"
end
<div class="list">
<ul>
<% @items.each do |item| %>
<li class="<%= item_classes_for_user(item, @current_user) %>">
<%= image_tag "/icons/#{item.state}.png" %>
<span class="name">
<%= item.name %>
</span>
</li>
<% end %>
@bronson
bronson / example.erb
Created October 9, 2009 02:31 — forked from sbr/example.erb
<div class="list">
<ul>
<% @items.each do |item| %>
<li class="<%= item_classes_for_user(item, @current_user) %>">
<%= image_tag "/icons/#{item.state}.png" %>
<span class="name">
<%= item.name %>
</span>
</li>
<% end %>