Skip to content

Instantly share code, notes, and snippets.

View DrJosh9000's full-sized avatar
🧟
braaaaaaainnsssss

Josh Deprez DrJosh9000

🧟
braaaaaaainnsssss
View GitHub Profile
@hroi
hroi / fish_jj_prompt.fish
Last active November 14, 2024 16:58
Jujutsu (jj) prompt for fish-shell
# Place me in ~/.config/fish/functions
# Then add me to `fish_vcs_prompt`: `funced fish_vcs_prompt`
function fish_jj_prompt --description 'Write out the jj prompt'
# Is jj installed?
if not command -sq jj
return 1
end
# Are we in a jj repo?
@mithro
mithro / digilent_arty.cfg
Created October 15, 2017 10:57
Digilent Arty config for OpenOCD.
#
# Digilent Arty with Xilinx Artix-7 FPGA
#
# http://store.digilentinc.com/arty-artix-7-fpga-development-board-for-makers-and-hobbyists/
#
# iManufacturer 1 Digilent
# iProduct 2 Digilent USB Device
# iSerial 3 210319A28C7F
@Keenuts
Keenuts / readme.md
Last active July 17, 2024 08:19
GSoC 2017 | Virgl Windows Driver

GSOC 2017 | Virgl Windows Driver

Project links

The project is split into several parts:

  • The kernel driver, with simple 3D command forwarding and 3D resource allocation
  • The userland driver, in fact the OpenGL backend
  • The reference, explaining virtio-gpu commands

https://github.com/Keenuts/virtio-gpu-win-icd \

@kavu
kavu / example.go
Created September 28, 2013 10:01
Minimal Golang + Cocoa application using CGO. Build with `CC=clang go build`
package main
/*
#cgo CFLAGS: -x objective-c
#cgo LDFLAGS: -framework Cocoa
#import <Cocoa/Cocoa.h>
int
StartApp(void) {
[NSAutoreleasePool new];