Skip to content

Instantly share code, notes, and snippets.

@XclusiveDigital
XclusiveDigital / ascent_dicebot.lua
Last active December 2, 2023 21:26
Ascent Dicebot
strategy = 3 --[[ Preset game rules and ascent_settings. 1 to turn off; setting it more than 1 will overrides base settings
...2 - Normal Mode for normal balance [>8000 bits]
...3 - Normal Mode for high balance [>16300 bits]
...4 - Alternative mode for multiplier 3, just for having more than common run
...5 - Early profit and later normal run for balance [>4500 bits]
...6 - High profit for medium numbers, for balance [>5000 bits] medium risk
...7 - 2x Mode, for low balance run [<2000 bits] low risk
...8 - 2x Mode, for medium balance run [<4000 bits], average risk
...9 - Soft strategy run, not long term, something like medium term. For balance [>2000 bits] low risk
]]
@ideoforms
ideoforms / sox-cheat-sheet.sh
Last active October 15, 2025 15:05
sox cheat sheet
################################################################################
# sox cheat sheet
################################################################################
# Example commands for the sox command-line audio processing tool,
# for manipulating or batch processing audio files.
################################################################################
# Daniel Jones <[email protected]>
################################################################################
################################################################################
import bpy
import math
class flower(object):
def __init__(self):
# mesh arrays
verts = []
faces = []
@songritk
songritk / install-soapysdr.sh
Last active June 27, 2023 07:12
SoapySDR install script for raspberry PI
# Building CubicSDR for Linux
# This script will successfully build CubicSDR under Debian Jessie on the Raspberry Pi3.
# Adapted from https://github.com/cjcliffe/CubicSDR/wiki/Build-Linux
# Larry Dighera June 7, 2016
# [email protected]
# songritk Mar 24,2018
sudo apt-get install -y git build-essential automake cmake
sudo apt-get install -y libpulse-dev libgtk-3-dev
@RedRoosterKey
RedRoosterKey / ghostBox.py
Created February 19, 2017 00:04
Facilitates communication with extradimensional entites via a raspberry pi and sensehat (for entertainment purposes only)
#!/usr/bin/python
from sense_hat import SenseHat
from datetime import datetime
import math,os,random,subprocess,time
#
# Background:
#
# I have seen various electronic devices on paranormal TV shows (most popular
# being the Ovilus by Digital Dousing) that claim to convert "ghost energy" into
-- Import packages
require 'torch'
require 'gnuplot'
--------------------------------------
-- Define the Kalman filter 'class' --
--------------------------------------
-- Constructor
Kalman = {}
Kalman.__index = Kalman
@blacktm
blacktm / install_ruby_rpi.sh
Last active November 28, 2024 20:35
A Bash script to install Ruby on the Raspberry Pi
#!/bin/bash
# --------------------------------------------------------------------------------------------
# Installs Ruby using rbenv/ruby-build on the Raspberry Pi (Raspbian)
#
# Run from the web:
# bash <(curl -s https://gist.githubusercontent.com/blacktm/8302741/raw/install_ruby_rpi.sh)
# --------------------------------------------------------------------------------------------
# Set the Ruby version you want to install