Skip to content

Instantly share code, notes, and snippets.

View igalic's full-sized avatar
🔇
dnd

Mina Galić igalic

🔇
dnd
View GitHub Profile
@igalic
igalic / -
Created March 22, 2016 14:02
apt-cache policy fish
fish:
Installed: 2.2.0-3
Candidate: 2.2.0-3
Version table:
*** 2.2.0-3 500
500 http://nl.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status
2.2.0-1~wily 500
500 http://ppa.launchpad.net/fish-shell/release-2/ubuntu xenial/main amd64 Packages
@igalic
igalic / -
Created March 22, 2016 11:56
Array index out of bounds
/usr/share/fish/functions/abbr.fish (line 12): __fish_abbr_parse_entry $fish_user_abbreviations[$i] key_i
^
in function “__fish_abbr_get_by_key”
called on line 2 of file /usr/share/fish/functions/abbr.fish
with parameter list “be”
in command substitution
called on line 0 of file /usr/share/fish/functions/abbr.fish
@igalic
igalic / fsan.log
Last active March 19, 2016 14:58
wha??
configure:6365: checking whether we are cross compiling
configure:6373: clang-3.8 -o conftest -fsanitize=undefined,memory -fsanitize=undefined,memory conftest.c >&5
configure:6377: $? = 0
configure:6384: ./conftest
==25958==ERROR: MemorySanitizer failed to allocate 0xf0000000000 (16492674416640) bytes at address 10000000000 (errno: 12)
FATAL: MemorySanitizer can not mmap the shadow memory.
FATAL: Make sure to compile with -fPIE and to link with -pie.
FATAL: Disabling ASLR is known to cause this error.
FATAL: If running under GDB, try 'set disable-randomization off'.
==25958==Process memory map follows:
@igalic
igalic / links
Created March 14, 2016 16:43
links
function pausejs
pkill -STOP -f firefox
pkill -STOP -f chromium-browser
end
@igalic
igalic / -
Created February 28, 2016 22:24
*-usb:0
description: USB controller
product: 7 Series/C210 Series Chipset Family USB xHCI Host Controller
*-usbhost:0
bus info: usb@2
logical name: usb2
capabilities: usb-3.00
*-usbhost:1
bus info: usb@1
logical name: usb1
@igalic
igalic / so much betterer
Created January 11, 2016 13:45
so much betterer
igalic@levix ~/s/Ghost (master *=) [3]> grunt init
Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'top-gh-contribs'
Warning: Task "init" not found. Use --force to continue.
Aborted due to warnings.
igalic@levix ~/s/Ghost (master *=) [3]> grunt clean
Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'top-gh-contribs'
Warning: Task "clean" not found. Use --force to continue.
@igalic
igalic / -
Created December 29, 2015 20:37
dpkg-buildpackage -rfakeroot -d -us -uc -S -sa
dpkg-buildpackage: source package openldap
dpkg-buildpackage: source version 2.4.42-0reldap0
dpkg-buildpackage: source distribution trusty
dpkg-buildpackage: source changed by Igor Galić <i.galic@brainsware.org>
dpkg-source --before-build openldap
fakeroot debian/rules clean
dh clean --with autoreconf --builddirectory=/home/igalic/src/swirl/openldap/debian/build --parallel
dh_testdir -O--builddirectory=/home/igalic/src/swirl/openldap/debian/build -O--parallel
debian/rules override_dh_auto_clean
# set a nice man pager
set --export PAGER most
# cool options for less...
set --export LESS -SR
abbr s ssh -A
abbr sudo sudo -H
abbr xemacs emacs --window-system
abbr emacs emacs --no-window-system
abbr ... ../..
@igalic
igalic / travis_release.diff
Last active December 21, 2015 21:34
travis_release rake task
commit 727f15be29b539d3da0ba259d87c9f13ebdab9bc
Author: Igor Galić <i.galic@brainsware.org>
Date: Mon Dec 21 21:45:43 2015 +0100
feat (release) travis_release now creates -rc version
our travis_release task now creates an rc version.
This way, the master branch will always have a version that will make it
clear to our users that it's not released. It will never conflict with
a released version, and will always compare smaller than its actual