Skip to content

Instantly share code, notes, and snippets.

View avnik's full-sized avatar
🏠
Working from home

Alexander V. Nikolaev avnik

🏠
Working from home
View GitHub Profile
go-getter = buildFromGitHub rec {
rev = "2463fe5ef95a59a4096482fb9390b5683a5c380a";
date = "2015-10-15";
owner ="hashicorp";
repo = "go-getter";
sha256 = "1cl7wixdnbjbmy52vajvn9w4y7vdxkmn7nprgyi11pd120x44lq3";
extraSrc = [
{ inherit (terraform) src goPackagePath; }
];
@hook.subscribe.client_new
def firefox(window):
if window.window.get_wm_class == ("Navigator", "Firefox"):
window.disable_maximize()
building path(s) ‘/nix/store/9dgn8cibq03ffb767wi33ncdyb2n77js-subversion-1.9.2’, ‘/nix/store/bg2fnlagyps7kk8ddh5kbmbli6lwqaa0-subversion-1.9.2-man’, ‘/nix/store/rxsrxdy04x3aci3q29sbij00mfnr90my-subversion-1.9.2-dev’
unpacking sources
unpacking source archive /nix/store/ld9ddkjv43q4w6fjfbm5awmjirzyb2i4-subversion-1.9.2.tar.bz2
source root is subversion-1.9.2
patching sources
configuring
fixing libtool script ./build/ltmain.sh
configure flags: --disable-static --prefix=/nix/store/9dgn8cibq03ffb767wi33ncdyb2n77js-subversion-1.9.2 --bindir=/nix/store/9dgn8cibq03ffb767wi33ncdyb2n77js-subversion-1.9.2/bin --sbindir=/nix/store/9dgn8cibq03ffb767wi33ncdyb2n77js-subversion-1.9.2/sbin --includedir=/nix/store/rxsrxdy04x3aci3q29sbij00mfnr90my-subversion-1.9.2-dev/include --oldincludedir=/nix/store/rxsrxdy04x3aci3q29sbij00mfnr90my-subversion-1.9.2-dev/include --mandir=/nix/store/bg2fnlagyps7kk8ddh5kbmbli6lwqaa0-subversion-1.9.2-man/share/man --infodir=/nix/store/bg2fnlagyps7kk8ddh5kbmbli6lwqaa0-subv
[2015-12-30 15:14:34.398010] I [MSGID: 100030] [glusterfsd.c:2318:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.7.6 (args: /usr/sbin/glusterfs --volfile-server=glusterfs.service.consul --volfile-id=/container-volumes /mnt/container-volumes)
[2015-12-30 15:14:34.413378] I [MSGID: 101190] [event-epoll.c:632:event_dispatch_epoll_worker] 0-epoll: Started thread with index 1
[2015-12-30 15:14:34.423248] I [MSGID: 101190] [event-epoll.c:632:event_dispatch_epoll_worker] 0-epoll: Started thread with index 2
[2015-12-30 15:14:34.424110] I [MSGID: 114020] [client.c:2118:notify] 0-container-volumes-client-0: parent translators are ready, attempting connect on transport
[2015-12-30 15:14:34.428988] I [MSGID: 114020] [client.c:2118:notify] 0-container-volumes-client-1: parent translators are ready, attempting connect on transport
[2015-12-30 15:14:34.429782] I [rpc-clnt.c:1847:rpc_clnt_reconfig] 0-container-volumes-client-0: changing port to 49152 (from 0)
[2015-12-30 15:14:34.432636] I [MSGID
config file parse error! line: 1, text: , reason: syntax error
@avnik
avnik / -
Last active January 18, 2016 20:17
/var/lib/postfix:
total 4
drwx------ 1 postfix postfix 48 Jan 18 20:41 .
drwxr-xr-x 1 root root 142 Jan 12 10:56 ..
drwxr-xr-x 1 root root 66 Jan 18 20:41 conf
drwxr-xr-x 1 postfix postfix 22 Jan 14 18:11 data
-rw------- 1 postfix postfix 33 Jan 1 08:58 master.lock
drwxr-xr-x 1 root postfix 166 Jan 14 18:11 queue
/var/lib/postfix/conf:
[avn@bulldozer:pts/14]~% sudo rkt --debug run quay.io/coreos/alpine-sh --exec=/bin/sh -- echo hello, rkt ~
[sudo] password for avn:
image: using image from local store for image name coreos.com/rkt/stage1-coreos:1.0.0
image: using image from local store for image name quay.io/coreos/alpine-sh
stage0: Preparing stage1
stage0: Writing image manifest
stage0: Loading image sha512-a2fb8f390702d3d9b00d2ebd93e7dd1c241ee7bc752b362635c57b29aabb1a48
stage0: Writing image manifest
stage0: Writing pod manifest
stage0: Setting up stage1
LaTeX Warning: You have requested, on input line 16, version
`2015/09/11' of package expl3,
but only version
`2015/03/01 v5547 L3 programming layer (loader) '
is available.
(/nix/store/pr51dz57j6jd22jd8z54yb6jrclvdvfq-texlive-combined-full-2015/share/t
exmf/tex/latex/l3packages/xparse/xparse.sty)
Screen 0: minimum 320 x 200, current 3200 x 1200, maximum 16384 x 16384
DisplayPort-0 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 519mm x 324mm
1920x1200 59.95*+
1920x1080 60.00 59.94
1680x1050 59.95
1400x1050 59.98
1280x1024 60.02
1440x900 59.89
1280x960 60.00
1280x800 59.81
@avnik
avnik / test.go
Created October 1, 2016 00:07
quiz: match or not match
package main
type Setter interface {
Set() bool
}
func makeSetter() Setter {
return nil
}