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
""" | |
Mouse bindings and helpers for Dark Souls II | |
============================================ | |
Features | |
-------- | |
- Attack with left and right mouse buttons with no delay. | |
- Execute combos in one key press. | |
- Close dialogs with Escape. |
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
"""Analog of Unix ``ln`` for Windows since Vista.""" | |
import sys | |
import os | |
import subprocess | |
if len(sys.argv) < 3: | |
sys.exit('usage: ln.py TARGETS DEST') | |
args = map(os.path.abspath, sys.argv[1:]) | |
targets, dest = args[:-1], args[-1] | |
os.chdir(dest) |
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
from __future__ import print_function | |
import sys | |
import subprocess | |
from os.path import isfile, join, splitext, sep, normpath | |
from glob import glob | |
ENGINE = 'quakespasm\\0.91.0\\quakespasm.exe' | |
GAME = 'sm' | |
QARGS = ['-heapsize', '256000', |
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/env python | |
import pygtk | |
pygtk.require('2.0') | |
import gtk | |
import subprocess | |
import getpass | |
class CBExit(object): | |
def __init__(self): |
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
package semaphore | |
type Semaphore chan bool | |
func (self Semaphore) Acquire() { | |
self <- true | |
} | |
func (self Semaphore) Release() { | |
<-self |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document url-prefix("https://getpocket.com/a/read") { | |
/* Common */ | |
.page-readerdark .reading_progress_bar, | |
.page-readersepia .reading_progress_bar { | |
background-color: #2aa198; /* cyan */ | |
} | |
code, pre { | |
font-size: 19px; |
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
# Based on dark mode of gruvbox color scheme https://github.com/morhetz/gruvbox/ | |
ForegroundColour=235,219,178 | |
BackgroundColour=40,40,40 | |
CursorColour=235,219,178 | |
Black=40,40,40 | |
BoldBlack=146,131,116 | |
Red=204,36,29 | |
BoldRed=251,73,56 | |
Green=152,151,26 | |
BoldGreen=184,187,38 |
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 browserify = require('browserify') | |
var gulp = require('gulp') | |
var plumber = require('gulp-plumber') | |
var gutil = require('gulp-util') | |
var uglify = require('gulp-uglify') | |
var buffer = require('vinyl-buffer') | |
var source = require('vinyl-source-stream') | |
var watchify = require('watchify') |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document url-prefix("about:reader") { | |
body.light { | |
color: #657b83; /* base00 */ | |
background-color: #fdf6e3; /* base3 */ | |
} | |
body.dark { | |
color: #839496; /* base0 */ |
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
# Based on dark mode of Solarized color scheme http://ethanschoonover.com/solarized | |
ForegroundColour=131,148,150 | |
BackgroundColour=0,43,54 | |
CursorColour=131,148,150 | |
Black=7,54,66 | |
BoldBlack=0,43,54 | |
Red=220,50,47 | |
BoldRed=203,75,22 | |
Green=133,153,0 | |
BoldGreen=88,110,117 |