Skip to content

Instantly share code, notes, and snippets.

@Georgiy-Tugai
Georgiy-Tugai / test.log
Created July 21, 2016 14:59
ZFS sparse file send/recv issue testing
Sleep 0, test 0
MD5 match, cbf1c26a1d05a83a57105a65acbb5c0c, cbf1c26a1d05a83a57105a65acbb5c0c
Sleep 0, test 1
MD5 match, a182713bd6248fdabe0ebf2ddf2f823d, a182713bd6248fdabe0ebf2ddf2f823d
Sleep 0, test 2
MD5 match, 1043a81fef46e2e8138c1d82b07b94fd, 1043a81fef46e2e8138c1d82b07b94fd
Sleep 0, test 3
MD5 match, 20a8707bbdee1079c0a6e94ad918e9c4, 20a8707bbdee1079c0a6e94ad918e9c4
Sleep 0, test 4
MD5 match, 738a8b7c1fd79e4bc6242625405535eb, 738a8b7c1fd79e4bc6242625405535eb
@Georgiy-Tugai
Georgiy-Tugai / I3Bar.hs
Created July 19, 2016 16:51
Initial work on i3bar-compatible input for Taffybar
{-# LANGUAGE ScopedTypeVariables #-}
module System.Taffybar.I3Bar (i3barNew, Data.Default.def) where
import qualified Control.Exception as E
import qualified Data.ByteString.Lazy as BL
import qualified Data.ByteString.Lazy.Internal as BL
import Data.Default
import qualified Data.JsonStream.Parser as J
import qualified Data.Text as T
import qualified Graphics.UI.Gtk as Gtk

Keybase proof

I hereby claim:

  • I am georgiy-tugai on github.
  • I am sal9000 (https://keybase.io/sal9000) on keybase.
  • I have a public key ASCqnH7eMJpnqwOX_YNprdCytuo1D2M7HWBFodg9KQxfVwo

To claim this, I am signing this object:

(req-package ido
:require cl
:config
(progn (ido-mode 1)
(ido-everywhere 1)
(bind-key "C-x k" (lambda (arg) (interactive "P")
(if (equal arg '(4))
(ido-kill-buffer)
(kill-buffer))))))
(req-package ido-ubiquitous
@Georgiy-Tugai
Georgiy-Tugai / dead-syms.txt
Created July 9, 2015 13:26
clang-tool.lsp symbols reported as undefined when running ast-matcher-demo
NEW-DEDUPLICATING-REFACTORING-TOOL
IDENTIFY-HINT-ENVIRONMENT
NODE-MATCHER-AMBIGUOUS-ERROR
ERROR-UNLESS-VALID-PREDICATE
+NODE-MATCHERS+
IDENTIFY-NODE-MATCHER-ENVIRONMENT
+TRAVERSAL-MATCHERS+
IDENTIFY-TRAVERSAL-MATCHER-ENVIRONMENT
APPLICABLE-MATCHER-P
MATCH-RUN
This file has been truncated, but you can view the full file.
;;;; Autobuild RUNNING
;; Started on 2015.11.20 10:32:25 (3656966545)
patching script interpreter paths in .
./docs/filterSrc: interpreter directive changed from " /bin/sh" to "/nix/store/disi5277lygfj6m7m3ajwvvp9mqdp4la-bash-4.3-p42/bin/sh "
./src/common/build: interpreter directive changed from " /bin/bash -f" to "/nix/store/disi5277lygfj6m7m3ajwvvp9mqdp4la-bash-4.3-p42/bin/bash -f "
./src/common/candoLisp_d_memoryDebug: interpreter directive changed from " /bin/bash" to "/nix/store/disi5277lygfj6m7m3ajwvvp9mqdp4la-bash-4.3-p42/bin/bash "
./src/common/buildJSON: interpreter directive changed from " /usr/bin/env python" to "/nix/store/49zg30nx308mad45yd9vd4pk3jlddkks-python-2.7.10/bin/python "
./src/common/approveTest: interpreter directive changed from " /bin/bash" to "/nix/store/disi5277lygfj6m7m3ajwvvp9mqdp4la-bash-4.3-p42/bin/bash "
./src/lisp/kernel/llvmLinkAll.sh: interpreter directive changed from " /bin/bash" to "/nix/store/disi5277lygfj6m7m3ajwvvp9mqdp4la-bash-4.3-p42/bin/bash "
./src/lisp/ke
@Georgiy-Tugai
Georgiy-Tugai / scratch.cpp
Last active August 29, 2015 14:20
attempt at iterator
namespace core {
class List_V; // Virtual class representing Common Lisp LIST
};
namespace gctools {
typedef smart_ptr<core::List_V> List_sp;
class List_sp_iterator_nil;
class List_sp_iterator {
public:
List_sp_iterator(List_sp *ptr) { ptr = ptr; }
@Georgiy-Tugai
Georgiy-Tugai / *scratch*
Created August 9, 2014 04:37
emacs cc-mode syntax elements
OFFSET can specify an offset in several different ways:
If OFFSET is nil then it's ignored.
If OFFSET is an integer then it's used as relative offset, i.e. it's
added to the base indentation.
If OFFSET is one of the symbols `+', `-', `++', `--', `*', or `/'
then a positive or negative multiple of `c-basic-offset' is added to
the base indentation; 1, -1, 2, -2, 0.5, and -0.5, respectively.