Skip to content

Instantly share code, notes, and snippets.

View teknoman117's full-sized avatar

Nathan Lewis teknoman117

View GitHub Profile
@adamsau
adamsau / cvat.conf.template
Last active May 16, 2024 04:45
computer vision annotation tool (CVAT) nginx docker-compose yml (release-2.1)
server {
listen 80;
server_name _ default;
return 404;
}
server {
listen 80;
server_name ${CVAT_HOST};
@swyngaard
swyngaard / readme
Last active June 26, 2024 17:10
FFMPEG record desktop at 60 frames per second
Install ffmpeg or libav-tools.
Change -video_size to match your desktop resolution.
Record your desktop by executing the script:
./record.sh
Record without audio as follows:
./record_no_audio.sh
@graphitemaster
graphitemaster / T0.md
Last active May 6, 2024 10:18
Vulkan Tutorial

Tutorial 0

What is Vulkan

Vulkan is a low-overhead, cross-platform 3D graphics and compute API.

Vulkan targets

Vulkan targets high-performance realtime 3D graphics applications such as games and interactive media across multiple platforms providing higher performance and lower CPU usage.

KVM OSX Guest 10.11 (El Capitan) with Clover

  • Some notes about this approach:
    • An OSX Installer USB drive for Install OS X El Capitan is created
    • Clover is then installed on the USB drive
    • Clover Configurator is then run on the USB drive
    • The USB drive contents are copied to the VM host
    • VNC is used to connect to the guest UI
  • The qxl virtual video device is used (part of the standard kvm qemu install)
@tsolar
tsolar / laravel-subdirectory.conf
Last active February 27, 2024 03:36
Laravel in subdirectory nginx example
server {
client_body_in_file_only clean;
client_body_buffer_size 32K;
client_max_body_size 300M;
sendfile on;
send_timeout 300s;
# Port that the web server will listen on.
#listen 80;
@piinecone
piinecone / repack_ue4_ipas_for_dist.sh
Created July 2, 2014 18:28
Unpack, resign, and repack IPA's generated with Unreal Engine 4
#!/bin/bash
# USAGE
# 1. name this file something like `distbuild`, make it executable (chmod +x), and put it in your PATH
# 2. run it and pass it the name of your project, eg `distbuild MySweetGame`
TIMESTAMP=$(date +"%m%d%y") # eg, 070214
CERT_NAME="iPhone Distribution: Your Certificate's Name (And Identifier)"
# where you want your builds to go
@mnshankar
mnshankar / nginx.conf
Last active March 16, 2023 11:17
Nginix config for hosting multiple laravel projects in sibling folders.
server {
listen 80;
root /vagrant;
index index.html index.htm index.php app.php app_dev.php;
# Make site accessible from http://set-ip-address.xip.io
server_name 192.168.33.10.xip.io;
access_log /var/log/nginx/vagrant.com-access.log;
error_log /var/log/nginx/vagrant.com-error.log error;
@vsergeev
vsergeev / beagle_elfs.md
Created April 15, 2012 09:45
Minimalist "Embedded Linux from Scratch" Beaglebone Distribution Build

Busybox "Embedded Linux from Scratch" Distribution for the Beaglebone

Prepare your Build Sandbox

$ mkdir -p beaglelfs/{sources,rootfs_install,boot_mnt,rootfs_mnt}

Acquire an ARM Toolchain

Download the latest i686 Binary TAR of the ARM GNU/Linux (glibc-based) Lite Toolchain: