Skip to content

Instantly share code, notes, and snippets.

@encounter
encounter / mbin.ksy
Created Oct 8, 2019
Kaitai Struct definitions for (a subset of) No Man's Sky MBIN and PAK files
View mbin.ksy
meta:
id: mbin
file-extension: mbin
endian: le
encoding: utf-8
seq:
- id: header
type: mbin_header
- id: table
@encounter
encounter / items.json
Last active Oct 1, 2019
No Man's Sky Beyond All Items + Refiner Recipes
View items.json
This file has been truncated, but you can view the full file.
// Icons available at https://mega.nz/#!vY5jXK7K!w290kvdCWZOvo2aDeth7tImkTPk5eOjfiwwHF8l8cEQ
{
"CASING": {
"name": "Metal Plating",
"type": "product",
"subtitle": "Crafted Technology Component",
"description": "A lightweight metal product, heavily used in the manufacture of <TECHNOLOGY>starship parts<> and <TECHNOLOGY>deployable technology<>. A mainstay of the construction industries of all known primary species.\n\nCrafted from <EARTH>Ferrite Dust<>.",
"base_value": 800,
"category": "product_category_component",
@encounter
encounter / build.sh
Created Mar 4, 2018
macOS futurerestore build
View build.sh
brew install openssl
export PKG_CONFIG_PATH=/usr/local/opt/openssl@1.1/lib/pkgconfig
git clone https://github.com/encounter/libplist.git
cd libplist
./autogen.sh
make install
cd ..
git clone https://github.com/libimobiledevice/libusbmuxd.git
@encounter
encounter / PKGBUILD
Created Jan 2, 2018
mingw-w64-curl (wintls + http only)
View PKGBUILD
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
#_variant=-openssl
_variant=-winssl
#_variant=-gnutls
if [ "${_variant}" = "-openssl" ]; then
_namesuff=
else
_namesuff="${_variant}"
fi
@encounter
encounter / systemd.diff
Last active Oct 7, 2017
systemd-boot patch to set max UEFI resolution
View systemd.diff
diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c
index 1e990b382..c7471aaac 100644
--- a/src/boot/efi/boot.c
+++ b/src/boot/efi/boot.c
@@ -492,6 +492,7 @@ static BOOLEAN menu_run(Config *config, ConfigEntry **chosen_entry, CHAR16 *load
BOOLEAN wait = FALSE;
graphics_mode(FALSE);
+ set_max_resolution();
uefi_call_wrapper(ST->ConIn->Reset, 2, ST->ConIn, FALSE);
View keybase.md

Keybase proof

I hereby claim:

  • I am encounter on github.
  • I am encounter (https://keybase.io/encounter) on keybase.
  • I have a public key ASBCLXy8yrQFQ_JB_sqLQ-KgGQ1ZJ2oPz3jHyNb8cKkocwo

To claim this, I am signing this object:

@encounter
encounter / Nginx_1.11_Mainline_Cent_6_7_Static_OpenSSL_1.1.sh
Last active Aug 13, 2016 — forked from jiri-pejchal/Nginx_1.11_Mainline_Cent_6_7_Static_OpenSSL_1.1.sh
RPM build Nginx 1.11.x with ALPN on CentOS 6/7 using static OpenSSL 1.1 (v 1.02+ required for http/2 support in Chrome)
View Nginx_1.11_Mainline_Cent_6_7_Static_OpenSSL_1.1.sh
#!/bin/bash -e
if [ $UID -ne 0 ]; then
echo "Run as root." >&2
exit 1
fi
CENTVER=7
OPENSSL_VERSION=1.0.2h
NGINX_VERSION=1.11.3-1
@encounter
encounter / 0-README
Last active Jun 7, 2019
Xbox 360 Wireless Controllers xboxdrv/systemd/udev rules
View 0-README
This is configuration for the Xbox 360 Wireless Gaming Receiver to support hotplugging with xboxdrv.
By default, it enables 4 controllers and doesn't require the xpad module to be blacklisted.
File locations:
/usr/lib/systemd/system/xboxdrv.service
/etc/udev/rules.d/99-xboxdrv.rules
To activate:
sudo systemctl disable xboxdrv
sudo systemctl stop xboxdrv
You can’t perform that action at this time.