Skip to content

Instantly share code, notes, and snippets.

@uson1x
uson1x / VCMI_Client_log.txt
Created February 11, 2026 08:11
VCMI macOS arm64 runNetwork crash logs (stable + develop, 2026-02-11)
This file has been truncated, but you can view the full file.
[2026-Feb-11 11:03:47.018186] INFO global [MainGUI] - Starting client of 'VCMI 1.8.0.39817d16204ea592d5d6ddfa04ee206bff5c89c1'
[2026-Feb-11 11:03:47.018852] INFO global [MainGUI] - Creating console and configuring logger: 0 ms
[2026-Feb-11 11:03:47.018876] INFO global [MainGUI] - The log file will be saved to "/Users/ivanparfenchuk/Library/Logs/vcmi/VCMI_Client_log.txt"
[2026-Feb-11 11:03:47.018973] TRACE global [MainGUI] - File system loaded, 0 files found
[2026-Feb-11 11:03:47.019048] TRACE global [MainGUI] - File system loaded, 4 files found
[2026-Feb-11 11:03:47.019757] TRACE global [MainGUI] - File system loaded, 44 files found
[2026-Feb-11 11:03:47.020000] TRACE global [MainGUI] - File system loaded, 5 files found
[2026-Feb-11 11:03:47.020285] TRACE global [MainGUI] - File system loaded, 41 files found
[2026-Feb-11 11:03:47.020434] TRACE global [MainGUI] - File system loaded, 4 files found
@uson1x
uson1x / csgo.cfg
Created September 26, 2018 13:36
CS:GO Config file
cl_crosshair_drawoutline "1"
cl_crosshair_dynamic_maxdist_splitratio "0.0"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.300000"
cl_crosshair_dynamic_splitdist "5"
cl_crosshair_outlinethickness "1"
cl_crosshair_sniper_show_normal_inaccuracy "0"
cl_crosshair_sniper_width "1"
cl_crosshair_t "0"
cl_crosshairalpha "200"
body { background: #222; color: #e6e6e6; }
a { color: #949494; }
a:link, a:visited { color: #949494; }
a:hover, a:active, a:focus { color: #c7c7c7; }
hr { border-bottom: 1px solid #424242; border-top: 1px solid #222; }

Port Forwarding in Mavericks


Since Mavericks stopped using the deprecated ipfw (as of Mountain Lion), we'll be using pf to allow port forwarding.

####1. anchor file Create an anchor file under /etc/pf.anchors/<anchor file> with your redirection rule like:

@uson1x
uson1x / hack.sh
Last active July 30, 2025 10:52 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2275613/hack.sh | sh
#
//
// UACellBackgroundView.h
// Ambiance
//
// Created by Matt Coneybeare on 1/31/10.
// Copyright 2010 Urban Apps LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
//
// UACellBackgroundView.m
// Ambiance
//
// Created by Matt Coneybeare on 1/31/10.
// Copyright 2010 Urban Apps LLC. All rights reserved.
//
#define TABLE_CELL_BACKGROUND { 1, 1, 1, 1, 0.866, 0.866, 0.866, 1} // #FFFFFF and #DDDDDD
#define kDefaultMargin 10