Skip to content

Instantly share code, notes, and snippets.

View major's full-sized avatar
🀠
Yeehaw.

Major Hayden major

🀠
Yeehaw.
View GitHub Profile
@major
major / Preferences.json
Created May 8, 2015 15:03
Fixing Tweetdeck notifications in Chrome
"https://tweetdeck.twitter.com,*": {
"last_used": {
"notifications": 1414673538.301078
},
"notifications": 1
},
"https://tweetdeck.twitter.com:443,https://tweetdeck.twitter.com:443": {
"last_used": {
"notifications": 1431094902.014302
}
@major
major / xen-embargo.diff
Last active August 29, 2015 14:21
Proposed Xen embargo change (Source: http://www.xenproject.org/security-policy.html)
--- xen-embargo.txt 2015-05-26 09:23:17.431489388 -0500
+++ xen-embargo-updated.txt 2015-05-26 09:37:05.318995814 -0500
@@ -1,13 +1,15 @@
Embargo and disclosure schedule
If a vulnerability is not already public, we would like to notify significant distributors and operators of Xen so that they can prepare patched software in advance. This will help minimise the degree to which there are Xen users who are vulnerable but can't get patches.
As discussed, we will negotiate with discoverers about disclosure schedule. Our usual starting point for that negotiation, unless there are reasons to diverge from this, would be:
1) One working week between notification arriving at security@xenproject and the issue of our own advisory to our predisclosure list. We will use this time to gather information and prepare our advisory, including required patches.
@major
major / gist:3f797e92af37f8b74995
Created June 19, 2015 14:34
i915 debug logs with 4k display
Jun 18 18:55:02 arsenic kernel: [drm:intel_dp_start_link_train [i915]] *ERROR* failed to enable link training
Jun 18 19:09:31 arsenic kernel: [drm:intel_dp_start_link_train [i915]] *ERROR* failed to enable link training
Jun 18 19:21:13 arsenic kernel: [drm:intel_dp_start_link_train [i915]] *ERROR* failed to enable link training
Jun 18 19:23:22 arsenic kernel: [drm:intel_dp_start_link_train [i915]] *ERROR* failed to enable link training
Jun 18 21:17:32 arsenic kernel: [drm:intel_dp_start_link_train [i915]] *ERROR* failed to enable link training
Jun 18 21:32:15 arsenic kernel: [drm:intel_dp_complete_link_train] Channel EQ done. DP Training successful
Jun 18 21:33:22 arsenic kernel: [drm:intel_dp_complete_link_train] Channel EQ done. DP Training successful
Jun 18 21:33:22 arsenic kernel: [drm:intel_dp_complete_link_train] Channel EQ done. DP Training successful
Jun 18 21:33:23 arsenic kernel: [drm:intel_dp_complete_link_train] Channel EQ done. DP Training successful
Jun 18 21:33:24 arsenic kernel: [drm:intel_dp_
@major
major / gist:b9e363848a708b2aa4b3
Created June 19, 2015 14:57
i915 debug with Samsung 4K display
Jun 18 21:33:21 arsenic kernel: [drm:intel_hpd_irq_handler] hotplug event received, stat 0x00200000, dig 0x10101012
Jun 18 21:33:21 arsenic kernel: [drm:intel_hpd_irq_handler] digital hpd port B - long
Jun 18 21:33:21 arsenic kernel: [drm:intel_hpd_irq_handler] Received HPD interrupt on PIN 4 - cnt: 0
Jun 18 21:33:21 arsenic kernel: [drm:intel_dp_hpd_pulse] got hpd irq on port B - long
Jun 18 21:33:21 arsenic kernel: [drm:intel_dp_get_dpcd] DPCD: 12 14 c4 01 01 00 01 00 02 02 06 00 00 00 00
Jun 18 21:33:21 arsenic kernel: [drm:intel_dp_get_dpcd] Displayport TPS3 supported
Jun 18 21:33:21 arsenic kernel: [drm:intel_dp_probe_mst] Sink is not MST capable
Jun 18 21:33:21 arsenic kernel: [drm:i915_hotplug_work_func] running encoder hotplug functions
Jun 18 21:33:21 arsenic kernel: [drm:i915_hotplug_work_func] Connector DP-1 (pin 4) received hotplug event.
Jun 18 21:33:21 arsenic kernel: [drm:i915_hotplug_work_func] Connector HDMI-A-1 (pin 4) received hotplug event.
@major
major / -
Created July 1, 2015 04:40
xrandr --verbose
Screen 0: minimum 320 x 200, current 5120 x 1440, maximum 8192 x 8192
eDP1 connected primary 2560x1440+0+0 (0x48) normal (normal left inverted right x axis y axis) 310mm x 174mm
Identifier: 0x42
Timestamp: 3561809
Subpixel: unknown
Gamma: 1.1:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0 1 2
@major
major / -
Created July 1, 2015 04:47
xrandr --verbose at 4K
Screen 0: minimum 320 x 200, current 6400 x 2160, maximum 8192 x 8192
eDP1 connected primary 2560x1440+0+720 (0x48) normal (normal left inverted right x axis y axis) 310mm x 174mm
Identifier: 0x42
Timestamp: 3877729
Subpixel: unknown
Gamma: 1.1:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 1 0 2
@major
major / gist:d9a9fa14b9b7f053eadf
Created July 9, 2015 12:57
Alternative chains certificate forgery (CVE-2015-1793)
OpenSSL Security Advisory [9 Jul 2015]
=======================================
Alternative chains certificate forgery (CVE-2015-1793)
======================================================
Severity: High
During certificate verification, OpenSSL (starting from version 1.0.1n and
1.0.2b) will attempt to find an alternative certificate chain if the first
@major
major / 10_rackspace.cfg
Created July 24, 2015 20:50
Rackspace cloud-init configuration (drop in /etc/cloud/cloud.cfg.d)
datasource_list: [ ConfigDrive, None ]
disable_root: False
ssh_pwauth: True
ssh_deletekeys: False
resize_rootfs: noblock
growpart:
mode: auto
devices: ['/']
cloud_config_modules:
2015-08-26 00:22:19.002 | PLAY RECAP ********************************************************************
2015-08-26 00:22:19.002 | galera_server | Restart mysql ------------------------------------------ 56.32s
2015-08-26 00:22:19.002 | galera_client | Add galera repo(s) ------------------------------------- 14.45s
2015-08-26 00:22:19.002 | galera_server | Install galera packages -------------------------------- 13.76s
2015-08-26 00:22:19.002 | galera_client | Install galera packages --------------------------------- 7.28s
2015-08-26 00:22:19.002 | Wait for container ssh -------------------------------------------------- 5.29s
2015-08-26 00:22:19.002 | pip_install | Install PIP ----------------------------------------------- 3.98s
2015-08-26 00:22:19.003 | Galera extra lxc config ------------------------------------------------- 3.71s
2015-08-26 00:22:19.003 | galera_client | Install pip packages ------------------------------------ 3.11s
2015-08-26 00:22:19.003 | galera_client | Update apt sources --------
@major
major / gist:782f8e68fb99cbc1e06e
Created August 27, 2015 13:55
FST Tickets 2015-08-27
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Component β”‚ Tickets β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ cacti β”‚ 10 β”‚
β”‚ nagios β”‚ 9 β”‚
β”‚ moodle β”‚ 8 β”‚
β”‚ quassel β”‚ 7 β”‚
β”‚ qemu β”‚ 7 β”‚
β”‚ mingw-icu β”‚ 7 β”‚
β”‚ bugzilla β”‚ 7 β”‚