I hereby claim:
- I am fuksito on github.
- I am fuksito (https://keybase.io/fuksito) on keybase.
- I have a public key whose fingerprint is E694 806B 65BB 0311 5A94 E6C5 C5B8 E31B 8C5F EFCB
To claim this, I am signing this object:
# Usually service classes have only one purpose and thus should have only one public method that triggers action | |
# This module simplifies the common approach: | |
# | |
# SomeService.new(a, b, c).call | |
# | |
# To: | |
# | |
# SomeService.call(a, b, c) | |
# | |
# Requirements for class: |
upstream docker-registry { | |
server 127.0.0.1:5000; | |
} | |
server { | |
server_name registry.example.com; | |
server_name_in_redirect off; | |
# disable any limits to avoid HTTP 413 for large image uploads |
> [nil].sum | |
=> 0 | |
> [5,nil].sum | |
TypeError: nil can't be coerced into Fixnum | |
> [nil,5].sum | |
NoMethodError: undefined method `+' for nil:NilClass |
I hereby claim:
To claim this, I am signing this object:
echo -e "se nocp\nruntime plugin/netrwPlugin.vim" > /tmp/min.vim && curl -s -XGET https://raw.githubusercontent.com/rstacruz/vim-opinion/master/plugin/opinion.vim >> /tmp/min.vim && curl -s -XGET https://raw.githubusercontent.com/tpope/vim-sensible/master/plugin/sensible.vim >> /tmp/min.vim && curl -s -XGET https://raw.githubusercontent.com/tpope/vim-sleuth/master/plugin/sleuth.vim >> /tmp/min.vim && alias vim='vim -u /tmp/min.vim' |
-- Blocked Queries | |
CREATE VIEW blocked_queries AS | |
SELECT blocked_locks.pid AS blocked_pid, | |
blocked_activity.usename AS blocked_user, | |
blocking_locks.pid AS blocking_pid, | |
blocking_activity.usename AS blocking_user, | |
blocked_activity.query AS blocked_statement, | |
blocking_activity.query AS blocking_statement | |
FROM pg_catalog.pg_locks blocked_locks | |
JOIN pg_catalog.pg_stat_activity blocked_activity ON blocked_activity.pid = blocked_locks.pid |
Chrome 30.0.1599 (Mac OS X 10.9.0): Executed 2 of 2 (1 FAILED) (0.28 secs / 0.074 secs) | |
INFO [watcher]: Changed file "/Users/fuksito/Code/angular-ui-foundation-pagination/src/test/pagination.spec.coffee". | |
LOG: Object{0: <div class="ng-scope"><ul class="pagination ng-isolate-scope" total-items="totalItems" current-page="currentPage"> | |
<!-- ngRepeat: page in pages --><li ng-repeat="page in pages" ng-class="{current: page.active, unavailable: page.disabled}" class="ng-scope"> | |
<a ng-click="selectPage(page.number)" ng-bind-html-unsafe="page.text"></a> | |
</li><!-- end ngRepeat: page in pages --><li ng-repeat="page in pages" ng-class="{current: page.active, unavailable: page.disabled}" class="ng-scope"> | |
<a ng-click="selectPage(page.number)" ng-bind-html-unsafe="page.text"></a> | |
</li><!-- end ngRepeat: page in pages --><li ng-repeat="page in pages" ng-class="{current: page.active, unavailable: page.disabled}" class="ng-scope"> | |
<a ng-click="selectPage(page.number)" ng-bind-html-unsafe="page.text"></a> | |
> "2011-01-01".to_datetime.strftime("%Y%U") | |
=> "201100" | |
> DateTime.strptime("201100", "%Y%U") | |
ArgumentError: invalid date | |
> DateTime.strptime("201101", "%Y%U") | |
=> Sun, 02 Jan 2011 00:00:00 +0000 |
<!-- elgalu: Adding ruby regular expression detection starting and ending with slashes --> | |
<dict> | |
<key>begin</key> | |
<string>/</string> | |
<key>beginCaptures</key> | |
<dict> | |
<key>0</key> | |
<dict> | |
<key>name</key> | |
<string>punctuation.definition.string.begin.ruby</string> |