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 'rspec/core' | |
| RSpec::Core::Runner.run ARGV.drop_while { _1 != '--' }.drop(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
| 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(): |
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
| 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" |
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
| 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 |
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
| 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" | |
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
| 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 |
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
| module ToUTF16LEBom | |
| BOM = "\uFEFF".encode('UTF-16LE') | |
| refine String do | |
| def to_utf16le_bom | |
| encode('UTF-16LE').prepend(BOM) | |
| end | |
| end | |
| end |
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
| some_block_begin | |
| let var1, | |
| var2; | |
| some_block_end |
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
| %foo | |
| %bar= i |
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
| _ = (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