Skip to content

Instantly share code, notes, and snippets.

@bugworm
bugworm / config
Created May 7, 2017 15:55
sway debug
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
@bugworm
bugworm / sway.log
Created May 7, 2017 16:06
sway debug 2
05/07/17 18:59:49 - [main.c:153] Linux justMe 4.10.13-1-ck-sandybridge #1 SMP PREEMPT Thu Apr 27 16:15:04 EDT 2017 x86_64 GNU/Linux
05/07/17 18:59:49 - [main.c:125] Contents of /etc/lsb-release:
05/07/17 18:59:49 - [main.c:132] LSB_VERSION=1.4
05/07/17 18:59:49 - [main.c:132] DISTRIB_ID=Arch
05/07/17 18:59:49 - [main.c:132] DISTRIB_RELEASE=rolling
05/07/17 18:59:49 - [main.c:132] DISTRIB_DESCRIPTION="Arch Linux"
05/07/17 18:59:49 - [main.c:125] Contents of /etc/os-release:
05/07/17 18:59:49 - [main.c:132] NAME="Arch Linux"
05/07/17 18:59:49 - [main.c:132] PRETTY_NAME="Arch Linux"
05/07/17 18:59:49 - [main.c:132] ID=arch
@bugworm
bugworm / README.md
Last active August 3, 2017 16:39
Sorting mods

created by bugworm

Description

This mod is bla bla bla

Screenshots

Awesomeness any name

Changelog

v1.1

  • Changed stuff
  • Changed another
#include <stdio.h>
#include <pthread.h>
#include <limits.h>
#include <sys/types.h>
#include <unistd.h>
#include <time.h>
typedef struct timespec timespec;
double elapsed(timespec, timespec);
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
public class Mnogopotok {
public static void main(String[] args) throws ExecutionException, InterruptedException {
use std::ptr::{read_volatile, write_volatile};
use std::thread;
use std::time::Instant;
fn main() {
let thread_num = [1, 2, 4, 8, 16];
for thread_count in thread_num.iter() {
run_threads(*thread_count, 10);
}
}
@bugworm
bugworm / TKGRAPHICSSETTINGS.MXML
Created August 21, 2019 19:44
No Man's Sky fix
<?xml version="1.0" encoding="utf-8"?>
<Data template="TkGraphicsSettings">
<Property name="Version" value="4" />
<Property name="FullScreen" value="false" />
<Property name="Borderless" value="false" />
<Property name="Monitor" value="0" />
<Property name="MonitorNames">
<Property name="MonitorNames_00" value="0|Radeon RX 580 Series|Generic PnP Monitor" />
<Property name="MonitorNames_01" value="1|Radeon RX 580 Series|Generic PnP Monitor" />
</Property>
@bugworm
bugworm / battleborn.md
Last active November 13, 2023 16:21
Battleborn Reborn without Steam

This is a guide for people who doesn't have a Steam license of a game (free trial is considered a license) or just want to play a game without Steam. You need to find a copy of a game for yourself, I can't help you with that.

  1. Download Goldberg Emulator (direct download link)
  2. Download Reborn (link won't be updated) or get it from Battleborn Discord server
  3. Unpack Reborn in your Battleborn directory. It should look something like this:

зображення

  1. Open rebornlauncher.exe. It should patch a binary and give you a list of maps to ch