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/env ruby | |
require 'pathname' | |
require 'open3' | |
require 'nokogiri' | |
require 'ostruct' | |
require 'shellwords' | |
require 'timeout' | |
VM_NAME = 'WindowsVM' |
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/ruby | |
require 'faraday' | |
url = 'http://domain/somefile.tar' | |
conn = Faraday.new | |
header_response = conn.head(url) | |
total_size = header_response.env[:response_headers]["content-length"].to_i |
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/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig | |
index 8ea45a5..de3c96e 100644 | |
--- a/drivers/video/fbdev/Kconfig | |
+++ b/drivers/video/fbdev/Kconfig | |
@@ -760,7 +760,7 @@ config FB_VESA | |
read <file:Documentation/fb/vesafb.txt>. If unsure, say Y. | |
config FB_EFI | |
- bool "EFI-based Framebuffer Support" | |
+ tristate "EFI-based Framebuffer Support" |
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/test/test_daylight_savings.rb b/test/test_daylight_savings.rb | |
index d6f303f..3dfdc26 100644 | |
--- a/test/test_daylight_savings.rb | |
+++ b/test/test_daylight_savings.rb | |
@@ -9,110 +9,91 @@ class TestDaylightSavings < TestCase | |
def test_begin_past | |
# ambiguous - resolve to last night | |
- t = Chronic::RepeaterTime.new('900') | |
- t.start = @begin_daylight_savings |
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
0000000000400000 12K r-x-- vlc | |
0000000000602000 4K r---- vlc | |
0000000000603000 4K rw--- vlc | |
00000000017ed000 1720K rw--- [ anon ] | |
00007efcfff12000 3048K rw-s- [ shmid=0x3a18020 ] | |
00007efd00212000 44K r-x-- libnss_files-2.22.so | |
00007efd0021d000 2044K ----- libnss_files-2.22.so | |
00007efd0041c000 4K r---- libnss_files-2.22.so | |
00007efd0041d000 4K rw--- libnss_files-2.22.so | |
00007efd0041e000 24K rw--- [ anon ] |
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
execve("/usr/sbin/vlc", ["vlc"], [/* 21 vars */]) = 0 | |
brk(0) = 0x246d000 | |
open("/usr/lib/tls/x86_64/libdlfaker.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/usr/lib/tls/x86_64", 0x7ffd43baaca0) = -1 ENOENT (No such file or directory) | |
open("/usr/lib/tls/libdlfaker.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/usr/lib/tls", 0x7ffd43baaca0) = -1 ENOENT (No such file or directory) | |
open("/usr/lib/x86_64/libdlfaker.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
stat("/usr/lib/x86_64", 0x7ffd43baaca0) = -1 ENOENT (No such file or directory) | |
open("/usr/lib/libdlfaker.so", O_RDONLY|O_CLOEXEC) = 3 | |
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\7\0\0\0\0\0\0"..., 832) = 832 |
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
[Unit] | |
Description=Nvidia Switch | |
DefaultDependencies=no | |
After=plymouth-quit.service plymouth-quit-wait.service | |
Before=display-manager.service | |
[Service] | |
ExecStart=/bin/switch-modules.sh nvidia | |
Type=oneshot | |
KillMode=none |
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/sh | |
unbind_vtconsoles() | |
{ | |
for ((i = 0; i < 16; i++)) | |
do | |
if [ -d "/sys/class/vtconsole/vtcon$i" ]; then | |
if [ `cat /sys/class/vtconsole/vtcon$i/name | grep -c "frame buffer"` -eq 1 ]; then | |
while [ `cat /sys/class/vtconsole/vtcon$i/bind` -ne 0 ]; do |
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
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -13,21 +13,21 @@ source=('attica::git+git://anongit.kde.org/attica') | |
md5sums=('SKIP') | |
pkgver() { | |
- cd ${srcdir}/attica | |
+ cd "${srcdir}/attica" | |
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" | |
} |
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
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -33,25 +33,25 @@ build() { | |
package() { | |
cd "$srcdir/$_gitname" | |
- mkdir -p $pkgdir/etc/xdg/pacaur | |
- install -D -m644 ./config $pkgdir/etc/xdg/pacaur/config | |
- mkdir -p $pkgdir/usr/bin | |
- install -D -m755 ./pacaur $pkgdir/usr/bin/pacaur |