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
| # Gemfile | |
| gem 'kramdown' |
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
| class Array | |
| def comprehend &block | |
| return self unless block | |
| head, *tail = self.map(&:to_a) | |
| return head.map(&block).compact if tail.empty? | |
| return head.product(*tail).map(&block).compact | |
| end | |
| end | |
| def sieve list |
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
| #!/bin/sh | |
| # | |
| # Written by Denis Vazhenin <[email protected]> | |
| # | |
| # This script was ported from Debian/Ubuntu version of start script for Gitlab: | |
| # https://raw.github.com/gitlabhq/gitlabhq/master/lib/support/init.d/gitlab | |
| # | |
| # PROVIDE: gitlab | |
| # REQUIRE: NETWORKING SERVERS DAEMON LOGIN | |
| # KEYWORD: shutdown |
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
| [alias] | |
| vommit = !sh -c \"cat ~/.gitvommit\" |
NewerOlder