Skip to content

Instantly share code, notes, and snippets.

View qbit's full-sized avatar
🐡
blub blub

Aaron Bieber qbit

🐡
blub blub
View GitHub Profile
@qbit
qbit / cloudSettings
Last active July 30, 2021 13:43
VSCode Config
{"lastUpload":"2021-07-30T13:43:42.920Z","extensionVersion":"v3.4.3"}
{ config, lib, options, pkgs, fetchFromGitHub, kernel, kmod, ... }:
let
pubKeys = [
"[email protected] AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIDEKElNAm/BhLnk4Tlo00eHN5bO131daqt2DIeikw0b2AAAABHNzaDo= [email protected]"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBZExBj4QByLZSyKJ5+fPQnqDNrbsFz1IQWbFqCDcq9g [email protected]"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIITjFpmWZVWixv2i9902R+g5B8umVhaqmjYEKs2nF3Lu [email protected]"
];
vmmClock = config.boot.kernelPackages.callPackage ./vmm_clock.nix { };
virtioVmmci = config.boot.kernelPackages.callPackage ./virtio_vmmci.nix { };
@qbit
qbit / 9.js
Last active March 20, 2020 22:54
9term-ish theme for Blink shell
t.prefs_.set('color-palette-overrides',["#212121", "#c30771", "#10a778", "#a89c14", "#008ec4", "#523c79", "#20a5ba", "#d9d9d9", "#424242", "#fb007a", "#5fd7af", "#f3e430", "#20bbfc", "#6855de", "#4fb8cc", "#f1f1f1"]);
t.prefs_.set('foreground-color', "#000000");
t.prefs_.set('background-color', "#ffffea");
t.prefs_.set('cursor-color', 'rgba(32,187,252,0.5)');
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Device name: ren
Device ID: EVKTGGMDSY
Device key: tCIl B3j7 CsXe 9FxW pXHW 2kRp iZ1Q Cmmq PB2m s8EQ sdA
Device name: nuc
Device ID: HWXYJTRKSW
Device key: aLCp +f3N Z6OT Cxvm 4DPo TTj5 ODyB actd tWQZ hfle Bnc
diff --git a/usr.bin/tmux/cmd-set-option.c b/usr.bin/tmux/cmd-set-option.c
index f3622017830..97b21f01e58 100644
--- a/usr.bin/tmux/cmd-set-option.c
+++ b/usr.bin/tmux/cmd-set-option.c
@@ -254,6 +254,7 @@ cmd_set_option_exec(struct cmd *self, struct cmdq_item *item)
if (strcmp(name, "monitor-silence") == 0)
alerts_reset_all();
if (strcmp(name, "window-style") == 0 ||
+ strcmp(name, "window-inactive-style") == 0 ||
strcmp(name, "window-active-style") == 0) {
@qbit
qbit / chromium.cloc
Created October 24, 2017 20:44
61.0.3163.100
209497 text files.
189366 unique files.
55583 files ignored.
20 errors:
Line count, exceeded timeout: ./base/metrics/field_trial_unittest.cc
Line count, exceeded timeout: ./chrome/browser/chromeos/file_manager/file_tasks_unittest.cc
Line count, exceeded timeout: ./chrome/browser/policy/policy_browsertest.cc
Line count, exceeded timeout: ./chrome/browser/printing/cloud_print/privet_http_unittest.cc
Line count, exceeded timeout: ./chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
Line count, exceeded timeout: ./components/drive/service/drive_api_service.cc
@qbit
qbit / comparison.md
Created October 24, 2017 01:05
Comparison of chromium+electron and OpenBSD src trees.

Electron

-----------------------------------------------------------------------------------
Language                         files          blank        comment           code
-----------------------------------------------------------------------------------
C++                                312           9711           4385          46244
Markdown                           513          18985              0          43674
JavaScript                         199           2979           1012          22966
C/C++ Header                       337           5855           4674          19227
Objective C++                       47           1573            713           6642
---------------------------------------------------------------------------------------
Language files blank comment code
---------------------------------------------------------------------------------------
C 16045 1151514 1394479 6409501
C++ 9027 380730 428645 2129520
C/C++ Header 12480 401032 766593 2026578
Perl 4122 157859 208622 982209
HTML 903 33457 6243 471775
Bourne Shell 1298 62248 76580 469701
Markdown 259 46737 0 402916
@qbit
qbit / electrong.cloc
Created October 23, 2017 21:53
66846bff975f92dd721d5ca29f332edf3795f1c0
100 files
200 files
300 files
400 files
500 files
600 files
700 files
800 files
900 files
1000 files
@qbit
qbit / reclaimWindows10.ps1
Last active March 12, 2017 15:00 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Fork via https://github.com/Disassembler0 (different defaults)
##########
# Win10 Initial Setup Script
# Author: Disassembler <[email protected]>
# Version: 1.7, 2016-08-15
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/
# THIS IS A PERSONALIZED VERSION
# This script leaves more MS defaults on, including MS security features.
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1