This file contains hidden or 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
#--------------------------------------------------------------------# | |
# ClearLag Configuration File # | |
#--------------------------------------------------------------------# | |
# Configure to your liking, reload the config by tying: /lagg reload # | |
# - # | |
# Here is a helpful tutorial on this configuration setup! (Updated) # | |
# http://dev.bukkit.org/bukkit-plugins/clearlagg/pages/config-setup/ # | |
#--------------------------------------------------------------------# | |
# All possible mob names: https://goo.gl/cch8YK # | |
#--------------------------------------------------------------------# |
This file contains hidden or 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
A B C D Y | |
0 0 0 0 0 | |
0 0 0 0 0 | |
0 0 0 0 0 | |
0 0 0 0 0 | |
0 0 0 1 0 | |
0 0 0 1 0 | |
0 0 0 1 0 | |
0 0 0 1 0 | |
0 0 1 0 0 |
This file contains hidden or 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
from typing import Tuple | |
from sympy import sieve | |
def prime_factorization(n: int) -> Tuple[int, int]: | |
if n < 0: | |
raise RuntimeError("Invalid number has passed. Please specify number in the range: 1~") | |
first_factor = find_greatest_factor(n) |
This file contains hidden or 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 os | |
import discord | |
class MainClient(discord.Client): | |
def __init__(self, token: str): | |
intents = discord.Intents.all() | |
intents.members = True | |
super(MainClient, self).__init__(presences=True, guild_subscriptions=True, intents=intents) |
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"time" | |
) | |
const letters = "0123456789ABCDEF" |
This file contains hidden or 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
function FindProxyForURL(url, host) { | |
return "SOCKS 172.16.226.147:1080"; | |
} |
This file contains hidden or 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
int is_sorted(int target_array[], int array_length) { | |
for (int i = 0; i < array_length - 1; i++) { | |
if (target_array[i] > target_array[i+1]) { | |
return 0; | |
} | |
} | |
return 1; | |
} |
This file contains hidden or 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
// | |
// Created by Manaki ITO on 2021/05/07. | |
// | |
#include <stdio.h> | |
#include <stdlib.h> | |
#define print_green(...) {printf("\x1b[32m"); printf(__VA_ARGS__); printf("\x1b[39m\n");} | |
#define print_yellow(...) {printf(" \x1b[33m"); printf(__VA_ARGS__); printf("\x1b[39m\n");} | |
#define print_error(...) {fprintf(stderr, "\x1b[31m"); fprintf(stderr, __VA_ARGS__); fprintf(stderr, "\x1b[39m\n");} | |
#define fatal(exit_code, ...) {print_error(__VA_ARGS__); exit(exit_code);} |
This file contains hidden or 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
// | |
// Created by Manaki ITO on 2021/06/17. | |
// | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define DEFAULT_STR_BUFFER_LENGTH 512 | |
#define DEFAULT_BUFFER_BYTES DEFAULT_STR_BUFFER_LENGTH * sizeof(char) |
This file contains hidden or 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
([1-2]-[1-5])|([3-5](M[1-2]|E|I|C)) |