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
# this include won't work for some reason: | |
# include Capistrano::Git::DefaultStrategy | |
module SubmoduleStrategy | |
# check for a .git directory | |
def test | |
test! " [ -d #{repo_path}/.git ] " | |
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
use "net" | |
actor Main | |
let _userList: PcUser tag = PcUser | |
new create(env: Env) => | |
try | |
TCPListener( | |
env.root as AmbientAuth, | |
PcNetTcpListenNotifier(_userList), |
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
/api/v1/bundles?where={ | |
"hash": { | |
"$in": [ | |
"19d5b126c52fb9ffffaaebe614170c803cc713058d9869de210825d3b08e6eaa", | |
"29a2ae4ad9e1d034e47eea5c1cdc7e084827385ae4e7be24dc381f11069fa0f6", | |
"cc50394e7d030570a55efe594217d8f862452405594752992770ba4e784c70ad", | |
"0123080a199d96847512a4df411e006a3166a665a546c1cd07b0a73017ebf50d", | |
"212de7e00cd7a189ba7ffb0cfe12cc3447cd556744797dfefb4f11352783b6f6", | |
"50e0bc4e138f67e93413f370152aa0d5971302b05bce00f66b18301adda5e41b", | |
"9f373476b885c00551490532153c5d7d3e05f68a8efecab505f51b9a741b2758", |
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
{ | |
"glass": "\f000", | |
"music": "\f001", | |
"search": "\f002", | |
"envelope-o": "\f003", | |
"heart": "\f004", | |
"star": "\f005", | |
"star-o": "\f006", | |
"user": "\f007", | |
"film": "\f008", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
$ cd ~/src | |
$ rails new MLS |
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
[35302] 28 Dec 16:15:00 * The server is now ready to accept connections on port 6379 | |
[35302] 28 Dec 16:15:01 - 0 clients connected (0 slaves), 922256 bytes in use | |
[35302] 28 Dec 16:15:06 - 0 clients connected (0 slaves), 922256 bytes in use | |
[35302] 28 Dec 16:15:12 - 0 clients connected (0 slaves), 922256 bytes in use | |
[35302] 28 Dec 16:15:17 - 0 clients connected (0 slaves), 922256 bytes in use | |
[35302] 28 Dec 16:15:22 - 0 clients connected (0 slaves), 922256 bytes in use | |
[35302] 28 Dec 16:15:27 - 0 clients connected (0 slaves), 922256 bytes in use | |
[35302] 28 Dec 16:15:27 - Accepted 127.0.0.1:54585 | |
[35302] 28 Dec 16:15:32 - 1 clients connected (0 slaves), 930848 bytes in use | |
[35302] 28 Dec 16:15:37 - DB 0: 1 keys (0 volatile) in 4 slots HT. |
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
# MAXMEMORY POLICY: how Redis will select what to remove when maxmemory | |
# is reached? You can select among five behavior: | |
# | |
# volatile-lru -> remove the key with an expire set using an LRU algorithm | |
# allkeys-lru -> remove any key accordingly to the LRU algorithm | |
# volatile-random -> remove a random key with an expire set | |
# allkeys->random -> remove a random key, any key | |
# volatile-ttl -> remove the key with the nearest expire time (minor TTL) | |
# noeviction -> don't expire at all, just return an error on write operations | |
# |
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
red.hs:13:23: | |
Couldn't match expected type `IO a0' | |
with actual type `Data.Map.Map k0 a1' | |
In the return type of a call of `Data.Map.insert' | |
In the expression: Data.Map.insert file (processFile file) acc | |
In the first argument of `foldr', namely | |
`(\ file acc -> Data.Map.insert file (processFile file) acc)' |
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
λ ghc red.hs | |
[1 of 1] Compiling Main ( red.hs, red.o ) | |
red.hs:8:5: | |
Couldn't match expected type `Char' with actual type `[Char]' | |
In the pattern: "merge" | |
In a case alternative: "merge" -> merge args putStrLn "done" | |
In the expression: | |
case action of { | |
"merge" -> merge args putStrLn "done" |
NewerOlder