GPGPU particles using texture caches for position and velocity.
For more of these experiments, please see: https://codepen.io/collection/XEEaEa/
import os | |
import pickle | |
import time | |
import glob | |
import joblib | |
import inspect | |
from loguru import logger | |
def persist_to_file(): |
#define WINDOWS_TERMINAL | |
Texture2D shaderTexture; | |
SamplerState samplerState; | |
// -------------------- | |
#if defined(WINDOWS_TERMINAL) | |
cbuffer PixelShaderSettings { | |
float Time; | |
float Scale; |
GPGPU particles using texture caches for position and velocity.
For more of these experiments, please see: https://codepen.io/collection/XEEaEa/
/** | |
All Ansi color code constants that are valid in Bitburner | |
nano functions/color.js | |
*/ | |
export const Color = { | |
black: "\x1b[30m", | |
red: "\x1b[31m", | |
green: "\x1b[32m", | |
yellow: "\x1b[33m", | |
blue: "\x1b[34m", |
Due to various reasons (such as Apple developer account termination), apps you had previously purchased can no longer be downloaded from the App Store or iTunes. However, it turns out these applications can still be accessed. Third party .ipa downloading tools such as iMazing, ipatool, and ipatool-py use a special endpoint that allows downloading removed apps.
This app must have been purchased on your Apple ID beforehand. You cannot download any app ever made. Apple only lets you download apps you had bought or downloaded in the past.
I reccomend using the ipatool-py method, because it is easier. However, if you are unable to use it, I have left the original iMazing method for you to follow.
# This program takes an excel documents and maps it to a sqlite database. | |
# It is designed to be used with the excel-to-sqlite.xlsx template. | |
# | |
import sqlite3 | |
import xlrd | |
import sys | |
import logging | |
import openpyxl | |
def useOPENPYXL(excelFile, sqliteFile): |
#!/bin/bash | |
# pings specified host once, greps out latency | |
# usage: | |
# generate_pings.sh <host> <ping_time_limit> | |
host=$1 | |
ping_scale_limit=$2 | |
ping_time=$(ping -c1 $host | grep from | cut -d '=' -f 4 | cut -d " " -f 1) | |
printf "%3.0f 0 %3.0F 0 255\n" $ping_time $ping_scale_limit |
#!/usr/bin/env python | |
# | |
# MapGenieDownloader.py - v2.1 | |
# | |
# Copyright (C) 2022 Joe Baker (JoeBlakeB) | |
# This program is free software under the GPLv3 license. | |
# | |
# Download a high resolution maps from mapgenie.io | |
# May not work on all games, only tested with tarkov and forza | |
# |
// Compile with: | |
// gcc ./cmdinfo.c -lm -o cmdinfo | |
#include <stdio.h> /* printf(), fprintf() */ | |
#include <string.h> /* strcmp() */ | |
#include <math.h> /* log10(), ceil() */ | |
// fwd decl to cease warnings | |
int print_arguments(FILE* outf, int argc, char *const *argv); | |
int xxdline(int lineno, char* input, int inputlen, char* outbuf); |