Skip to content

Instantly share code, notes, and snippets.

View kuhnchris's full-sized avatar
🔥
Gonna be *lit*

KuhnChris kuhnchris

🔥
Gonna be *lit*
View GitHub Profile
17a18,19
> #echo $@ > /tmp/slirp.log
>
233c235
< mkdir "${PORTS_DIR}"
---
> mkdir "${PORTS_DIR}" -p
235a238,239
> [ ${RFD} -ne 0 ] && echo "1" >&${RFD}
> mkdir "${PORTS_DIR}" -p 2>/dev/null
diff --git a/thirdparty/astcenc/astcenc_vecmathlib_sse_4.h b/thirdparty/astcenc/astcenc_vecmathlib_sse_4.h
index 76fe577a89..97fd490abb 100644
--- a/thirdparty/astcenc/astcenc_vecmathlib_sse_4.h
+++ b/thirdparty/astcenc/astcenc_vecmathlib_sse_4.h
@@ -1080,7 +1080,7 @@ ASTCENC_SIMD_INLINE void vtable_prepare(
*/
ASTCENC_SIMD_INLINE vint4 vtable_8bt_32bi(vint4 t0, vint4 idx)
{
-#if ASTCENC_SSE >= 30
+#if ASTCENC_SSE >= 41
--- /usr/src/anbox-binder-r38.8148a16/deps.c 2022-07-04 00:18:45.000000000 +0800
+++ deps.c 2022-08-21 01:19:24.013614356 +0800
@@ -69,7 +69,16 @@ static unsigned long kallsyms_lookup_nam
#endif
}
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,19,0))
+static struct file *(*close_fd_get_file_ptr)(unsigned int fd) = NULL;
+struct file * close_fd_get_file(unsigned int fd)
@kuhnchris
kuhnchris / README.md
Created February 11, 2022 21:57 — forked from dnozay/README.md
Enable memberOf attribute on an openldap server.
[MenuItem("Land Crisis/Export all objects as separate PNGs")]
static void SplitAndSave()
{
foreach (Texture2D obj in Selection.objects)
{
Texture2D myTexture = obj;
string path = AssetDatabase.GetAssetPath(myTexture);
TextureImporter ti = AssetImporter.GetAtPath(path) as TextureImporter;
#!/bin/bash
#set -x
if [ "$1" == "" ] || [ "$2" == "" ]; then
echo "usage: $0 base_url pr_amount"
exit 1
fi
base_url=$1
target_prs=$2
page=0
@kuhnchris
kuhnchris / SubdomainProvider.sol
Created December 3, 2018 07:40
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.0+commit.1d4f565a.js&optimize=true&gist=
pragma solidity ^0.5.0;
contract SubdomainProvider {
enum dnsType {
A, AAAA, MX, NS, CNAME, DNSKEY, IPSECKEY, NSEC, OPENPGPKEY, PTR, RP, SOA, SRV, TA, TXT
}
struct DNSEntry {
string entryName;
dnsType entryType;
@kuhnchris
kuhnchris / Dockerfile
Created March 25, 2018 23:00
cpuminer-opt-master Dockerfile
FROM alpine
### CHANGE THIS ###
ENV publicwallet=Wmhv8DoTj8oEbhmcLbeGQ5Khp4d6vw7J6q
### IF YOU DO NOT CHANGE THIS YOU
### WILL MINE INTO MY PUBLIC
### ADDRESS - NO REFUNDS.
### Your milage may vary.
@kuhnchris
kuhnchris / docker-compose.yml
Created March 25, 2018 21:16
wavicoind docker-compose
version: '2.1'
services:
wavicoind:
build: .
user: "1000"
volumes:
- ./data:/persistance
ports:
- "9983:9983"
@kuhnchris
kuhnchris / Dockerfile
Created March 25, 2018 21:14
wavicoind - build from src
FROM alpine
ENV coinname=wavi
ENV binaryname=${coinname}d
ENV cliname=${coinname}-cli
ENV zipurl=https://github.com/wavidev-the-man/wavi/archive/master.zip
ENV miniupnpcpatch=no
ENV backtracepatch=no
ENV boostthreadpatch=no
ENV builddetectplatformpatch=no