Skip to content

Instantly share code, notes, and snippets.

💭
Ready for new opportunities

Wojtek Ryrych ryrych

💭
Ready for new opportunities
Block or report user

Report or block ryrych

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View recording_screencasts.md

Recording

  • Ensure that fullscreen is on
  • Disable spell checker
  • Record using Quicktime (no audio)
  • If possible select rectangle recording area
  • Save with highest possible quality e.g 1920x1080
  • Hide cursor if not needed

KeyCastr / ShowKeys (https://github.com/jmhobbs/ShowKeys)

@ryrych
ryrych / controllers_diagram.rb
Created Mar 3, 2016
Generate graph of jsonapi resources
View controllers_diagram.rb
# railroady -v --hide-private -i -o test.dot -s 'app/resources/**/*_resource.rb' -C && neato -Tpng -O test.dot
# RailRoady - RoR diagrams generator
# http://railroad.rubyforge.org
#
# Copyright 2007-2008 - Javier Smaldone (http://www.smaldone.com.ar)
# See COPYING for more details
require 'railroady/app_diagram'
@ryrych
ryrych / chalwa-domowa.md
Last active Aug 10, 2016
Recipes to get Balmer's peak while coding
View chalwa-domowa.md

Chalwa domowa

Sezam (niełuskany).................................200 g
Miód...............................................5 łyżek
  1. Sezam lekko uprażyć na patelni tak by ziarno nabrało lekko złotawego koloru
  2. Zmielić ziaro blenderem
@ryrych
ryrych / vim-ctrlspace-vimrc
Created Jan 1, 2016
Basic vimrc config for learning Vim-CtrlSpace
View vim-ctrlspace-vimrc
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
" Change path if necessary
call vundle#begin('~/vim-ctrlspace-learning')
Plugin 'VundleVim/Vundle.vim'
Plugin 'szw/vim-ctrlspace'
Plugin 'NLKNguyen/papercolor-theme'
@ryrych
ryrych / errorize.js
Created Nov 27, 2015
After refactoring #2
View errorize.js
import Ember from 'ember';
var errorize = Ember.Object.extend({
init() {
this._super();
this.set('errorsList', {});
},
validObject() {
return !!this.get('errors');
@ryrych
ryrych / errorize-test.js
Created Nov 26, 2015
After refactoring
View errorize-test.js
```javascript
import errorize from '../../../utils/errorize';
import { module, test } from 'qunit';
module('Unit | Utility | errorize');
test('errorize', function(assert) {
var errors = {
responseJSON: {
errors:[
@ryrych
ryrych / errorize-test.js
Created Nov 26, 2015
Before refactoring
View errorize-test.js
```javascript
import { errorize } from '../../../utils/errorize';
import { module, test } from 'qunit';
module('Unit | Utility | errorize');
test('errorize', function(assert) {
var errors = {
responseJSON: {
errors:[
@ryrych
ryrych / finding-bookmarked-projects.md
Created Nov 22, 2015
vim-ctrlspace: Finding bookmarked projects
@ryrych
ryrych / adding_a_project_to_bookmarks.md
Created Nov 22, 2015
vim-ctrlspace: Adding a project to bookmarks
View adding_a_project_to_bookmarks.md
$ vim
<kbd>CTRL</kbd>+<kbd>C</kbd>
<kbd>b</kbd>
<kbd>a</kbd>
⌗ Add directory to bookmarks: /Users/ryrych/projects/ember_awesome/<kbd>Enter</kbd>
⌗ New bookmark name: Ember is Awesome Bookmark<kbd>Enter</kbd>
@ryrych
ryrych / grouping_files.md
Last active Nov 22, 2015
vim-ctrlspace: Grouping files
View grouping_files.md
$ vim

# Open Ember project
[CTRL]+[SPACE]
[B]
>ember<
[Enter]

# Search for `README.md` and open it in the current tab without closing the plugin window
You can’t perform that action at this time.