Skip to content

Instantly share code, notes, and snippets.

View ipatch's full-sized avatar
:octocat:
🦾

Chris ipatch

:octocat:
🦾
View GitHub Profile
@ipatch
ipatch / # libvirt - 2018-05-14_13-13-58.txt
Created May 14, 2018 18:20
libvirt on Debian GNU/Linux 9.4 (stretch) - Homebrew build logs
Homebrew build logs for libvirt on Debian GNU/Linux 9.4 (stretch)
Build date: 2018-05-14 13:13:58
@ipatch
ipatch / color.fish
Created June 5, 2018 23:15
Working with base16-shell
# https://github.com/chriskempson/base16-shell
# A broken fish script to display and switch between base16-shell colorschemes
function color --description 'select a base16-shell colorscheme'
# Usage: `color` print the current colorscheme
# Usage: [`light|dark` <name_of_colorscheme>]
# Example: `__shell_dark tomorrow`
# Help: `color help`
@ipatch
ipatch / error
Created June 28, 2018 01:08
create docker machine using qemu driver
(qemu-test) DBG | executing: qemu-system-x86_64 -display none -m 1024 -smp 1 -boot d -cdrom /Users/capin/.docker/machine/machines/qemu-test/boot2docker.iso -qmp unix:/Users/capin/.docker/machine/machines/qemu-test/monitor,server,nowait -pidfile /Users/capin/.docker/machine/machines/qemu-test/qemu.pid -nic user,model=virtion-net-pci,hostfwd=tcp::50981-:22,hostfwd=tcp::50982-:2376,hostname=qemu-test -daemonize /Users/capin/.docker/machine/machines/qemu-test/disk.qcow2
(qemu-test) OUTPUT:
(qemu-test) ERROR: qemu-system-x86_64: -nic user,model=virtion-net-pci,hostfwd=tcp::50981-:22,hostfwd=tcp::50982-:2376,hostname=qemu-test: invalid option
(qemu-test) DBG | STDOUT:
(qemu-test)
(qemu-test) DBG | STDERR: qemu-system-x86_64: -nic user,model=virtion-net-pci,hostfwd=tcp::50981-:22,hostfwd=tcp::50982-:2376,hostname=qemu-test: invalid option
@ipatch
ipatch / rainbow.sh
Created July 13, 2018 02:10
taste the rainbow™️
##############################
# NOTE: taste the rainbow 🌈
##
Bld='\e[1m' # Enable Bold text
Itl='\e[3m' # Enable Italic
Und='\e[4m' # Enable Underline
Rst='\e[0m' # Reset text
# Regular High Intensity BoldHigh Intens
Bla='\e[0;30m'; IBla='\e[0;90m'; BIBla='\e[1;90m';
@ipatch
ipatch / alacritty.yml
Created September 21, 2018 19:30
alacritty key bindings
key_bindings:
- { key: V, mods: Command, action: Paste }
- { key: C, mods: Command, action: Copy }
- { key: Q, mods: Command, action: Quit }
- { key: W, mods: Command, action: Quit }
- { key: Home, chars: "\x1bOH", mode: AppCursor }
- { key: Home, chars: "\x1b[H", mode: ~AppCursor }
- { key: End, chars: "\x1bOF", mode: AppCursor }
- { key: End, chars: "\x1b[F", mode: ~AppCursor }
- { key: Key0, mods: Command, action: ResetFontSize }
@ipatch
ipatch / # qemu - 2018-10-16_16-59-58.txt
Created October 16, 2018 22:08
qemu on macOS 10.13.6 - Homebrew build logs
Homebrew build logs for qemu on macOS 10.13.6
Build date: 2018-10-16 16:59:58
@ipatch
ipatch / # weechat - 2018-11-07_19-32-02.txt
Created November 8, 2018 01:33
weechat on macOS 10.13.6 - Homebrew build logs
Homebrew build logs for weechat on macOS 10.13.6
Build date: 2018-11-07 19:32:02
@ipatch
ipatch / output.txt
Created November 14, 2018 21:35
xcode is the devil
bash-4.4$ gcc -Xlinker -v
@(#)PROGRAM:ld PROJECT:ld64-409.12
BUILD 17:47:51 Sep 25 2018
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em arm64e arm64_32
Library search paths:
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
@ipatch
ipatch / # openssh - 2018-11-22_02-15-11.txt
Created November 22, 2018 08:17
openssh (openssh) on macOS 10.13.6 - Homebrew build logs
Homebrew build logs for openssh on macOS 10.13.6
Build date: 2018-11-22 02:15:11
@ipatch
ipatch / radare2-build.log
Created November 30, 2018 20:35
build radare2 on macOS 10.13.6 with Xcode 10.1
LD libr_util.dylib
ld: warning: ignoring file /opt/Code/github/public/forks/radare2/libr/../shlr/zip/librz.a, file was built for archive which is not the architecture being linked (x86_64): /opt/Code/github/public/forks/radare2/libr/../shlr/zip/librz.a
Undefined symbols for architecture x86_64:
"_inflate", referenced from:
_r_inflate in zip.o
(maybe you meant: _r_inflate)
"_inflateEnd", referenced from:
_r_inflate in zip.o
"_inflateInit2_", referenced from:
_r_inflate in zip.o