I have good projects and shitposts gone wrong, looking at my repositories will let you know which is which and which is both. I've been doing computer stuff as long as I can remember and I enjoy it. My strong suits are backend, realtime, and lower level programs. Fuck frontend though I hate that shit.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am riku32 on github. | |
* I am riku32 (https://keybase.io/riku32) on keybase. | |
* I have a public key ASBwTLiWcGc68SmRjdvAZKD0g_zDpJYoA4P5toadFxN9ugo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Discord = require('discord.js') | |
const client = new Discord.Client(); | |
const token = '' | |
const channel = '' | |
const deletemsg = false | |
client.on('guildMemberRemove', (member) => { | |
member.ban() | |
client.channels.cache.get(channel).send(`@everyone ${member.user.tag} just got banned cus they left lmfao`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys, time | |
import pygame | |
pygame.init() | |
myfont = pygame.font.SysFont('Arial', 25) | |
size = width, height = 1000, 1000 | |
# Colors | |
speed = [2, 2] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Dependencies: maim, curl, jq, libnotify-bin, xclip | |
TOKEN="some-token" | |
function _notify() { | |
notify-send --expire-time 2000 \ | |
--app-name 'kawaii.sh' \ | |
--icon 'flameshot' \ | |
"Screenshot" "$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "java", | |
"name": "Launch server", | |
"preLaunchTask": "runserver", | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DependencyNotFoundException extends Exception { | |
public DependencyNotFoundException(String message) { | |
super(message); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"[rust]": { | |
"editor.wordBasedSuggestions": false, | |
}, | |
"editor.semanticTokenColorCustomizations": { | |
"[Default Dark+]": { | |
"enabled": true, | |
"rules": { | |
"method.static:rust": { | |
"foreground": "#f0c506" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use derive_more::Display; | |
use thiserror::Error; | |
use actix_web::{http::StatusCode, HttpRequest, HttpResponse, Responder, ResponseError}; | |
#[derive(Debug, Display)] | |
pub struct Error(anyhow::Error); | |
/// # Response | |
/// | |
/// Utility type for error reporting. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
template <class Container, class F> | |
auto erase_where(Container& c, F&& f) { | |
return c.erase(std::remove_if(c.begin(), c.end(), std::forward<F>(f)), | |
c.end()); | |
} | |
/** | |
* @brief Reactive state. Listeners will be registered as callbacks to state |
OlderNewer