Skip to content

Instantly share code, notes, and snippets.

View ktwrd's full-sized avatar

kate ktwrd

View GitHub Profile
desktop
description: Desktop Computer
product: To Be Filled By O.E.M. (To Be Filled By O.E.M.)
vendor: To Be Filled By O.E.M.
version: To Be Filled By O.E.M.
serial: To Be Filled By O.E.M.
width: 64 bits
capabilities: smbios-2.8 dmi-2.8 smp vsyscall32
configuration: boot=normal chassis=desktop family=To Be Filled By O.E.M. sku=To Be Filled By O.E.M. uuid=00020003-0004-0005-0006-000700080009
*-core
@ktwrd
ktwrd / bmr.py3
Created May 5, 2020 02:51
BMR Calculator for Python3
sex = str(input("[M]ale or [F]emale: "))
weight = int(input("Weight in kg: "))
height = int(input("Height in cm: "))
age = int(input("Age in years: "))
if sex == "m" or sex == "M":
formula = 66 + (13.7 * weight) + (5 * height) - (6.8 * age)
elif sex == "f" or sex == "F":
formula = 655 + (9.6 * weight) + (1.8 * height) - (4.7 * age)
#!/bin/bash
# This program is free software. It comes without any warranty, to
# the extent permitted by applicable law. You can redistribute it
# and/or modify it under the terms of the Do What The Fuck You Want
# To Public License, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
#Background
for clbg in {40..47} {100..107} 49 ; do
@ktwrd
ktwrd / csgo config
Last active September 24, 2023 14:40
//CLEAR
unbindall
echo""
echo "=== seed's gnarly config v1.4"
echo""
r_drawparticles "0"
@ktwrd
ktwrd / README.md
Last active April 17, 2021 05:23
Using ApexBot

NOTICE

You cannot link two EA ID's to the same discord account, if you made a spelling mistake or you entered the wrong EA ID then ping @seed#4330 in #help. Once your have linked your account make sure to play as many games as you can with different legends for warmup, Remember the winner of this tournament is who gets the most ammount of kills by the end of the tournament. Have fun!

Before playing any games make sure that the only stat counters on all of your legends are Total Kills, there cannot be any other stat counters that are to do with kills like Mozambique Kills, etc...

Link Account

@ktwrd
ktwrd / queue.js
Last active December 18, 2020 06:49
Node.JS Basic Queue System
class queue {
// Local stuff to make our life more easy.
_UIDGen(length) {
var charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890";
var retVal = "";
for (var i = 0, n = charset.length; i < length; ++i) {
retVal += charset.charAt(Math.floor(Math.random() * n));
}
return retVal;
}
@ktwrd
ktwrd / palette.css
Created February 13, 2021 08:04
2014 Material Color Palettes
:root
{
--PAL_RED-50: #FFEBEE;
--PAL_RED-100: #FFCDD2;
--PAL_RED-200: #EF9A9A;
--PAL_RED-300: #E57373;
--PAL_RED-400: #EF5350;
--PAL_RED-500: #F44336;
--PAL_RED-600: #E53935;
--PAL_RED-700: #D32F2F;
@ktwrd
ktwrd / server.js
Last active February 23, 2021 04:15
Temporary HTTP Server
/*
This is only meant for use where you are testing if a server can recieve HTTP requests.
*/
const http = require("http");
const toolbox = require("tinytoolbox")
const port = parseInt(toolbox.stringGen(5,7));
http.createServer(function (req, res) {
// console.log(req);
@ktwrd
ktwrd / document.wflow
Created February 28, 2021 09:25
Mount NTFS with NTFS-3G
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AMApplicationBuild</key>
<string>444.7</string>
<key>AMApplicationVersion</key>
<string>2.8</string>
<key>AMDocumentVersion</key>
<string>2</string>
@ktwrd
ktwrd / TraceRoute.js
Created May 17, 2021 11:57
Simple TraceRoute Thing made in Node.JS
const tr = require("nodejs-traceroute");
var HopLog = [];
const EventParse = (objInputTraceData) =>
{
if (objInputTraceData.ip == undefined) return;
HopLog.push(objInputTraceData);
if (objInputTraceData.ip == 'Request timed out.' || objInputTraceData.rtt1 == '*')
{