$ EXPLAIN SELECT base.* FROM base LEFT JOIN relation ON relation.base_id = base.id WHERE relation.id IS NULL ORDER BY id LIMIT 1000;
QUERY PLAN
---------------------------------------------------------------------------------------------------
Limit (cost=755508.94..755508.95 rows=1 width=54)
-> Sort (cost=755508.94..755508.95 rows=1 width=54)
Sort Key: base.id
-> Hash Left Join (cost=44.65..755508.93 rows=1 width=54)
Hash Cond: (base.id = relation.base_id)
This file contains 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
Fetching gem metadata from http://rubygems.org/........... | |
Fetching gem metadata from http://rubygems.org/.. | |
airbrake (3.1.6) | |
girl_friday (0.11.2) | |
connection_pool (1.0.0) | |
rubinius-actor (0.0.2) | |
rubinius-core-api (0.0.1) | |
builder (3.1.4) | |
mongoid (3.0.17) | |
origin (1.0.11) |
This file contains 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
Verifying that +fengb is my openname (Bitcoin username). https://onename.io/fengb |
This file contains 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
#define CLASS_KVO_CONTEXT ((__bridge void *)[self class]) | |
[_quote addObserver:self forKeyPath:@"bid" options:0 context:CLASS_KVO_CONTEXT]; | |
#define CLASS_KVO_CONTEXT(instance) ((__bridge void *)[instance class]) | |
[_quote addObserver:self forKeyPath:@"bid" options:0 context:CLASS_KVO_CONTEXT(self)]; | |
#define KVO_CONTEXT(instance) ((__bridge void *)[instance class]) | |
[_quote addObserver:self forKeyPath:@"bid" options:0 context:KVO_CONTEXT([self class])]; |
This file contains 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
export default class Route extends Ember.Route { | |
@Ember.observer('model.foo', 'model.bar') | |
@Ember.debounce(100) | |
rangeUpdater () { | |
let foo = this.get('model.foo') | |
let bar = this.get('model.bar') | |
this.trigger('rangeChange') | |
} | |
} |
This file contains 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 UserController < ActionController::Base | |
def create | |
end | |
end |
This file contains 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
ctx.body = svg.render({ | |
width: 100, | |
height: 100, | |
elements: [ | |
svg.polyline({ | |
points: [{ x: 1, y: 2 }, { x: 5, y: 10 }], | |
presentation: { stroke: "red" } | |
}), | |
svg.path({ | |
commands: [ |
This file contains 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
from functools import partial | |
class l(object): | |
def __init__(self, func, *args, **kwargs): | |
self.func = func | |
self.args = args | |
self.kwargs = kwargs | |
def __ror__(self, lhs): | |
return self.func(lhs, *args, **kwargs) |
This file contains 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
``` | |
✖ rejects after timeout | |
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) | |
TypeError: { __flags: | |
{ ssfi: [Function: proxyGetter], | |
lockSsfi: undefined, | |
object: {}, | |
message: undefined }, | |
assert: [Function], | |
__methods: |
This file contains 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/bash | |
target_ip=255.255.255.255 | |
whitelist=( | |
localhost.localdomain | |
local | |
localhost | |
broadcasthost | |
0.0.0.0 |
OlderNewer