Skip to content

Instantly share code, notes, and snippets.

View zakius's full-sized avatar

zakius zakius

View GitHub Profile
<div class="tab-content" style="min-width:calc(100% - 18px);">
<div class="tab-pane fade in" id="ONE">
<div class="p-0" style="height:600px;">
<div class="row no-gutters pl-2 pt-0">
<div class="col-md-3">
<div class="card-block bg-faded h-100" style="background-image:url(&quot;https://file.toyhou.se/images/15823916_Q7nFAwEapRRYUdS.png&quot;);background-size:cover;background-position:top;height:600px;">
</div>
</div>
<div class="col-md-6 px-4">
<div class="row no-gutters" style="overflow:hidden;">
# Start Docker daemon automatically when logging in if not running.
RUNNING=`ps aux | grep dockerd | grep -v grep`
if [ -z "$RUNNING" ]; then
sudo dockerd > /dev/null 2>&1 &
disown
fi
;OPTIMIZATIONS START
;#NoEnv
#MaxHotkeysPerInterval 99000000
#HotkeyInterval 99000000
#KeyHistory 0
ListLines Off
Process, Priority, , A
SetBatchLines, -1
SetKeyDelay, -1, -1
SetMouseDelay, -1
// ==UserScript==
// @name Mouse Gestures
// @author xiaoxiaoflood
// @include main
// @startup UC.MGest.exec(win);
// @shutdown UC.MGest.destroy();
// @onlyonce
// ==/UserScript==
// initially forked from https://web.archive.org/web/20131025160814/http://www.cnblogs.com/ziyunfei/archive/2011/12/15/2289504.html
  1. Allow toolbar configuration
    1. All toolbar elements should be movable across all toolbars, including separate bookmarks
    2. Allow creation of custom buttons to execute common actions and macros
  2. Allow removal of close tab buttons
    1. It should be possible to remove them all, display button on active tab only and there should be toolbar element possible to be placed anywhere to close active tab
  3. Make it possible to open new tab by middle clicking on tab bar
  4. Improve extensions API (or move to WE and improve it)
    1. Make it possible to handle non-primary clicks and modifiers on Browser Actions and Page Actions (see https://bugzilla.mozilla.org/show_bug.cgi?id=1405031)
    2. Make it possible to use both Page Action and Browser Action in single extension
  5. Make it possible to use multiple Page and Browser Actions in one extension