Skip to content

Instantly share code, notes, and snippets.

View PROPHESSOR's full-sized avatar
🌎
Developing [DRRP] Doom RPG Remake Project

PROPHESSOR PROPHESSOR

🌎
Developing [DRRP] Doom RPG Remake Project
View GitHub Profile
@PROPHESSOR
PROPHESSOR / test.sh
Created May 2, 2022 06:09
Git replace author of all commits to current author
# git config --local -e # - Edit author for current repository
git rebase -r --root --exec 'git commit --amend --no-edit --reset-author'
@PROPHESSOR
PROPHESSOR / commands.txt
Last active December 14, 2023 16:14
Doom 3 all commands all cheats all cvars dhewm3
aasStats shows AAS stats
addarrow adds a debug arrow
addChatLine internal use - core to game chat lines
addline adds a debug line
aviCmdDemo writes AVIs for a command demo
aviDemo writes AVIs for a demo
aviGame writes AVIs for the current game
benchmark benchmark
bind binds a command to a key
bindRagdoll binds ragdoll at the current drag position
@PROPHESSOR
PROPHESSOR / how_to_setup_autorun_in_linux.md
Created July 31, 2021 00:18
Как настроить автозагрузку в Linux

Как настроить автозагрузку в Linux

Пользовательский автозапуск

  1. Создайте папку ~/.config/systemd/user
  2. Создайте файл ~/.config/systemd/user/названиесервиса.service
  3. Добавьте в него следующее содержимое
[Unit]
Wants=network-online.target
@PROPHESSOR
PROPHESSOR / LANGUAGE.EO
Created May 5, 2021 08:50
Esperanto Zandronum doom localization
[enu default]
TXT_D1E1 = "Gxisgenue en la Mortintoj";
TXT_D1E2 = "La Bordoj de Infero";
TXT_D1E3 = "";
TXT_D1E4 = "Via Karno Konsumita"; // The episode and levels' names in E4 are taken from the Bible. Proverbs 5:11
TXT_D2E1 = "Infero Sur La Tero";
TXT_D2E2 = "Nenia Ripozo por la Vivantoj"; // References "No rest for the wicked" in Isaiah 48:22
TXT_PLUT_EP = "La Eksperimento de Plutonia";
TXT_TNT_EP = "TNT: Mavalucio";
@PROPHESSOR
PROPHESSOR / ByteTools.cpp
Last active July 23, 2021 23:29
PROPHESSOR's ByteTools for many programming languages
/**
* ByteTools (C++) v1.1.1
*
* Copyright (c) PROPHESSOR 2019
*/
#pragma once
#include <iostream>
#include <cstdio>
@PROPHESSOR
PROPHESSOR / genmap.py
Last active July 16, 2020 12:00
Doom 3 map generation utils for python
#!/usr/bin/python3.7
TEXTURED = True
def main():
playerstart = (32, 32, 16)
brushes = [
# generateRect3d((-64, -64, -8), (128, 128, 8)), #bottom
# generateRect3d((-64 - 8, -64, 0), (8, 128, 128)), #left (player back)
@PROPHESSOR
PROPHESSOR / hopper.patch
Last active May 31, 2020 12:11
patch < hopper.patch Hopper (4.5.28)
1542c1542
< ðƒ/uH‹<$¾ºèåÂõÿH‹\$ H…ÛtlHƒ=ÃiXt¸ÿÿÿÿðÁCƒøtëQ‹CHÿ‰KƒøuCH‹H‰ßÿPHƒ=‘iXt¸ÿÿÿÿðÁC ƒøtë‹C Hÿ‰K ƒøuH‹H‰ßÿPL‰÷è/ÌõÿL‰÷è'Ìõÿ€USHƒìhH|$8è°ÇõÿH‹t$8H|$èÁöÿH‹\$@H…ÛtdHƒ=iXt¸ÿÿÿÿðÁCƒøtëI‹CHÿ‰Kƒøu;H‹H‰ßÿPHƒ=íhXt¸ÿÿÿÿðÁC ƒøtë‹C Hÿ‰K ƒøu H‹H‰ßÿPH|$HèYtöÿH‹\$H‹T$PH…Ûtƒúÿu H‰ßè¾½õÿH‰ÂH|$H‰Þè.%öÿH‹|$HHD$XH9Çtè:ÃõÿH‹D$ƒx„.H‹D$ƒx„H|$0èÂùÿÿH‹D$H‰D$(‹ƒÁƒùrðƒH‹D$H‰D$ ‹ƒÁƒùrðƒH|$0Ht$(HT$ è¾÷õÿ‰ÃH‹|$ ‹ƒøÿt…Àt ðƒ/uH‹|$ ¾ºèòÀõÿH‹|$(‹ƒøÿt…Àt ðƒ/uH‹|$(¾ºèÈÀõÿH‹|$0‹ƒøÿt…Àt ðƒ/uH‹|$0¾ºèžÀõÿ@µ„ÛuLH=M¾è†%öÿH‰D$H|$èwÃõÿH‹|$‹ƒøÿt…Àt ðƒ/uH‹|$¾ºèMÀõÿ1íH‹|$‹ƒøÿt…Àt ðƒ/uH‹|$¾ºè!ÀõÿH‹|$‹ƒøÿt…Àt ðƒ/uH‹|$¾ºè÷¿õÿ‰èHƒÄh[]ÃH‰ÃH‹|$‹ƒøÿ„«…À„ƒðƒ/…™H‹|$ërH‰ÃH‹|$ ‹ƒøÿt…Àt ðƒ/uH‹|$ ¾º蕿õÿH‹|$(‹ƒøÿt…Àt ðƒ/uH‹|$(¾ºèk¿õÿH‹|$0‹ƒøÿt/…Àt ðƒ/u%H‹|$0¾ºèA¿õÿH‹|$‹ƒøÿuëiH‰ÃH‹|$‹ƒøÿtZ…Àt ðƒ/uPH‹|$¾ºè¿õÿH‹|$‹ƒøÿu@éÚH‰ÃH‹|$HHD$XH9ÇtèŽÀõÿH‹|$‹ƒøÿué²H‰ÃH‹|$‹ƒøÿ„Ÿ…Àtðƒ/…‘H‹|$¾º蘾õÿë{H
alert('OK')
@PROPHESSOR
PROPHESSOR / powersave.py
Created April 24, 2019 14:14
PROPHESSOR's powersave script
#/usr/bin/python
# coding: utf-8
from os import system
print "Перевожу систему в режим энергосбережения..."
print "Останавливаю сервисы:"
print " - Останавливаю MySQL"
const DiscordJS = require('discord.js');
const bot = new DiscordJS.Client();
const token = 'PUT_YOUR_TOKEN_HERE';
const cp = require('child_process');
const ID_SERVER = 'PUT_YOUR_SERVER_ID_HERE';
const ID_CHANNEL = 'PUT_YOUR_TEXT_CHANNEL_ID_HERE';