Skip to content

Instantly share code, notes, and snippets.

View JuPlutonic's full-sized avatar
💭
🍺

AMZ JuPlutonic

💭
🍺
  • Msk, Russian Fed.
View GitHub Profile

Единственная запара возникла при подключении иконок к рельс6, решается так (app/javascript/packs/fa.scss)

@import "bulma/bulma";

$fa-font-path: '~@fortawesome/fontawesome-free/webfonts';
@import '~@fortawesome/fontawesome-free/scss/fontawesome';
@import '~@fortawesome/fontawesome-free/scss/solid'; // fas prefix
@import '~@fortawesome/fontawesome-free/scss/brands'; // fab prefix
// see https://fontawesome.com/how-to-use/with-the-api/setup/importing-icons for more prefixes
@steps_path = ENV['STEPS_PATH']
@features_path = ENV['FEATURES_PATH']
@steps_array = []
@unused_steps = []
def steps_files(path)
Dir[path + '**/*.rb']
end
def features_files(path)
@JuPlutonic
JuPlutonic / MPD removed options1.txt
Created March 8, 2019 20:24
Homebrew: MPD removed options
option "with-wavpack", "Build with wavpack support (for .wv files)"
option "with-lastfm", "Build with last-fm support (for experimental Last.fm radio)"
option "with-lame", "Build with lame support (for MP3 encoding when streaming)"
option "with-two-lame", "Build with two-lame support (for MP2 encoding when streaming)"
option "with-flac", "Build with flac support (for Flac encoding when streaming)"
option "with-libvorbis", "Build with vorbis support (for Ogg encoding)"
option "with-yajl", "Build with yajl support (for playing from soundcloud)"
option "with-opus", "Build with opus support (for Opus encoding and decoding)"
option "with-libmodplug", "Build with modplug support (for decoding modules supported by MODPlug)"
@JuPlutonic
JuPlutonic / capybara cheat sheet
Created March 5, 2019 19:23 — forked from zhengjia/capybara cheat sheet
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')
@JuPlutonic
JuPlutonic / # harfbuzz - 2019-02-23_23-07-08.txt
Created February 23, 2019 23:25
harfbuzz on Ubuntu 18.10 - Homebrew build logs
Homebrew build logs for harfbuzz on Ubuntu 18.10
Build date: 2019-02-23 23:07:08
@JuPlutonic
JuPlutonic / # netpbm - 2019-02-22_10-21-35.txt
Created February 22, 2019 10:23
netpbm on Ubuntu 18.10 - Homebrew build logs
Homebrew build logs for netpbm on Ubuntu 18.10
Build date: 2019-02-22 10:21:35
@JuPlutonic
JuPlutonic / # rubberband - 2019-02-11_16-04-55.txt
Created February 11, 2019 16:07
rubberband on Ubuntu 18.10 - Homebrew build logs
Homebrew build logs for rubberband on Ubuntu 18.10
Build date: 2019-02-11 16:04:55
@JuPlutonic
JuPlutonic / Interviewing_15 Questions to Ask During a Ruby Interview.md
Created February 6, 2019 09:18 — forked from ryansobol/gist:5252653
15 Questions to Ask During a Ruby Interview

Originally published in June 2008

When hiring Ruby on Rails programmers, knowing the right questions to ask during an interview was a real challenge for me at first. In 30 minutes or less, it's difficult to get a solid read on a candidate's skill set without looking at code they've previously written. And in the corporate/enterprise world, I often don't have access to their previous work.

To ensure we hired competent ruby developers at my last job, I created a list of 15 ruby questions -- a ruby measuring stick if you will -- to select the cream of the crop that walked through our doors.

What to expect

Candidates will typically give you a range of responses based on their experience and personality. So it's up to you to decide the correctness of their answer.

@JuPlutonic
JuPlutonic / # libtorrent-rasterbar - 2019-01-05_07-57-51.txt
Last active January 5, 2019 08:05
libtorrent-rasterbar on Ubuntu 18.10 - Homebrew build logs
Homebrew build logs for libtorrent-rasterbar on Ubuntu 18.10
Build date: 2019-01-05 07:57:51
=========================================================================================================
Before and after migration on /home/linuxbrew/.linuxbrew/Homebrew $HOMEBREW_REPOSITORY,
before and after I sourced zsh without export$PATH="BLAH-BLAH-BLAH/.pyenv/shims:$PATH" (terminal restarted, zcomdump removed).
libtorrent-rasterbar formula can't be compiled at all (no binary bottle presented)

GnuPG Packaging

A few items here assume zsh as shell (globs and expansion modifiers, print -l).

Required installation order:

Previously recorded:
gmp nettle gnutls npth libgpg-error libgcrypt libksba libassuan  ( pinentry , gnupg )