Skip to content

Instantly share code, notes, and snippets.

Avatar

Ariën Holthuizen ArdaXi

View GitHub Profile
View main.rs
use anyhow::{anyhow, bail, Context, Error, Result};
use itertools::Itertools;
use std::convert::TryFrom;
use std::io::{stdin, BufRead};
#[derive(Clone, Debug)]
struct Line {
min: usize,
max: usize,
letter: char,
View keybase.md

Keybase proof

I hereby claim:

  • I am ardaxi on github.
  • I am ardaxi (https://keybase.io/ardaxi) on keybase.
  • I have a public key ASDSA-cpL6weFfe6tnJijYggzXtTGX29ekzRAAVZHJ-9Lwo

To claim this, I am signing this object:

View taskserver.nix
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.taskserver;
taskdConfig = pkgs.writeText "taskserver-config"
''
root=${cfg.dataDir}
server=${cfg.listenAddress}
View taskserver.nix
{ config, libs, pkgs, ... }:
with lib;
let
cfg = config.services.taskserver;
taskdConfig = pkgs.writeText "taskserver-config"
''
root=${cfg.dataDir}
server=${cfg.listenAddress}
@ArdaXi
ArdaXi / default.nix
Created December 29, 2015 13:23
firefox-bin-28
View default.nix
{ stdenv, fetchurl, config
, alsaLib
, atk
, cairo
, cups
, dbus_glib
, dbus_libs
, fontconfig
, freetype
, gconf
View transition.asc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tue Mar 18 14:33:32 CET 2014

Greetings earthlings et al,

A little over two years ago, I first generated a GPG key that I have been using actively. I’d like to think I’ve always used it securely, but I am always looking for ways to improve security. Therefore, I recently acquired a GnuPG-

View keybase.md

Keybase proof

I hereby claim:

  • I am ArdaXi on github.
  • I am ardaxi (https://keybase.io/ardaxi) on keybase.
  • I have a public key whose fingerprint is E484 F236 27D3 A57C 62DA B304 86D2 133C 73F8 0E16 To claim this, I am signing this object:
{
    "body": {
        "key": {
@ArdaXi
ArdaXi / xlockmore
Last active December 14, 2015 02:29
customizepkg.d for minimal xlockmore
View xlockmore
replace#global#--with-gtk2#--without-gtk2 --enable-blank-only --without-magick --without-mesa --without-opengl --without-xpm --without-motif --without-freetype
remove#depends#freetype2
remove#depends#gtk2
remove#depends#libxpm
remove#depends#lesstif
remove#depends#glu
remove#makedepends#mesa
@ArdaXi
ArdaXi / lock
Last active December 14, 2015 02:28
View lock
#!/bin/bash
command -v xlock > /dev/null 2>/dev/null || exec notify-send -u critical 'xlock is missing'
exec xlock -mode blank
@ArdaXi
ArdaXi / zen.js
Created October 14, 2012 15:14
Zen
View zen.js
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
var url = tab.url;
var js;
// Populate js with Javascript for url
chrome.tabs.executeScript(tabId, {code:js});
});