Skip to content

Instantly share code, notes, and snippets.

Aug 30 09:24:03 comonad gnome-keyring-daemon[2179]: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
Aug 30 09:24:03 comonad .gnome-keyring-[2179]: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
// @flow
// So `declareService` receives a service declaration that provides some properties
// for creating a service including some functions for mapping service responses and
// query parameters. I thought it would be nice to parameterize `ServiceDeclaration`
// over the types of those mapping functions.
//
// Am I making sense? Does the *code* make any sense? If not how should I change it?
/* types.js -------------------------------------------------------- */
@gilligan
gilligan / nix-venient-0.1-overlay.nix
Created August 11, 2017 16:18
nix-venient-0.1-overlay.nix
self: super:
{
nix-venient =
let
inherit (super) stdenv lib curl jq makeWrapper fetchFromGitHub;
in
stdenv.mkDerivation rec {
Apparently there is some confusion around the usage and inner workings of nix-channel. In order to improve the situation
we could perhaps host a little Q&A session in which we talk about usage patterns etc.
To make this as efficient as possible can we perhaps already collect some questions around nix-channel so we can start with those?
@gilligan
gilligan / nixify.sh
Created July 7, 2017 09:56
rather primitive (for now) shell script to get a default.nix with some packages
read -r -d '' TEMPLATE << EOM
with (import <nixpkgs> {});
stdenv.mkDerivation {
name = "dev-shell";
src = null;
buildInputs = [ __PKGS__ ];
}
EOM
{
network.description = "hc-web continuous integration server";
jenkinsMaster =
{ config, pkgs, ... }:
{
# server config ...
};
}
* how do you decide if a candidate has the *potential* (not current skillset) to become a craftsman
* do you have a fixed roadmap for the apprenticeship? Is it the same for everyone?
* is there a fixed schedule for apprentices? Mondays "learning", Tue "production work", ....
* do you always have *one* mentor per *one* apprentice?
* how to bootstrap craftsmanship in our big company? turn everyone into an apprentice?
* what do you think about gamification/awarding badges to people as encouragement? (impact on salary?)
* what is the secret of your interview success? :)
======
@gilligan
gilligan / terminator.config
Created July 4, 2017 12:43
terminator config
[global_config]
borderless = True
inactive_color_offset = 0.94
tab_position = right
[keybindings]
[layouts]
[[default]]
[[[child1]]]
parent = window0
type = Terminal
{ stdenv,
cmake,
freetype,
fontconfig,
xclip,
pkgconfig,
fetchFromGitHub,
libX11,
gperf,
libXcursor,
module Main where
main :: IO ()
main = putStrLn "Salute"