Skip to content

Instantly share code, notes, and snippets.

View Basicprogrammer10's full-sized avatar
🐢
🏳️‍🌈

Connor Slade Basicprogrammer10

🐢
🏳️‍🌈
View GitHub Profile
@Basicprogrammer10
Basicprogrammer10 / Pi.txt
Created December 21, 2019 18:21
1000001 digits of pi
This file has been truncated, but you can view the full file.
[
{
"id": 583478984559466783,
"capes": [
{
"cape_uuid": "fa69c",
"player_uuid": "3c358264-b456-4bde-ab1e-fe1023db6679",
"type": "CONTRIBUTOR",
"color": {
"primary": "9b90ff",
@Basicprogrammer10
Basicprogrammer10 / CommitMessages.txt
Last active February 28, 2023 15:24
Some random Commit Messages from whatthecommit.com
""Get that shit outta my master."",
"#GrammarNazi",
"$(init 0)",
"$(rm -rvf .)",
"(\ /)(O.o)(> <) Bunny approves these changes.",
"(c) Microsoft 1988",
"--help",
"-m \'So I hear you like commits ...\'",
".",
"...",
@Basicprogrammer10
Basicprogrammer10 / bmi.js
Created April 19, 2021 03:55
Script to get your BMI for Scriptable app
// Connor is amazing
async function checkInt(data) {
num = parseFloat(data);
if (num.toString() === data) return num;
let alert = new Alert();
alert.title = "BMI";
alert.message = "Please enter only Numbers";
alert.addCancelAction("Ok");
await alert.present();
@Basicprogrammer10
Basicprogrammer10 / meme.js
Created April 22, 2021 14:40
Scriptable script to get Memes from reddit
// 𝓜 𝓔 𝓜 𝓔
// Get a meme from an api and display it
// Get Request
async function getRequest(url) {
let req = new Request(url);
let json = await req.loadJSON();
return json;
}
@Basicprogrammer10
Basicprogrammer10 / lightshot.js
Created April 23, 2021 12:24
Get random images from Lightshot and display them (For Scriptable)
// Random LightShot
// Get an image from LightShot and display it
// Get Request
async function getRequest(url) {
let req = new Request(url);
let data = await req.loadString();
return data;
}
@Basicprogrammer10
Basicprogrammer10 / CheckList.js
Last active April 29, 2021 22:39
iPhone Widget for mu WebChecklist (Requires Simple API plugin on server)
// Check List
// Display WebChecklist items through a widget
// Requires Simple API plugin (v1.0+)
let server = ""; // Server Adress (Not Api Path)
let list = ""; // Checklist Name
let overflowIndex = 4;
// Get Request
async function getRequest(url) {
@Basicprogrammer10
Basicprogrammer10 / COLOR.lua
Created May 8, 2021 22:18
Make cool color spectrums on a TI nspire
-- COLOR for TI-Nspire
-- By Connor Slade
local precision = 5
local x = 0
local y = 0
local ss = { "Red", "Green", "Blue" }
local xs = 1
local ys = 2
@Basicprogrammer10
Basicprogrammer10 / devInfo.lua
Created May 9, 2021 04:20
Get Ti Nispire Device Info
platform.apiLevel = '2.7'
-- Device Info
-- By Connor Slade
-- Config
local programVersion = '1.2'
local fontSize = 12 -- 6 to 255 Defult 12
-- Set Background Color
#SingleInstance, Force
SendMode Input
SetWorkingDir, %A_ScriptDir%
FileRead, itemString, xp.txt
if ErrorLevel
{
MsgBox, Error Reading File
Exit, 1
}