Skip to content

Instantly share code, notes, and snippets.

;;; init.el
;;; misc.el
(when window-system
(setq frame-title-format '(buffer-file-name "%f" ("%b")))
(tooltip-mode -1)
(mouse-wheel-mode t)
(blink-cursor-mode -1))
(add-hook 'before-make-frame-hook 'turn-off-tool-bar)
17zuoye
3D Robotics
Adatao
Addepar
Affirm
Airware
Algal Scientific
AlienVault
Ambiq Micro
Anki
<center>
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="backgroundTable">
<tr>
<td align="center" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="600" id="templateContainer">
<tr>
<td align="center" valign="top">
<!-- // Begin Template Header \\ -->
@waratuman
waratuman / b
Created November 14, 2011 18:44
λ 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"
@waratuman
waratuman / b
Created November 16, 2011 17:00
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)'
# 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
#
[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.
$ cd ~/src
$ rails new MLS
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.