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
create temp table jarrad_test(t1 int, t2 int); | |
insert into jarrad_test(t1, t2) | |
select | |
t1, | |
case when t1 % 10 = 0 then 2 else 1 end as t2 | |
from generate_series(1, 9999) t(t1); | |
create index btree_to_order on jarrad_test(t1, t2); | |
create index brin on jarrad_test using brin(t1, t2); |
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
#!/usr/bin/python3 | |
from pprint import pprint | |
from subprocess import run, PIPE | |
import csv | |
class Clip: | |
def getText(self) -> str: ... | |
def hasExistingHtml(self) -> bool: ... | |
def setHtml(self, v: str): ... |
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
Checking for a new Ubuntu release | |
Get:1 Upgrade tool signature [819 B] | |
Get:2 Upgrade tool [1,257 kB] | |
Fetched 1,258 kB in 0s (0 B/s) | |
authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg' | |
extracting 'bionic.tar.gz' | |
Reading cache | |
Checking package manager |
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
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'ci' ] | |
2 info using npm@5.8.0 | |
3 info using node@v8.11.1 | |
4 verbose npm-session dd182ce08296b811 | |
5 info prepare initializing installer | |
6 verbose prepare starting workers | |
7 verbose prepare installation prefix: /home/jarrad/src/personal/npmBug | |
8 verbose prepare using package-lock.json | |
9 warn prepare removing existing node_modules/ before installation |
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
enum Categorization { | |
Sunny, | |
Clear, | |
MostlySunny, | |
Cloudy, | |
Hazy, | |
LightRain, | |
Windy, | |
Fog, | |
Shower, |
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
From d32033adb9acd903e08ab3c8cc99db9b4d3850d1 Mon Sep 17 00:00:00 2001 | |
From: Jarrad Whitaker <jarrad.whitaker@gmail.com> | |
Date: Sun, 9 Nov 2014 18:46:15 +1100 | |
Subject: [PATCH 4/4] 128px PNGs currently required for hidpi support, | |
generated from SVGs by generate128.sh | |
--- | |
modules/gui/qt4/pixmaps/next_128px.png | Bin 0 -> 3216 bytes | |
modules/gui/qt4/pixmaps/pause_128px.png | Bin 0 -> 1185 bytes | |
modules/gui/qt4/pixmaps/play_128px.png | Bin 0 -> 3293 bytes |
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
From a062b8e9a47d91d67c0d48077de08098c495feef Mon Sep 17 00:00:00 2001 | |
From: Jarrad Whitaker <jarrad.whitaker@gmail.com> | |
Date: Sun, 9 Nov 2014 18:45:01 +1100 | |
Subject: [PATCH 3/4] SVG icons and a 128px png generate script | |
--- | |
modules/gui/qt4/pixmaps/generate128.sh | 9 + | |
modules/gui/qt4/pixmaps/next.svg | 156 +++++++++++ | |
modules/gui/qt4/pixmaps/pause.svg | 114 ++++++++ | |
modules/gui/qt4/pixmaps/play.svg | 104 +++++++ |
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 | |
# Generated by configure. | |
# Run this file to recreate the current configuration. | |
# Compiler output produced by configure, useful for debugging | |
# configure, is in config.log if it exists. | |
debug=false | |
ac_cs_recheck=false | |
ac_cs_silent=false |
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
make all-recursive | |
make[1]: Entering directory `/home/jarrad/src/vlc/win32' | |
Making all in compat | |
make[2]: Entering directory `/home/jarrad/src/vlc/win32/compat' | |
make all-am | |
make[3]: Entering directory `/home/jarrad/src/vlc/win32/compat' | |
make[3]: Nothing to be done for `all-am'. | |
make[3]: Leaving directory `/home/jarrad/src/vlc/win32/compat' | |
make[2]: Leaving directory `/home/jarrad/src/vlc/win32/compat' | |
Making all in doc |
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
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c | |
index 8ed66fd..420810c 100644 | |
--- a/drivers/hid/hid-core.c | |
+++ b/drivers/hid/hid-core.c | |
@@ -702,6 +702,10 @@ static void hid_scan_collection(struct hid_parser *parser, unsigned type) | |
if (((parser->global.usage_page << 16) == HID_UP_SENSOR) && | |
type == HID_COLLECTION_PHYSICAL) | |
hid->group = HID_GROUP_SENSOR_HUB; | |
+ if (hid->vendor == USB_VENDOR_ID_MICROSOFT && | |
+ hid->product == USB_DEVICE_ID_MS_TYPE_COVER_3 && |
NewerOlder