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 strict'; | |
var fs = require('fs'); | |
var user_db = require('../models/user'); | |
var ban_db = require('../models/ban'); | |
var get_user_ip = require('./get-user-ip'); | |
var path = require('path'); | |
var config = require('../../config'); |
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
#!/usr/bin/python | |
from Xlib import X,XK,display | |
import sys,os | |
import gobject | |
class Hotkey: | |
def __init__(self,keystr,action,*args): | |
self.action=action | |
self.args=args |