This file contains hidden or 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
body, | |
body.system-font { | |
font-family: sans-serif; | |
} | |
.column { | |
flex-grow: 1; | |
} | |
.status__content { |
This file contains hidden or 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/env ruby | |
require "fileutils" | |
require "nokogiri" | |
class Timestamp | |
def self.parse(raw) | |
return nil unless raw.match?(/\A\d\d:\d\d:\d\d.\d+\z/) | |
hours, minutes, seconds = raw.split ":" | |
ts = 0r |
This file contains hidden or 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/env ruby | |
require "fileutils" | |
require "highline" | |
# Characters illegal in most filenames | |
ILLEGAL_CHARS = %w[< > : " / \\ | * ?] | |
cli = HighLine.new |
This file contains hidden or 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
@keyframes lol { | |
0% { | |
opacity: 0; | |
transform: rotate(-1440deg) scale(0); | |
} | |
100% { | |
opacity: 1; | |
transform: rotate(0deg) scale(1); | |
} |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8" ?> | |
<Root> | |
<KeyboardLayout>de-DE</KeyboardLayout> | |
<MouseXMode Value="Bindings_MouseRoll" /> | |
<MouseXDecay Value="0" /> | |
<MouseYMode Value="Bindings_MousePitch" /> | |
<MouseYDecay Value="0" /> | |
<MouseReset> | |
<Primary Device="{NoDevice}" Key="" /> | |
<Secondary Device="{NoDevice}" Key="" /> |
This file contains hidden or 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
@-moz-document domain("github.com") { | |
body, | |
.markdown-body, | |
.default-label .sha .ellipses, | |
.tooltipped::after { | |
font-family: sans-serif; | |
} | |
pre, | |
code, |
This file contains hidden or 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
@-moz-document domain("github.com") { | |
body, | |
.markdown-body, | |
.default-label .sha .ellipses, | |
.tooltipped::after { | |
font-family: sans-serif; | |
} | |
pre, | |
code, |
This file contains hidden or 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
require "nokogiri" | |
RSpec::Matchers.define :have_elements_matching do |selector| | |
match do |view| | |
Nokogiri::HTML(view).match(selector).any? | |
end | |
end | |
RSpec::Matchers.define :have_one_element_matching do |selector| | |
match do |view| |
This file contains hidden or 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
# Usage: | |
# Bitmask[:list, :of, :option, :keys, value] | |
# where the last key in the list will be represented by the least significant | |
# bit in value. | |
# | |
# Example: | |
# Bitmask[:optionA, nil, :optionB, :optionC, 0b1010] | |
# #=> {:optionA=>true, :optionB=>true, :optionC=>false} | |
# Use nils to indicate bits that do not have a meaning. | |
class Bitmask |
This file contains hidden or 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
[378849.675552] usb 2-1: new high-speed USB device number 9 using ehci-pci | |
[378851.392233] usb 2-1: new high-speed USB device number 10 using ehci-pci | |
[378852.849039] usb_storage: disagrees about version of symbol kmem_cache_alloc_trace | |
[378852.849042] usb_storage: Unknown symbol kmem_cache_alloc_trace (err -22) | |
[378852.849059] usb_storage: disagrees about version of symbol wake_up_process | |
[378852.849060] usb_storage: Unknown symbol wake_up_process (err -22) | |
[378852.849360] usb_storage: disagrees about version of symbol kmalloc_caches | |
[378852.849361] usb_storage: Unknown symbol kmalloc_caches (err -22) | |
[378852.867154] usb_storage: disagrees about version of symbol kmem_cache_alloc_trace | |
[378852.867156] usb_storage: Unknown symbol kmem_cache_alloc_trace (err -22) |
NewerOlder