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
.PHONY: run-old | |
run-old: out/old | |
$< | |
.PHONY: run-new | |
run-new: out/new | |
$< | |
.PHONY: clean | |
clean: |
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
Section "Files" | |
ModulePath "/usr/lib/xorg/modules" | |
ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg" | |
EndSection | |
Section "ServerLayout" | |
Identifier "layout" | |
Screen 0 "iGPU" | |
Option "AllowNvidiaGpuScreens" | |
EndSection |
This file has been truncated, but you can view the full file.
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
====================== | |
Proton: 1584918606 proton-5.0-5b | |
SteamGameId: 976730 | |
Command: ['/data/SteamLibrary/steamapps/common/Halo The Master Chief Collection/MCC/Binaries/Win64/MCC-Win64-Shipping.exe'] | |
Options: {'nofsync', 'forcelgadd', 'noesync'} | |
====================== | |
ERROR: ld.so: object '/home/stephen/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. | |
ERROR: ld.so: object '/home/stephen/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. | |
ERROR: ld.so: object '/home/stephen/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. | |
ERROR: ld.so: object '/home/stephen/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. |
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
#![feature(specialization)] | |
const fn type_eq<T: ?Sized, U: ?Sized>() -> bool { | |
trait Bool { | |
const VALUE: bool; | |
} | |
struct True; | |
impl Bool for True { |
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
use std::{any::TypeId, mem}; | |
/// A trait for zero-cost type casting in generic contexts to allow limited | |
/// forms of specialization at runtime. | |
/// | |
/// Similar to [`std::any::Any`], but does not require trait objects nor heap | |
/// allocation. Because of this, in most situations transmogrification will be | |
/// completely optimized away by the compiler, giving you effectively the same | |
/// performance as actual specialization. | |
pub trait Transmogrify: 'static { |
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/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c | |
index d8a0bcd02..11468bcf3 100644 | |
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c | |
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c | |
@@ -42,7 +42,7 @@ static const struct drm_dmi_panel_orientation_data asus_t100ha = { | |
.orientation = DRM_MODE_PANEL_ORIENTATION_LEFT_UP, | |
}; | |
-static const struct drm_dmi_panel_orientation_data gpd_micropc = { | |
+static const struct drm_dmi_panel_orientation_data gpd_micropc_preproduction = { |
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
/* ==UserStyle== | |
@name Hide ads on specific sites | |
@namespace github.com/sagebind | |
@version 0.1.0 | |
==/UserStyle== */ | |
@-moz-document domain("www.deviantart.com") { | |
.da-custom-ad-box, .da-ad-high-impact { | |
display: none !important; | |
} |
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
/** | |
* Standalone function used to continuously watch the property of an object for changes. | |
* | |
* The function is as optimized as possible to reduce needless timeout and interval callbacks, but this should still be | |
* used sparingly and only when events are not possible. | |
* | |
* Usage: | |
* var item = watch(someObject, "propertyName", function(oldValue, newValue, cancel) { | |
* // Handle the change here. | |
* // Optionally cancel watching. |
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
pub trait CodeValue: Sized { | |
fn value(&self) -> &str; | |
fn from_value(value: &str) -> Option<Self>; | |
} | |
macro_rules! code_value_enum { | |
( | |
$NAME:ident { |
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 sh | |
export WINEPREFIX="$HOME/.wine" | |
cd "$HOME/.wine/drive_c/Program Files (x86)/Microsoft Games/Halo" | |
optirun wine "$PWD/halo.exe" -vidmode 1920,1080,60 |
NewerOlder