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
atom.workspace.observeTextEditors (item) -> | |
# Sets up middle button scroll on the given editor component | |
middleMouseScrollSetup = (editorComponent) -> | |
lastClick = {x: 0, y: 0} | |
lastPosition = {x: 0, y: 0} | |
{scrollContainer} = editorComponent.refs | |
onMouseMove = (event) -> |
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 redis | |
from redis import WatchError | |
import time | |
RATE = 0.1 | |
DEFAULT = 100 | |
TIMEOUT = 60 * 60 | |
DEBUG = False |