Skip to content

Instantly share code, notes, and snippets.

@bwinton
bwinton / simple-keyboard.lua
Last active April 7, 2017 14:42
FooIRC Simple Keyboard Shortcuts.
/*
This Action Group implements keyboard shortcuts for Foo IRC.
The following keyboard shortcuts are provided:
Switch to the previous server in the IRC View (default: Shift+S)
Switch to the next server in the IRC View (default: Shift+W)
Switch to previous channel or view on the current server (default: Shift+A)
Switch to next channel or view on the current server (default: Shift+D)
Clears the messages of the currently open private message, channel, or server console view (default: Shift+C)
@bwinton
bwinton / web-extrun.log
Created January 4, 2017 20:42
web-ext run errors
> web-ext run -s dist --firefox=firefoxdeveloperedition
Running web extension from c:\Users\bwint\Programming\addons\SnoozeTabs\dist
Running Firefox with profile at C:\Users\bwint\AppData\Local\Temp\a6df52f7-0cc2-44a1-a365-d0a3fc9c4187
(node:3972) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
run: TypeError: Path must be a string. Received undefined
at assertPath (path.js:7:11)
at Object.join (path.js:468:7)
at c:\Users\bwint\Programming\addons\SnoozeTabs\node_modules\fx-runner\lib\utils.js:86:20
@bwinton
bwinton / main.rs
Created December 4, 2016 16:27
Rust metaprogramming?
mod q01;
mod q02;
mod q03;
mod q04;
use std::env;
#[macro_use] extern crate itertools;
extern crate regex;
fn main() {
diff --git a/skin/light/light.css b/skin/light/light.css
index cb74524..01d6be2 100644
--- a/skin/light/light.css
+++ b/skin/light/light.css
@@ -7,15 +7,64 @@
.tabbrowser-tabs {
+ background-color: #FBFBFB !important;
+ height: 100vh;
diff --git a/skin/light/light.css b/skin/light/light.css
index cb74524..c92d5e1 100644
--- a/skin/light/light.css
+++ b/skin/light/light.css
@@ -11,11 +11,56 @@
padding: 0 !important;
background: transparent !important;
background-color: #FBFBFB !important;
+ height: 100vh;
+}
diff --git a/skin/light/light.css b/skin/light/light.css
index cb74524..860f35d 100644
--- a/skin/light/light.css
+++ b/skin/light/light.css
@@ -13,6 +13,39 @@
background-color: #FBFBFB !important;
}
+#browser {
+ display: block;
diff --git a/skin/light/light.css b/skin/light/light.css
index cb74524..2d2e6c2 100644
--- a/skin/light/light.css
+++ b/skin/light/light.css
@@ -13,6 +13,34 @@
background-color: #FBFBFB !important;
}
+#verticaltabs-box {
+ box-shadow: inset 0 0 10px rgba(0,0,0,0.4);
global.getStylesheets = () => {
let styleSheetService = Cc["@mozilla.org/content/style-sheet-service;1"]
.getService(Components.interfaces.nsIStyleSheetService);
let styleSheetURI = Services.io.newURI("chrome://browser/content/extension.css",
null, null);
let styleSheet = styleSheetService.preloadSheet(styleSheetURI,
styleSheetService.AGENT_SHEET);
styleSheetURI = Services.io.newURI("chrome://browser/content/extension-mac.css",
null, null);
let macStyleSheet = styleSheetService.preloadSheet(styleSheetURI,
@bwinton
bwinton / console.log
Created February 29, 2016 17:19
./mach bootstrap without autoconf installed.
🌖 🕚 bwinton@10:51/mozilla-central/ (default✗) $ ./mach bootstrap
Please choose the version of Firefox you want to build:
1. Firefox for Desktop
2. Firefox for Android
Your choice:
1
Looks like you have Homebrew installed. We will install all required packages via Homebrew.
@bwinton
bwinton / -
Created February 29, 2016 14:28
homebrew/versions/autoconf213: stable 2.13
Automatic configure script builder
https://www.gnu.org/software/autoconf/
/usr/local/Cellar/autoconf213/2.13 (28 files, 1021.9K)
Built from source
From: https://github.com/Homebrew/homebrew-versions/blob/master/autoconf213.rb