Skip to content

Instantly share code, notes, and snippets.

View bonkmaykrQ's full-sized avatar
🕗
https://canithesis.org/product/timef

bonkmaykr bonkmaykrQ

🕗
https://canithesis.org/product/timef
View GitHub Profile
@mistycheney
mistycheney / batch_convert
Created October 12, 2017 23:05
batch convert imagej plugin
// Batch Convert
//
// This macro convert all the files in a folder to TIFF, 8-bit TIFF,
// JPEG, GIF, PNG, PGM, BMP, FITS, Text Image, ZIP or Raw
// format. Three dialog boxes are displayed. Select the source
// folder in the first, the format in the second and the destination
// folder in the third. Batch_Converter, a similar plugin is at
// http://rsb.info.nih.gov/ij/plugins/batch-converter.html
// https://imagej.nih.gov/ij/plugins/batch-converter.html
@MaxXor
MaxXor / gpu-passthrough.md
Created October 29, 2017 14:47
Arch GPU Passthrough Summary

Arch Linux GPU-Passthrough

A quick guide on how to setup a GPU-Passthorugh. Below are some of my Resources

The Arch Wiki is the goto place for additional information and performance tweaks like CPU-Pinning.

Requirements

  • IGPU or second dedicated GPU for Host system (unless you want to go the hard way and use one GPU for HOST and GUEST)
@fullpipe
fullpipe / calc.sh
Last active January 26, 2025 21:09
Calculate size of a source code base
#!/bin/bash
#
# Copyright 2016-2017 by Chris Niswander.
#
# Example script calculates the total size (in bytes) of the files
# having (a) specified type(s)/extension(s),
# in the directory tree specified by command line argument.
#
# See also: http://bitboost.com/python-obfuscator/articles_and_resources/how-to-calculate-the-total-size-length-of-your-code-or-codebase-in-bytes-fixing-inaccuracies-problems-in-du--an-easy-way
#
@fanjin-z
fanjin-z / csgo-server-guide.md
Last active June 3, 2025 21:01
Complete Guide for Hosting CS:GO Dedicated Servers

Complete Guide for Hosting a CS:GO Dedicated Server

Creative Commons License.

I tested the setup on Debian Stretch (naive installation) and Jessie (LinuxGSM installation). The setup should work on Debian 8 (Jessie), Debian 9 (Stretch) and Ubuntu (16.04). However, If you're running on Windows or other non-debian based Linux OS (e.g. CentOS, openSUSE), this guide doesn't apply to you.

My Servers:

I'm hosting FFA warm-up and HvH(soon) servers in San Francisco, welcome to join by:

IPv4: 159.89.154.137   
Ipv6: 2604:a880:2:d0::20ad:2001 
@denizssch
denizssch / XpSerials.txt
Created July 21, 2019 00:13
Windows XP ALL Serial Keys :) (For testing purpose [Ex: VM or PenTest])
FCKGW-RHQQ2-YXRKT-8TG6W-2B7Q8
Windows XP PRO Corporate serial number S/N: Key: MQPWW-PGVKX-YPMKG-8DH3G-KC8PW
windows xp home edition serial number S/N: 034634-262024-171505-828316-729010-413531-800424-400442
Windows XP 64 serial number S/N: B2RBK-7KPT9-4JP6X-QQFWM-PJD6G
Windows XP serial number S/N: K6C2K-KY62K-DQR84-RD4QV-QB74Q
Windows XP Professional 64-bit Corporate Edition 5.2.3790.1830 serial number S/N: VCFQD-V9FX9-46WVH-K3CD4-4J3JM
Microsoft Windows XP Professional SP2 serial number S/N: YY8F2-3CKVQ-RKTRG-6JMDR-9DTG6
Windows XP Professional Service Pack 1 sp1 serial number S/N: F46YY - 2R8VQ - R8GMY - 926VK - 6BQ73
Windows XP Pro serial number S/N: KBWR7-76BD8-J7MDQ-KKG&C-V9Q2J
@BillFleming
BillFleming / renameWMV.sh
Created December 1, 2019 23:48
Scripts to rename ".wmv" files in a game's subdirectories.
#!/bin/bash
# Rename ".wmv" files in all subdirectories to "_.wmv"
find . -name '*.wmv' -exec sh -c 'mv "$0" "${0%.wmv}_.wmv"' {} \; -exec echo {} \;
@Hans5958
Hans5958 / Vaporeon response.md
Last active December 22, 2024 10:04
Response to the Vaporeon copypasta

Original

Earliest known instance: https://www.reddit.com/r/sbubby/comments/d8buja/please/f1a4t74?context=3

Well well well. It appears [insert user who used the copypasta] is a fellow vappy fucc connoisseur. However screw the female version. You get those same ol two holes in literally everything else. the MALE vappy is the real star of the show. Those long slippery diccs they have full mobility control with like a tentacle are the perfect ass filler for the ultimate in deep reaching experience nothing else could possibly provide. Naturally lubed at all times due to their aquatic hydrodynamic nature, you can pull off anywhere to the side of the road, or go into a public restroom at the beach, get each other aroused, and have the fucc of a lifetime. The extraordinary squishyness of the vappy alone rubbing against you would be enough to lose yourself in pleasure as it simply mounts you. Let alone with that perfect tool of pleasure slips into you. Its ability to snake around your bends and its perfect le

@nonarkitten
nonarkitten / amiga_gcc_tips.md
Last active June 21, 2025 23:18
Amiga GCC Tips

This is a work-in-progress note pad of all the things I've found about gcc to make the best code possible.

Do not use ixemul

Ever.

Generally, most other PC libraries are okay, including SDL and OpenGL, but ixemul will take awesome performing code and make it run like it's walking through a tar pit -- especially on any stdio file operations. When porting "small and dirty" POSIX applications where performance does not matter, then who cares, use ixemul. For everything else, don't. Don't even use libnix. Try as much as possible to use AmigaOS native functions like AllocVec over C standard functions like malloc.

Using register parameters

@jackyyang09
jackyyang09 / TF2PaintedShader.shader
Last active October 21, 2022 17:34
TF2 shader for Unity that also "paints" hats by blending tint colors to a texture's alpha channel. Alternative version of an existing TF2 shading implementation
// Alternative version of an existing TF2 shading implementation that applies tints to a texture's alpha channel
// Allows for adding "paint" to hats that support the feature
// $blendtintbybasealpha is always assumed to be 1 for performance purposes. Do use the original shader for unpainted items
// Original: https://forum.unity.com/threads/team-fortress-2-toon-shader-in-unity-free-version.93194/
Shader "Toon/Team Fortress 2 - Painted" {
Properties{
_Paint("Paint", Color) = (1, 1, 1, 1)
_RimColor("Rim Color", Color) = (0.97,0.88,1,0.75)
_RimPower("Rim Power", Float) = 2.5
_MainTex("Diffuse (RGB) Alpha (A)", 2D) = "white" {}