Skip to content

Instantly share code, notes, and snippets.

Working from home

Yurii Kolesnykov yurikoles

Working from home
View GitHub Profile
yurikoles / NSObject+YKSafeSelector.h
Last active Aug 29, 2015
Useful category for delegates. WARNING: it's not finished yet.
View NSObject+YKSafeSelector.h
#import <Foundation/Foundation.h>
@interface NSObject (YKSafeSelector)
- (void)safeSelector:(SEL)selector, ... NS_REQUIRES_NIL_TERMINATION;
yurikoles / amd-urls.txt
Last active Jul 16, 2020
AMD GPU Open Source development docs
View amd-urls.txt
View exfat-nofuse build against linux-4.1.0
DKMS make.log for exfat-145.a858df5 for kernel 4.1.0-rc8-g0f57d86 (x86_64)
Wed Jun 17 22:06:39 EEST 2015
make -C /usr/lib/modules/4.1.0-rc8-g0f57d86/build M=/var/lib/dkms/exfat/145.a858df5/build modules
make[1]: Entering directory '/usr/lib/modules/4.1.0-rc8-g0f57d86/build'
CC [M] /var/lib/dkms/exfat/145.a858df5/build/exfat_core.o
CC [M] /var/lib/dkms/exfat/145.a858df5/build/exfat_super.o
/var/lib/dkms/exfat/145.a858df5/build/exfat_super.c:1340:17: error: ‘new_sync_read’ undeclared here (not in a function)
.read = new_sync_read,
/var/lib/dkms/exfat/145.a858df5/build/exfat_super.c:1341:17: error: ‘new_sync_write’ undeclared here (not in a function)
View gist:bbce281789e182af873d
# fvdemount /dev/sda4 /mnt/fvde
fvdemount 20150222
# LC_ALL=C sudo mount -o loop,ro /mnt/fvde/fvde1 /mnt/osx/
mount: /dev/loop0: can't read superblock
# kpartx -l /mnt/fvde/fvde1
read error, sector 0
llseek error
llseek error
llseek error
View gist:8f68ce5cc3a1d25ba7e3
Hack-yurikoles:Library yurikoles$ echo $HOMEBREW_CASK_OPTS
Hack-yurikoles:Library yurikoles$ sudo brew cask install qbittorrent --force
==> Downloading
Already downloaded: /Library/Caches/Homebrew/qbittorrent-3.2.0.dmg
==> Symlinking App '' to '/Users/yurikoles/Applications/'
🍺 qbittorrent staged at '/opt/homebrew-cask/Caskroom/qbittorrent/3.2.0' (51 files, 42M)
View gist:786c0004d7b4821b648a
Hack-yurikoles:homebrew-versions yurikoles$ ls -lh /usr/local
total 40K
-rw-r--r-- 1 yurikoles staff 3.1K May 10 07:12
-rw-r--r-- 1 yurikoles staff 1.1K Apr 15 19:22
drwxr-xr-x 142 yurikoles staff 4.8K Jun 22 03:45 Cellar
drwxr-xr-x 23 yurikoles staff 782 Jun 10 18:40 Frameworks
-rw-r--r-- 1 yurikoles staff 1.3K Apr 15 19:22 LICENSE.txt
drwxr-xr-x 11 yurikoles staff 374 Jun 22 02:36 Library
-rw-r--r-- 1 yurikoles staff 2.3K Jun 22 02:36
-rw-r--r-- 1 yurikoles staff 24K May 14 14:11
yurikoles / gist:82a20783e016c2aa0432
Created Jun 22, 2015
brew install coreutils on 10.11
View gist:82a20783e016c2aa0432
Hack-yurikoles:work yurikoles$ ruby -e "$(curl -fsSL"
==> This script will install:
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir /usr/local
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local
View 01.configure
2015-06-22 12:54:54 +0300
XZ Utils 5.2.1
View webmconverter-output.log
XBuild Engine Version 12.0
Mono, Version
Copyright (C) 2005-2013 Various Mono authors
Build started 26.06.2015 11:07:06.
Project "/home/yurikoles/work/webmconverter/WebMConverter.sln" (default target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "Release|Any CPU".
Target Build:
yurikoles / # wine - 2016-03-11_17-27-09.txt
Created Mar 11, 2016
wine on OS X 10.11.4 - Homebrew build logs
View # wine - 2016-03-11_17-27-09.txt
Homebrew build logs for wine on OS X 10.11.4
Build date: 2016-03-11 17:27:09