Skip to content

Instantly share code, notes, and snippets.

View acidicMercury8's full-sized avatar
Drinking coffee and writing code

acidicMercury8

Drinking coffee and writing code
  • Russian Federation
  • 19:21 (UTC +03:00)
View GitHub Profile
@PSIget
PSIget / main.go
Created January 25, 2024 13:41
Получаем информацию о сервере игры STALKER на Golang
package main
import (
"bytes"
"encoding/json"
"fmt"
"net"
"time"
)
@d351d3r
d351d3r / .md
Last active December 16, 2023 18:58
Debian-live.md

Сборка live образа Debian

Требования к скрипту сборки:

  • Полностью автоматизированная сборка.
  • На выходе требуется получить готовый iso.
  • Управление списком устанавливаемых пакетов через конфигурационный файл.
  • Наличие комментариев в коде и описание использования.
  • Логирование процесса.

Подготовка:

@ShrykeWindgrace
ShrykeWindgrace / _stack.ps1
Created April 22, 2022 08:16
Powershell tab-completion script for stack
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
Register-ArgumentCompleter -Native -CommandName 'stack' -ScriptBlock {
param($wordToComplete, $commandAst)
[string[]]$localCommand = @('"--bash-completion-enriched"')
$hay = [System.Collections.Generic.List[string]]::new()
foreach ($item in $commandAst.CommandElements) {
$localCommand += '"--bash-completion-word"'
$localCommand += """$item"""
$hay.Add($item.ToString())
@ChoiSG
ChoiSG / rsrcDecryptAssembly.nim
Last active September 19, 2022 17:31
embed .net, decrypt, load and execute in nim poc
import nimcrypto
import winim/clr except `[]` # https://s3cur3th1ssh1t.github.io/Playing-with-OffensiveNim/ <-- thank you so much, 2 hours googling I almost went crazy
#[
All credit goes to @byt3bl33d3r (OffensiveNim) and @s3cur3th1ssh1t
nimble install winim nimcrypto zippy
nim c -d:danger -d:strip --opt:size rsrcDecryptAssembly.nim
slurp = "staticRead" will read the file and store it in the variable (.rdata) on compile time.
@jin-x
jin-x / speedtest64.asm
Created July 24, 2021 17:52
Code Speed Measurement Tool
; Speed Test for Windows x64, v1.01 / fasm 1
; (c) 2020 Jin X (jin_x@list.ru)
format PE64 Console 5.0
include 'win64axp.inc'
define REQUIRE_ADMIN_RIGHTS 1 ; 1 - run with the highest (realtime) priority, 0 - run with just high priority
;-- CODE SECTION -------------------------------------------------------------------------------------------------------
@bl-ue
bl-ue / Visual Studio solution file headers
Last active March 9, 2026 20:32 — forked from GHosaPhat/Visual Studio solution file headers
Visual Studio solution file headers - 2002 through 2022
*********************************************************************************************
** Below is the header text written in the .sln files produced by Microsoft Visual Studio. **
** By default, each header is preceeded by a Windows new line character (CRLF) in the .sln **
** file. I've identified the specific Visual Studio version used to create each header in **
** place of this blank line and indicated each as such [[ VS<VERSION> (PLATFORM TOOLSET) ]]**
*********************************************************************************************
** DO NOT INCLUDE ANYTHING FROM THIS LINE IN YOUR .SLN FILE. REPLACE THIS WITH A NEW LINE **
** CHARACTER (CRLF) OR JUST DELETE IT ENTIRELY. OTHERWISE VISUAL STUDIO WILL NOT BE ABLE **
** TO READ THE .SLN FILE TO OPEN THE SOLUTION. **
*********************************************************************************************
@Skrilltrax
Skrilltrax / usb3-fastboot-fix.bat
Created May 27, 2020 18:02
Fix the USB 3 issues in fastboot
@Echo off
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "osvc" /t REG_BINARY /d "0000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipContainerIdQuery" /t REG_BINARY /d "01000000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipBOSDescriptorQuery" /t REG_BINARY /d "01000000" /f
pause