View spec-runner.rb
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
require 'rspec/core' | |
RSpec::Core::Runner.run ARGV.drop_while { _1 != '--' }.drop(1) |
View machine-id-default.patch
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/ecleankernel/layout/blspec.py b/ecleankernel/layout/blspec.py | |
index 7dcfdab..9b42c7b 100644 | |
--- a/ecleankernel/layout/blspec.py | |
+++ b/ecleankernel/layout/blspec.py | |
@@ -46,6 +46,9 @@ class BlSpecLayout(ModuleDirLayout): | |
self.bootdir = root / d / machine_id | |
if self.bootdir.is_dir(): | |
return | |
+ self.bootdir = root / d / 'Default' | |
+ if self.bootdir.is_dir(): |
View 99-oneshot-modifier.rules
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
ACTION=="add", ENV{ID_INPUT_KEYBOARD}=="1", ENV{DEVPATH}!="/devices/virtual/input/*", TAG+="systemd", ENV{SYSTEMD_ALIAS}+="/sys/devices/virtual/input/%k", RUN+="/bin/systemctl --no-block start oneshot-modifier@%k.service" |
View world
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
app-admin/ansible | |
app-admin/eclean-kernel | |
app-admin/pwgen | |
app-admin/rcm | |
app-admin/sudo | |
app-editors/gedit | |
app-editors/vim | |
app-emulation/docker | |
app-emulation/docker-compose | |
app-emulation/libvirt |
View docker-config.patch
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/Kconfig b/Kconfig | |
index dd77615..a9b2380 100644 | |
--- a/Kconfig | |
+++ b/Kconfig | |
@@ -9,5 +9,6 @@ config SRCARCH | |
option env="SRCARCH" | |
source "distro/Kconfig" | |
+source "Kconfig.custom" | |
View len0073.patch
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/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c | |
index 16c3046..ca912ce 100644 | |
--- a/drivers/input/mouse/synaptics.c | |
+++ b/drivers/input/mouse/synaptics.c | |
@@ -173,6 +173,7 @@ static const char * const smbus_pnp_ids[] = { | |
"LEN0046", /* X250 */ | |
"LEN004a", /* W541 */ | |
"LEN200f", /* T450s */ | |
+ "LEN0073", /* X1 Carbon 5 (Elantech) */ | |
NULL |
View to_utf16_le_bom.rb
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
module ToUTF16LEBom | |
BOM = "\uFEFF".encode('UTF-16LE') | |
refine String do | |
def to_utf16le_bom | |
encode('UTF-16LE').prepend(BOM) | |
end | |
end | |
end |
View gist:64511ae77c89c52627d14c9f68a1bf8f
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
some_block_begin | |
let var1, | |
var2; | |
some_block_end |
View _partial.haml
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
%foo | |
%bar= i |
View map.rb
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..1000000).to_a.map {|i| i * 2 } | |
# _ = (0..1000000).to_a.map! {|i| i * 2 } | |
puts File.read("/proc/#{Process.pid}/status").lines.grep(/^VmHWM:/) | |
# map => VmHWM: 25408 kB | |
# map! => VmHWM: 17544 kB |
NewerOlder