This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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; }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@b1 = button "Mjello?" | |
@para = para "please load some data" | |
@b1.click do | |
@para.replace File.read("tester.txt", "r" | |
end | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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 %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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 %> |