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
import Dispatch | |
func dispatch_async(queue: dispatch_queue_t = dispatch_get_main_queue(), block: dispatch_block_t) { | |
Dispatch.dispatch_async(queue, block) | |
} | |
dispatch_async { | |
// Update the UI | |
} |
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
SELECT t.alias, p.token | |
FROM ts_parse('default', 'http://www.postgresql.org/docs/9.4/static/textsearch-parsers.html') AS p | |
NATURAL JOIN ts_token_type('default') AS t; | |
-- alias | token | |
-- ----------+------------------------------------------------------------ | |
-- protocol | http:// | |
-- url | www.postgresql.org/docs/9.4/static/textsearch-parsers.html | |
-- host | www.postgresql.org | |
-- url_path | /docs/9.4/static/textsearch-parsers.html |
NewerOlder