Skip to content

Instantly share code, notes, and snippets.

View SethDusek's full-sized avatar
🏠
Working from home

Kamal Ahmad SethDusek

🏠
Working from home
View GitHub Profile
==========
VULKANINFO
==========
Vulkan Instance Version: 1.3.250
Instance Extensions: count = 23
===============================
VK_EXT_acquire_drm_display : extension revision 1
use bitcoin::consensus::encode::serialize_hex;
use bitcoin::consensus::Decodable;
use bitcoin::Transaction;
use std::fs::File;
use std::io::prelude::*;
fn main() {
println!("Enter tx hex: ");
let mut l = String::new();
std::io::stdin().read_line(&mut l).unwrap();
let mut bytes = vec![];
[
{
"scanId": 186,
"scanName": "All Datapoints Scan",
"trackingRule": {
"predicate": "and",
"args": [
{
"predicate": "containsAsset",
"assetId": "6e5c5a93e24ba3bdcd2b510d8623a9c6e74efe7e0e6d20c114c47a19b299f57f"
use rand::seq::SliceRandom;
fn main() {
let mut rng = rand::thread_rng();
let names = ["R0flcopt3r", "skg", "RadiantBastard", "sham1"];
println!("{} has won! Please download the Yoroi Wallet to receive your 0.2 Ergo", names.choose(&mut rng).unwrap());
}
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="utf-8"?>
<savegame>
<meta>
<gameVersion>1.2.2900 rev837</gameVersion>
<modIds>
<li>brrainz.harmony</li>
<li>ludeon.rimworld</li>
<li>ludeon.rimworld.royalty</li>
<li>majorhoff.rimthreaded</li>
<li>unlimitedhugs.hugslib</li>
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="utf-8"?>
<savegame>
<meta>
<gameVersion>1.2.2900 rev837</gameVersion>
<modIds>
<li>brrainz.harmony</li>
<li>ludeon.rimworld</li>
<li>ludeon.rimworld.royalty</li>
<li>majorhoff.rimthreaded</li>
</modIds>
;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
;; Place your private configuration here! Remember, you do not need to run 'doom
;; refresh' after modifying this file!
;; Some functionality uses this to identify you, e.g. GPG configuration, email
;; clients, file templates and snippets.
(setq user-full-name "Kamal Ahmad"
user-mail-address "[REMOVED]")
diff --git a/rivalcfg/__main__.py b/rivalcfg/__main__.py
index 9427a8c..b2f9897 100644
--- a/rivalcfg/__main__.py
+++ b/rivalcfg/__main__.py
@@ -32,7 +32,7 @@ def _check_linux():
print("\n Run 'rivalcfg --update-udev' as root to update.\n")
-def main(args):
+def main():
struct Foo {
x: i32,
}
fn main() {
let mut foo = Foo { x: 42 };
let x = &mut foo.x;
*x = 13;
let y = foo;
println!("{}", y.x); // -> 42; expected result: 13
diff --git a/src/d3d11/d3d11_device.cpp b/src/d3d11/d3d11_device.cpp
index 13db3b60..9735a8cb 100644
--- a/src/d3d11/d3d11_device.cpp
+++ b/src/d3d11/d3d11_device.cpp
@@ -428,7 +428,7 @@ namespace dxvk {
try {
auto uav = new D3D11UnorderedAccessView(this, pResource, &desc);
- m_initializer->InitUavCounter(uav);
+ //m_initializer->InitUavCounter(uav);