Skip to content

Instantly share code, notes, and snippets.

View tom4897's full-sized avatar

Tom_48_97 ☠ tom4897

View GitHub Profile
@tom4897
tom4897 / post_install.sh
Created July 4, 2024 10:48
Post Install Scripts for Ubuntu (Jammy)
#!/bin/bash
@tom4897
tom4897 / CfgDebriefing.hpp
Created August 18, 2019 15:55
Missing Config; If you intend to use these files, just don't :)
class CfgDebriefing
{
class achievement
{
title = "Mission Completed";
subtitle = "";
description = "";
pictureBackground = "data\overview\overview_co.paa";
picture = "flag_UK";
pictureColor[] = {1,1,1,1};
@tom4897
tom4897 / basicDefines.hpp
Last active August 18, 2019 15:02
Respawn
#define SUPERTRUE 2
#define CT_STATIC 0
#define CT_BUTTON 1
#define CT_EDIT 2
#define CT_SLIDER 3
#define CT_COMBO 4
#define CT_LISTBOX 5
#define CT_TOOLBOX 6
#define CT_CHECKBOXES 7
#define CT_PROGRESS 8
:::::::::::::::::::::::::::::::::::::::::
:: file: DevP.bat
:: ======
:: Author: Tom_48_97
:: © 2014 Bohemia Interactive a.s.
:: Description: Creating of P: drive with content required for Buldozer for Arma 3
:: Note:
:: uses batch file from Tom_48_97 (twitter: @tom_48_97) to get correct admin rights for the creation of P: drive
:: Valve encourages the setup programs to be silent that is why echo is off all the time
:: By default, devP will use default registry entries but you can define your own paths to use in settings.ini
@echo off
l:
cd "l:\Poseidon Tools\dev\pe\internal\"
tm4_indenter.exe -silent -nobackup "C:\Users\Tom_48_97\Desktop\t.sqf"
@echo off
set Arma3CommunityToolsPath="L:\Arma3CommunityTools\"
L:
cd %Arma3CommunityToolsPath%
AddonBuilder.exe -help
pause
External Viewer = P:\buldozer.exe -window -buldozer -noland -cfg="L:\Config\buldozer.cfg"
@tom4897
tom4897 / RscDisplayMain.hpp
Created April 3, 2014 15:16
Main UI, first shot.
//--- RscDisplayMain
#define IDC_RSCDISPLAYMAIN_WIP_COPYRIGHTTEXT 17031
#define IDC_RSCDISPLAYMAIN_WIP_GAMELOGO 17631
#define IDC_RSCDISPLAYMAIN_WIP_TILEGROUP 18331
#define IDC_RSCDISPLAYMAIN_WIP_NEWS 18332
#define IDC_RSCDISPLAYMAIN_WIP_BUTTONEXIT 18431
#define IDC_RSCDISPLAYMAIN_WIP_BUTTONOPTIONS 18432
#define IDC_RSCDISPLAYMAIN_WIP_BUTTONEDITOR 18433
#define IDC_RSCDISPLAYMAIN_WIP_BUTTONEXPORT 18434
#define IDC_RSCDISPLAYMAIN_WIP_BUTTONALLMISSIONS 18435
@tom4897
tom4897 / class_cfgBuldozer.cpp
Last active August 29, 2015 13:57
bulldozer fixe
class cfgBuldozer
{
uiBackground[] = {0,0,0,1};
uiForeground[] = {1,1,1,1};
uiBorderSize = "0.002f";
infoHeight = "0.022f";
scaleInfoWidth = "0.3f";
toolInfoWidth = "0.6f";
fadeTimeMs = 6000;
font = "LucidaConsoleB";
:: this is dwarden's experimental TCP related batch
@netsh int tcp set global chimney=enabled
@netsh int tcp set global dca=enabled
@netsh int tcp set global ecncapability=enabled
@netsh int tcp set global congestionprovider=ctcp
@netsh int tcp set global timestamps=enabled
@rem netsh int tcp set global autotuninglevel=disabled
@netsh int tcp show global autotuninglevel
:: disabling autotuning needs testing, sometimes help sometimes not