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
#!/bin/bash | |
#Author: Travis Gibson | |
#This script requires an argument for the resolution width | |
#Thanks go out to eCharles for a patch in the comments of this link here: http://blog.echarles.net/2013/10/01/Ubuntu-13.04-On-MacbookPro-Retina | |
if [ -z "$1" ]; then | |
echo "Usage: Res.sh <resolution_width>"; | |
exit 1; | |
fi | |
erg=$( echo "$1") | |
check=$(xrandr -q | grep DP-2 | cut -d " " -f 4 | cut -d "x" -f 1) |
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
$ echo 'my Var $var' | RAKUDO_EXCEPTIONS_HANDLER='JSON' perl6 | |
No exception handler located for catch | |
at SETTING::src/core/Exception.pm:57 (C:\rakudo\share/perl6/runtime/CORE.setting.moarvm:throw) | |
from SETTING::src/core/control.pm:178 (C:\rakudo\share/perl6/runtime/CORE.setting.moarvm:die) | |
from SETTING::src/core/control.pm:166 (C:\rakudo\share/perl6/runtime/CORE.setting.moarvm:die) | |
from SETTING::src/core/Rakudo/Internals/JSON.pm:124 (C:\rakudo\share/perl6/runtime/CORE.setting.moarvm:to-json) | |
from SETTING::src/core/Rakudo/Internals/JSON.pm:100 (C:\rakudo\share/perl6/runtime/CORE.setting.moarvm:to-json) | |
from SETTING::src/core/Rakudo/Internals/JSON.pm:114 (C:\rakudo\share/perl6/runtime/CORE.setting.moarvm:) | |
from SETTING::src/core/Any-iterable-methods.pm:369 (C:\rakudo\share/perl6/runtime/CORE.setting.moarvm:pull-one) | |
from SETTING::src/core/Seq.pm:116 (C:\rakudo\share/perl6/runtime/CORE.setting.moarvm:join) |