This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mongod --dbpath=/home/user/mongo_experiments/db2 --bind_ip 127.0.0.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| puts STDIN.readlines.select { |line| line.include? 'Preparation' } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .check-wrapper(@click="check" :href="some") | |
| .check #{name} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pug = require 'pug' | |
| file = process.argv[2] | |
| template = pug.compileFile file | |
| console.log template name: 'Timothy' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/lib/mutant/isolation/fork.rb b/lib/mutant/isolation/fork.rb | |
| index e2476478..36130b62 100644 | |
| --- a/lib/mutant/isolation/fork.rb | |
| +++ b/lib/mutant/isolation/fork.rb | |
| @@ -61,8 +61,8 @@ module Mutant | |
| # @return [Object] | |
| def result | |
| devnull.call do |null| | |
| - stderr.reopen(null) | |
| - stdout.reopen(null) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://www.linux.org.ru/forum/development/13492726 | |
| class Glob | |
| def self.=== string | |
| string.include? ?* | |
| end | |
| end | |
| class MyHash < Hash | |
| def initialize |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| unbind C-b | |
| set -g prefix ` | |
| bind-key r source-file ~/.tmux.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'benchmark/ips' | |
| class Array | |
| def to_proc | |
| if self[0].is_a? Symbol | |
| method, *arguments = self | |
| -> receiver { receiver.send method, *arguments } | |
| elsif self[1].is_a? Symbol | |
| receiver, method, *arguments = self | |
| -> argument { receiver.send method, argument } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Numerous always-ignore extensions | |
| *.diff | |
| *.err | |
| *.orig | |
| *.rej | |
| *.swo | |
| *.swp | |
| *.vi | |
| *~ | |
| *.sass-cache |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [user] | |
| email = chertoly@gmail.com | |
| name = Anatoly Chernow | |
| [credential] | |
| helper = cache --timeout=3600 | |
| [core] | |
| excludesfile = ~/.gitignore_global | |
| [alias] | |
| co = checkout | |
| br = branch |