I hereby claim:
- I am mladoux on github.
- I am mladoux (https://keybase.io/mladoux) on keybase.
- I have a public key ASAQbMlDtPPSVJ75uR84kO_lq87mt5zif76Zw6nW3sP_1wo
To claim this, I am signing this object:
| @echo off | |
| SET st3Path=C:\Program Files\Sublime Text 3\sublime_text.exe | |
| rem add it for all file types | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3" /t REG_EXPAND_SZ /v "Icon" /d "%st3Path%,0" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command" /t REG_SZ /v "" /d "%st3Path% \"%%1\"" /f | |
| rem add it for folders | |
| @reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 3" /t REG_SZ /v "" /d "Open with Sublime Text 3" /f |
| def printnl(lines=1): | |
| '''Print a variable number of empty lines to the screen | |
| Keyword arguments: | |
| lines -- Number of empty lines to print. | |
| Defaults to 1. | |
| Returns: string |
| Section "InputClass" | |
| Identifier "touchpad" | |
| Driver "synaptics" | |
| MatchIsTouchpad "on" | |
| Option "TapButton1" "1" | |
| Option "TapButton2" "3" | |
| Option "TapButton3" "2" | |
| Option "VertEdgeScroll" "off" | |
| Option "VertTwoFingerScroll" "on" | |
| Option "HorizEdgeScroll" "off" |
| ### Keybase proof | |
| I hereby claim: | |
| * I am mladoux on github. | |
| * I am mladoux (https://keybase.io/mladoux) on keybase. | |
| * I have a public key ASAQbMlDtPPSVJ75uR84kO_lq87mt5zif76Zw6nW3sP_1wo | |
| To claim this, I am signing this object: |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| /** | |
| * SystemLoader | |
| * | |
| * Autoloader for project libs and dependencies. | |
| * | |
| * @author Mark LaDoux <[email protected]> | |
| */ | |
| class SystemLoader | |
| { |
| // Enforce HTTPS | |
| $app->add(function (Request $request, Response $response, $next) { | |
| $cf = $this->get('settings'); | |
| // Check if configuration wants us to enforce https, so we can turn it | |
| // on or off depending on whether the server supports https | |
| if (isset($cf['force_https']) && $cf['force_https'] === true) { | |
| if ($request->getUri()->getScheme() !== 'https') { | |
| // Redirect to HTTPS |
| <?php namespace DHMedia\Input; | |
| /** | |
| * DHMedia URI Parser | |
| * | |
| * @author Mark LaDoux <[email protected]> | |
| * @copyright Copyright © 2018, DoomHamster Media | |
| * @license MIT <https://opensource.org/licenses/MIT> | |
| */ | |
| class URI |
| /* Set width to 600px, and center box */ | |
| .gist { | |
| margin-left: auto; | |
| margin-right: auto; | |
| width: 600px !important; | |
| } | |
| /* Limit height and width of script box, and enable scrollbars */ | |
| .gist-data { | |
| height:250px; |
| /* Monokai color Scheme Syntax Highlight Overrides ( REQUIRES 'body' TAGS TO WORK) */ | |
| body .gist .highlight { | |
| background: #272822; | |
| } | |
| body .gist .blob-num, | |
| body .gist .blob-code-inner, | |
| body .gist .pl-s2, | |
| body .gist .pl-stj { | |
| color: #f8f8f2; | |
| } |