Skip to content

Instantly share code, notes, and snippets.

diff -U3 -r b/xscreensaver-5.43/driver/XScreenSaver.ad.in a/xscreensaver-5.43/driver/XScreenSaver.ad.in
--- b/xscreensaver-5.43/driver/XScreenSaver.ad.in 2019-07-01 23:02:58.000000000 +0200
+++ a/xscreensaver-5.43/driver/XScreenSaver.ad.in 2019-07-10 05:31:26.000000000 +0200
@@ -5,7 +5,7 @@
! by Jamie Zawinski
!
! version 5.43
-! 01-Jul-2019
+! 09-Jul-2019
!

Confidence: I am confident that having a policy on this would reduce related case-by-case discussions and allow us to make better decisions on providing flexibility. If someone wants to write an RFC and wants me to join as a co-author, I would be happy to help.

Acknowledgements: thanks to @joepie91 for feedback on this

I have more unanswered questions than answers right now…

The gist is likely to be further updated.

Nix,NixPkgs and NixOS support tiers

#! /bin/sh
nix-instantiate --find-file nixpkgs >/dev/null || {
echo "Could not find nixpkgs, please set up your NIX_PATH"
exit 1
}
NIX_DO_STASH="${NIX_DO_STASH:-$HOME/.local/share/nix-do}"
NIX_DO_PROFILE="${NIX_DO_PROFILE:-$(readlink $HOME/.nix-profile)}"
This file has been truncated, but you can view the full file.
id: grahamc-aarch64-community-13 ╱ system: aarch64-linux ╱
these derivations will be built:
/nix/store/mkkgb5pamsy5vkkyjnxnvf88x6rmafij-setupHook.sh.drv
/nix/store/w9sq00lzc9czipbzisb2zpj4dsq2cfrz-sbcl-1.4.9-source.tar.bz2.drv
/nix/store/7jfd9jhp4s3y2acwfb0qnff09zm2ym5j-sbcl-1.4.9.drv
these paths will be fetched (6.59 MiB download, 50.84 MiB unpacked):
/nix/store/002ikfshqppaywn0zqmf5hiq8dglgw3b-sbcl-bootstrap-1.3.16
building '/nix/store/mkkgb5pamsy5vkkyjnxnvf88x6rmafij-setupHook.sh.drv'...
copying path '/nix/store/002ikfshqppaywn0zqmf5hiq8dglgw3b-sbcl-bootstrap-1.3.16' from 'https://cache.nixos.org'...
1 Adam Bouhenguel
1 Adrien Devresse
1 Alex Chapman
1 Alexander
1 Alexander Kahl
1 Alexander Lebedev
1 Alexander Zubkov
1 Alexei Boronine
1 Andy Georges
1 Antoine Eiche
@7c6f434c
7c6f434c / table-to-golly
Created November 12, 2014 06:38
A convertor from a ternary «3 line of 8+1+8 characters» to Golly rule table
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> </title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<script>
function inc_arr(arr){
var i;
for(i=0;(i<8) && (arr[i]==1); i+=1){}
if(i==8) return 0;