Skip to content

Instantly share code, notes, and snippets.

View catb0t's full-sized avatar
💭
hmm

Cat Stevens catb0t

💭
hmm
View GitHub Profile
@catb0t
catb0t / error.md
Created January 13, 2019 21:46
error.md
$ cd build; cmake ..; make 
-- obs-stream-effects: No OBS Studio detected, using downloadable prebuilt binaries.
-- Downloading/updating libobs
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cat/Downloads/obs-stream-effects/build/libobs-download
Scanning dependencies of target libobs-download
[100%] Built target libobs-download
-- Configuring done
@catb0t
catb0t / setuidtest.c
Last active October 30, 2018 20:35
setuidtest explicit w/syscalls
#define _GNU_SOURCE
#include <stdio.h>
#include <unistd.h>
#include <sys/syscall.h>
void printid(void) {
uid_t r, e, s;
getresuid(&r, &e, &s);
printf("real: %d eff: %d saved: %d\n", r, e, s);
}
-- Logs begin at Fri 2018-08-03 21:39:47 UTC, end at Fri 2018-08-03 21:45:00 UTC. --
Aug 03 21:39:47 pop-os kernel: Linux version 4.15.0-23-generic (buildd@lgw01-amd64-055) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #25-Ubuntu SMP Wed May 23 18:02:16 UTC 2018 (Ubuntu 4.15.0-23.25-generic 4.15.18)
Aug 03 21:39:47 pop-os kernel: Command line: BOOT_IMAGE=/casper/vmlinuz.efi boot=casper hostname=pop-os username=pop-os noprompt ---
Aug 03 21:39:47 pop-os kernel: KERNEL supported cpus:
Aug 03 21:39:47 pop-os kernel: Intel GenuineIntel
Aug 03 21:39:47 pop-os kernel: AMD AuthenticAMD
Aug 03 21:39:47 pop-os kernel: Centaur CentaurHauls
Aug 03 21:39:47 pop-os kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Aug 03 21:39:47 pop-os kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Aug 03 21:39:47 pop-os kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.104519] pci 0000:6d:00.1: reg 0x10: [io 0xd000-0xd0ff]
[ 0.104538] pci 0000:6d:00.1: reg 0x18: [mem 0xdc304000-0xdc304fff 64bit]
[ 0.104551] pci 0000:6d:00.1: reg 0x20: [mem 0xdc300000-0xdc303fff 64bit]
[ 0.104636] pci 0000:6d:00.1: supports D1 D2
[ 0.104637] pci 0000:6d:00.1: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.116042] pci 0000:00:1c.4: PCI bridge to [bus 6d]
[ 0.116046] pci 0000:00:1c.4: bridge window [io 0xd000-0xdfff]
[ 0.116048] pci 0000:00:1c.4: bridge window [mem 0xdc300000-0xdc3fffff]
[ 0.116182] pci 0000:6e:00.0: [8086:24fd] type 00 class 0x028000
[ 0.116236] pci 0000:6e:00.0: reg 0x10: [mem 0xdc200000-0xdc201fff 64bit]
cd ~
git config --global branch.master.rebase true
git config --global branch.autosetuprebase always
rm -rf ~/sieged
git clone https://github.com/EagleSoftworks/sieged
cd sieged
git remote remove origin
git remote add upstream https://github.com/EagleSoftworks/sieged
This is a list of bugs in the alpha 0.3 release of Cube World.
Pressing hotkeys while the chat is open does that key's action as well as type it
When standing over an item, skill menu items have glitchy descriptions
Hitting multiple enemies at once can register as just one hit.
Character models in the character selection screen don't show item customisations
Damage and heal numbers are drawn over the map
Chairs and beds allow teleportation through thin walls
Overlapping normal resource cubes on spirit cubes can destroy the spirit cubes permanently
Dying on a chair can revive the player on the same chair
<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript" src="Javascriptstuff.js"></script>
<title> Chemistry Calculations </title>
</head>
<body>
<div class="Box">
<H2> Balance Equation </H2>
<p> Make sure to have a space before and afterh the +'s and = </p>
@catb0t
catb0t / mags
Created March 26, 2017 22:33
magnets
magnet:?xt=urn:btih:804554e5cb9deacc411f17ca3a750cc404b3022e&dn=GTA%20IV%20repack%20Mr%20DJ&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Fzer0day.ch%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Fpublic.popcorn-tracker.org%3A6969
magnet:?xt=urn:btih:92893efe4130166d1a15fac0a0af36671491f7da&dn=JTKSOFT%20JoyToKey%20v5.7.1-R2R%20%5Bdeepstatus%5D&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Fzer0day.ch%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Fpublic.popcorn-tracker.org%3A6969
magnet:?xt=urn:btih:ed9f8754c3935ea0b5e507811b1fbde502d08981&dn=Need%20For%20Speed%20Carbon%20repack%20Mr%20DJ&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Fzer0day.ch%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Fpublic.popcorn-tracker.org%3A6969
magnet:?xt=urn:btih:f13a268b242f4e0ecdbb75a5755846884b02f0b2&dn=Win7.SP1.x86-x64.Rus-Eng.18in1.Activated.v5&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce
Clang C: -Wall -Wextra -Wfloat-equal -Winline -Wundef -Werror -fverbose-asm -Wint-to-pointer-cast -Wshadow -Wpointer-arith -Wcast-align -Wcast-qual -Wunreachable-code -Wstrict-overflow=5 -Wwrite-strings -Wconversion --pedantic-errors -ggdb -Wredundant-decls -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -std=gnu11 -c -Wno-language-extension-token -Wno-gnu
Clang C++: -Wall -Wextra -Wfloat-equal -Winline -Wundef -Werror -fverbose-asm -Wint-to-pointer-cast -Wshadow -Wpointer-arith -Wcast-align -Wcast-qual -Wunreachable-code -Wstrict-overflow=5 -Wwrite-strings -Wconversion --pedantic-errors -ggdb -Wredundant-decls -Wuninitialized -std=c++14
GCC C: -Wall -Wextra -Wfloat-equal -Winline -Wundef -Werror -fverbose-asm -Wint-to-pointer-cast -Wshadow -Wpointer-arith -Wcast-align -Wcast-qual -Wunreachable-code -Wstrict-overflow=5 -Wwrite-strings -Wconversion --pedantic-errors -Wredundant-decls -Wuninitialized
-Wstrict-prototypes -Wmissing-prototypes -std=gnu11 -xc -c
GCC C++: -Wall -Wextra -Wfloat-equal -W