This file contains hidden or 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
./10,000 BC (2008){unknown}[en].avi | |
./12 Angry Men (1957){1080p}{bluray}{h264}[en].mkv | |
./12 Years a Slave (2013){1080p}[en].mkv | |
./13 Assassins (2010){unknown}[en].avi | |
./1492: Conquest of Paradise (1992){1080p}{bluray}{h264}[en][de].mkv | |
./2001: A Space Odyssey (1968){1080p}{bluray}{ac3}[en][de].mkv | |
./2012 (2009){unknown}[en].avi | |
./21 (2008){1080p}{bluray}{h264}{ac3}[en][de].mkv | |
./22 Bullets (2010){720p}{h264}{dts}[en].mkv | |
./22 Jump Street (2014){1080p}{webdl}{h264}{aac}[en].mkv |
This file contains hidden or 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
[Mapping analog-surround-31] | |
device-strings = surround31:%f | |
channel-map = front-left,front-right,front-center,lfe | |
paths-output = analog-output analog-output-lineout analog-output-speaker | |
priority = 8 | |
direction = output | |
This file contains hidden or 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
% ag xulrunner-gtk2 | |
xu/xulrunner-gtk2-bin/xulrunner-gtk2-bin/PKGBUILD | |
2:pkgname=xulrunner-gtk2-bin | |
xu/xulrunner-gtk2/xulrunner-gtk2/PKGBUILD | |
4:pkgname=xulrunner-gtk2 | |
li/lightspark/lightspark/PKGBUILD | |
12:makedepends=('cmake' 'nasm' 'llvm' 'glproto' 'boost' 'fontconfig' 'xulrunner-gtk2') |
This file contains hidden or 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
def test_validate_expanduser(self, os_path): | |
"""Test if validate expands the user correctly.""" | |
# os_path.expandvars.side_effect = lambda x: x.replace('$BAR', | |
# '/home/foo/bar') | |
os_path.expandvars = os.path.expandvars | |
os_path.expanduser.side_effect = lambda x: x.replace('~', '/home/foo') | |
os_path.isdir.side_effect = lambda path: path == '/home/foo/foobar' | |
os_path.isabs.return_value = True | |
with helpers.environ_set_temp('FOO', 'foo'): | |
self.t.validate('~/foobar') |
This file contains hidden or 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
(.venv) [12:00 ramsi@shada <master*>]% python3 -m unittest ~src/qutebrowser | |
..s...........................x.....................s.........................................................................................................................................................F......EE..................................x..............................................................................................................................................................................................................................................................................................s.s.ss.......................F.F.F.sss.......................................................................................................... | |
====================================================================== | |
ERROR: test_validate_expanduser (qutebrowser.test.config.test_configtypes.DirectoryTests) | |
Test if validate expands the user correctly. | |
--- |
This file contains hidden or 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
diff --git a/qutebrowser/config/configtypes.py b/qutebrowser/config/configtypes.py | |
index 69f22f0..4dbcb5c 100644 | |
--- a/qutebrowser/config/configtypes.py | |
+++ b/qutebrowser/config/configtypes.py | |
@@ -837,6 +837,7 @@ class Directory(BaseType): | |
return | |
else: | |
raise configexc.ValidationError(value, "may not be empty!") | |
+ value = os.path.expandvars(value) | |
value = os.path.expanduser(value) |
This file contains hidden or 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
#!/bin/bash | |
# configuration | |
path=/tmp/aide | |
server='irc.freenode.net' | |
channel='#chakra-devel' | |
# file to append messages to | |
out="$path/$server/$channel/in" |
This file contains hidden or 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
search-series: # {{{2 | |
series: | |
- bojack horseman: | |
quality: 1080p | |
identified_by: ep | |
discover: | |
what: | |
- emit_series: | |
from_start: yes | |
from: |
This file contains hidden or 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
#compdef flexget | |
(( $+functions[_flexget_command] )) || _flexget_command() | |
{ | |
local -a _flexget_cmds | |
_flexget_cmds=( | |
'execute:execute tasks now' | |
'daemon:run continuously, executing tasks according to schedules defined in config' | |
'check:validate configuration file and print errors' | |
'movie-queue:view and manage the movie queue' |
This file contains hidden or 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
tasks: | |
move-tv: # {{{2 | |
priority: 2 | |
seen: local | |
disable_builtins: [retry_failed] | |
no_entries_ok: yes | |
find: | |
path: |