$2a$11$GBfNqjgehbvMU.VHysXTfeNT5JZ.RdRgtRrzXZxFsJGslMEKxHf1i
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
module main | |
import gg | |
import gx | |
import os | |
enum KomaType { | |
fu_a | |
fu_b | |
kei |
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
Domain | Reason |
---|
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/sh | |
killed() { | |
echo -e '\033[32m* Aborted.\033[m' | |
exit | |
} | |
trap killed sigint | |
JAIL="140amd64" # Jail name | |
TARGETS="laptop desktop" # List of setname |
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
#!/usr/bin/env bash | |
# UmiCursor/ReiCursor Converter for X11/Wayland | |
# Usage: | |
# 1. Download UmiCursor/ReiCursor | |
# https://booth.pm/ja/items/4568548 | |
# https://booth.pm/ja/items/6090702 | |
# 2. Install win2xcur | |
# https://github.com/quantum5/win2xcur |
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
// Written on: 2022/08/14 | |
use num_bigint::BigUint; | |
fn main() { | |
let n = "100"; | |
let m: BigUint = n.parse().unwrap(); | |
let mut number = BigUint::from(0_u8); |
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
// Written on: 2021/08/19 | |
use enigo::*; | |
use std::{io, thread, time}; | |
fn main() { | |
let mut interval = 0; | |
let mut is_ok = false; | |
while !is_ok { |
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
// Written on: 2021/10/18 | |
fn main() { | |
for i in 1..10000 { | |
println!("{} : {}", i, collatz(i)); | |
} | |
} | |
fn collatz(mut num: i32) -> String { | |
let mut out = num.to_string(); |
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
// Written on: 2021/10/31 | |
fn factor(a: i32, b: i32, c: i32) -> String { | |
let mut a_pattern = Vec::new(); | |
let mut c_pattern = Vec::new(); | |
a_pattern.push(vec![1, a]); | |
c_pattern.push(vec![1, c]); | |
for i in 2..a { |
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
// Written on: 2022/02/20 | |
use std::io; | |
use num_bigint::BigUint; | |
fn main() { | |
println!("Type a number:"); | |
let number = read(); | |
let factors = factorize(number.clone()); |
NewerOlder