Skip to content

Instantly share code, notes, and snippets.

@presianbg
presianbg / githubpull.md
Created September 29, 2022 13:40 — forked from Jabarabo/githubpull.md
Gist of a stolen gist
@presianbg
presianbg / tutorial.txt
Created October 19, 2020 16:40 — forked from JamesMenetrey/tutorial.txt
PwnTools; example of usage
Source: https://tc.gts3.org/cs6265/2017/l/lab04/README-tut.txt
====================================
Lec04: Writing Exploits with PwnTool
====================================
http://docs.pwntools.com/
http://docs.pwntools.com/en/stable/intro.html
[SteamNetSockets] Ping measurement completed
[SteamNetSockets] Ping location: vie=21+2,waw=60+6/32+2,fra=32+3,ams=35+3,lux=53+5/35+3,lhr=60+6/41+3,par=60+6/46+3,sto=58+5/51+3,sto2=60+6/51+3,iad=129+12/112+3,sgp=188+18/188+33,gru=233+23
WARNING: CDirWatcher not implemented
ILocalize::AddFile() failed to load file "resource/dota_english.txt".
failed to dlopen libtensorflow.so error=libtensorflow.so: cannot open shared object file: No such file or directory
[NetworkCodeGen] Registered 7, 0 empty, 0 collapsible %0.00
[Networking] CEntitySystem::BuildEntityNetworking (parallel build of server) took 171.140 msecs for 824 out of 843 classes
Failed to load mutations file! scripts/battlepass/ti2018/mutations.txt
ReadSteamRemoteStorageFile( bufOut, "cfg/pending_replay_requests.lst" ) -> 0.000535 seconds
ReadSteamRemoteStorageFile( bufOut, "scripts/clientstorage.txt" ) -> 0.000389 seconds
@presianbg
presianbg / cs autoexec
Last active April 8, 2016 11:57
autoexec
/home/pressian/.local/share/Steam/steamapps/common/Counter-Strike\ Global\ Offensive/csgo/cfg/autoexec.cfg
-novid -exec autoexec
////// settings
// don't switch weapon automatically
cl_autowepswitch "0"
// don't open buy menu with use key
cl_use_opens_buy_menu "0"
// raw mouse input
cat /etc/default/tlp
# ------------------------------------------------------------------------------
# tlp - Parameters for power save
# Hint: some features are disabled by default, remove the leading # to enable
# them.
# Set to 0 to disable, 1 to enable TLP.
TLP_ENABLE=1
@presianbg
presianbg / dynamic thermald fan detection
Created March 31, 2016 07:41
dynamic thermald fan detection
cat /etc/rc.d/rc.local
#!/bin/bash
/root/fan_check.py
exit 0
cat /root/fan_check.py
#!/usr/bin/python3
@presianbg
presianbg / thermald only fan
Created March 31, 2016 07:39
thermald only fan
<?xml version="1.0"?>
<!--
use "man thermal-conf.xml" for details
-->
<!-- BEGIN -->
<ThermalConfiguration>
<Platform>
<Name>ASUS G551JM</Name>
<ProductName>*</ProductName>
<Preference>QUIET</Preference>
@presianbg
presianbg / my steam info
Created February 26, 2016 20:05
my steam info
Processor Information:
Vendor: GenuineIntel
CPU Family: 0x6
CPU Model: 0x3c
CPU Stepping: 0x3
CPU Type: 0x0
Speed: 3500 Mhz
8 logical processors
4 physical processors
HyperThreading: Supported
cat /home/pressian/.local/share/Steam/steamapps/common/dota\ 2\ beta/game/dota/console.log
GL_NVX_gpu_memory_info: AVAILABLE
GL_ATI_meminfo: UNAVAILABLE
GL_NVX_gpu_memory_info: Total Dedicated: 4194304, Total Avail: 4194304, Current Avail: 4175540
CreateDevice: Requested DX level 110, clamped to DX level 105
ERROR: HangWatchdogInternal_BeginScope() - Hang watchdog not implemented for this platform!
ERROR: HangWatchdogInternal_EndScope() - Hang watchdog not implemented for this platform!
---------------
Path ID: File Path:
ADDONS "/home/pressian/.local/share/Steam/steamapps/common/dota 2 beta/game/dota_addons/"