Skip to content

Instantly share code, notes, and snippets.

@peppergrayxyz
peppergrayxyz / qemu-vulkan-virtio.md
Created December 11, 2024 18:11
QEMU with VirtIO GPU Vulkan Support

QEMU with VirtIO GPU Vulkan Support

With its latest reales qemu added the Venus patches so that virtio-gpu now support venus encapsulation for vulkan. This is one more piece to the puzzle towards full Vulkan support.

An outdated blog post on clollabora described in 2021 how to enable 3D acceleration of Vulkan applications in QEMU through the Venus experimental Vulkan driver for VirtIO-GPU with a local development environment. Following up on the outdated write up, this is how its done today.

Definitions

Let's start with the brief description of the projects mentioned in the post & extend them:

@Geoff-Ford
Geoff-Ford / composing-software.md
Last active December 12, 2024 20:01
Eric Elliott's Composing Software Series

Eric Elliott's "Composing Software" Series

A collection of links to the excellent "Composing Software" series of medium stories by Eric Elliott.

Edit: I see that each post in the series now has index, previous and next links. However, they don't follow a linear flow through all the articles with some pointing back to previous posts effectively locking you in a loop.

As you may know, there have been a lot of major changes from 1.20.2, to 1.20.5/6 and 1.21; which resulted in some power/action/condition/data types that cannot be re-implemented. This is due to the work-arounds being either too unreliable/too hacky, too much of a pain to maintain in the long run, or just outright impossible to do, therefore, we've decided to remove and re-structure stuff to accommodate for the changes.

(Make sure to check this list for updates, I'll be updating this frequently throughout the development of the 1.21 port!)

  • alpha 5

    Removals

@0xjac
0xjac / private_fork.md
Last active December 12, 2024 19:59
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@ryankennedy
ryankennedy / 00_README.md
Last active December 12, 2024 19:57
How to macOS sandbox a Go application

Sandboxing a Go program in macOS

This sample Go file shows how to use sandbox_init on macOS (now deprecated, but it still works) to prevent a Go application from accessing the network beyond localhost.

@agtbaskara
agtbaskara / tilix_ubuntu_guide.md
Last active December 12, 2024 19:57
Installation Guide for Tilix on Ubuntu

Install Tilix on Ubuntu 20.04

Install Tilix

sudo apt-get install tilix

Fix Tilix VTE

sudo ln -s /etc/profile.d/vte-2.91.sh /etc/profile.d/vte.sh
sudo chmod +x /etc/profile.d/vte.sh
@TheDanishDynamo
TheDanishDynamo / README.md
Last active December 12, 2024 19:56
Alpine on Ubuntu notes

open terminal in Ubuntu
Note: I'm using Ubuntu 18

create any working folder somewhere, and cd to that folder, e.g. abc

mkdir abc && cd abc

intialize a git local git repo for source tracking (use at own discretion)

@22011990-AAP
22011990-AAP / КАЛЕНДАРЬ
Created December 12, 2024 19:55
КАЛЕНДАРЬ
print("\t\t Грудень 2024\t\n Пн\tВт\tСр\tЧт\tПт\tСб\tВс")
print("\t\t\t\t\t\t1")
print("2\t3\t4\t5\t6\t7\t8")
print("9\t10\t11\t12\t13\t14\t15")
print("16\t17\t18\t19\t20\t21\t22")
print("23\t24\t25\t26\t27\t28\t29")
print("30\t31")
@ajeetkumarrauniyar
ajeetkumarrauniyar / Array CheatSheet.md
Last active December 12, 2024 19:49
Cheat sheet of Array methods in JavaScript

Array Methods Cheat Sheet

1. push()

  • Definition: Adds one or more elements to the end of an array and returns the new length of the array.
  • Syntax: array.push(element1[, ...[, elementN]])
  • Example:
    let arr = [1, 2, 3];
    arr.push(4, 5);

console.log(arr); // Output: [1, 2, 3, 4, 5]

@djibe
djibe / windows11-24H2-tpm-secureboot.md
Last active December 12, 2024 19:49
Install Windows 11 24H2 without TPM and Secure Boot requirements

Install Windows 11 24H2 without TPM and Secure Boot requirements

  1. Create a Windows 11 ISO with Microsoft's Media Creation Tool
  2. Install Setup Patchium and run it
  3. Home tab: Select ISO, wait during processing
  4. Go to Install > Uncheck Remove upgrade and Check Disable Windows 11 compatibility restrictions, click Apply
  5. Optional: To install without a Microsoft account, go to Install OOBE tab. Click Integrate lumOOBE
  6. Click on Create ISO button
  7. Use Rufus or Ventoy (prefered) to run installation from a USB drive