Skip to content

Instantly share code, notes, and snippets.

View Kqpa's full-sized avatar

Kqpa

  • İzmir, Turkey
  • 16:00 (UTC +03:00)
View GitHub Profile
@Kqpa
Kqpa / script.sh
Created May 14, 2022 07:50
Fill your hard drive extremely quickly
#!/bin/sh
# Run this script with caution
# This will create a file named 'target', and forward truly
# random chunks of data inside it. Meaning that 'target' can
# get big as 45 GB under a minute.
time cat /dev/random >> "target"
@Kqpa
Kqpa / AppleTerminalThemes.md
Last active April 11, 2022 08:10
Apple terminal themes

Apple Terminal Themes

1: Click Raw and download the file as [theme-name].terminal

2: Open Apple Terminal

@Kqpa
Kqpa / question.ps1
Created March 8, 2022 19:15
Yes/no function in PowerShell
function Read-FromUserChoice {
.SYNOPSIS
param (
[Parameter(Mandatory)]$Message,
$Caption,
[string[]]$Options = @('&Yes','&No'),
[string]$DefaultOption = '&Yes'
)
@Kqpa
Kqpa / factor.cpp
Last active February 5, 2022 09:04
GCF & LCF calculator written in C++
// Moved to: https://github.com/Kqpa/GCF-LCM
@Kqpa
Kqpa / Guide.md
Last active February 1, 2022 13:58
SSH Into Live Arch Environment

SSH Into Live Arch Environment

This guide will show you how to SSH into your live Arch Linux environment to do your installation remotely, assuming that you have just plugged in your bootable media to start the installation and you are the root user.


Connecting to the Internet

If you have an ethernet cable plugged into your machine, you can skip this step. If you don't, follow along:

@Kqpa
Kqpa / boy.py
Created December 27, 2021 17:02
Python Discord Bot
# Get started by creating a project in Replit
import os, discord
from discord.ext import commands
bot = commands.Bot(command_prefix="!!")
@bot.event
async def on_connect():
await bot.change_presence(status=discord.Status.online,
@Kqpa
Kqpa / robloxItem.js
Last active December 23, 2021 18:50
An old script I found in my notes, archival purposes
// Note: This works because these items have multiple products linked to them, and one of those products is still for sale.
// Contact: twitter.com/h0nde
// Date: 2019-03-22
// Open a window at roblox.com -> press F12 -> click the console tab button -> paste script -> press enter
var productIds = [
"51119013", // Slime Cape
"51119443", // Slime Sunglasses
"45038518", // Festive Winter Shades
"54591332", // Yondu’s Fin
@Kqpa
Kqpa / BrickPlanet.md
Last active January 3, 2022 16:14
Criticism about BrickPlanet

A Brief History Lesson

Before we start, I want to make it clear that I have never been a member of the BrickPlanet community; I tried it out a few years back and promptly forgot about it. All I know was obtained from other respected members of the community, the wiki page, and a variety of additional sources. In case you didn't know, BrickPlanet is a project, a confusing one. It's a sandbox website that imitates Roblox, Core, and other similar games. But it's also a project that has never been entirely successful, even when given every opportunity. And today I'll be talking about how BrickPlanet might just be lying to their user base.

If you're a member of the Sandbox Community, you've probably heard from Isaac or BrickPlanet, and if you haven't, here's all you need to know. Isaac is the founder & owner of BrickPlanet, and he appears to be a typical PHP programmer. And then there's BrickPlanet, his only project for which he's spent thousands of dollars, and the one in which he's put in all of his time an

@Kqpa
Kqpa / polytoriaFriender.js
Last active March 6, 2022 15:06
Auto-friender for Polytoria
/*
How to use:
1: Get your CSRF token from `polytoria.com/my/settings`. You can find it by inspecting the page and searching for `CSRF`. After you find it, replace it with `token`.
2: Paste it into the console and wait for a while. You can adjust how many people you want to friend by changing the number at the 42nd line. Default is 200.
Warning: Your browser might crash. You can perform this on a server-sided virtual machine like Watson. (gitlab.com/Kqpa/watson)
*/
@Kqpa
Kqpa / SandboxModel.md
Last active December 29, 2022 19:58
Criticism about the Sandbox Model

The Sandbox Model 

It's a boring, and overused model.

If you're a member of the "Sandbox Community (SBC)," you're probably aware that it's toxic, repetitive, and insecure. Today, I'll discuss the drawbacks of the Sandbox Model.

Sandboxes are seen as "Roblox Clones" for a reason: they imitate the blocky avatars, the concept of user generated content and the way the games are made in general.

Roblox clones require six things.