Skip to content

Instantly share code, notes, and snippets.

Avatar

reputationdev

View GitHub Profile
View pi.txt
3.14159265358979323846264338327950288419716939937510582097494459230781640628620899862803482534211706798214808651328230664709384460955058223172535940812848111745028410270193852110555964462294895493038196442881097566593344612847564823378678316527120190914564856692346034861045432664821339360726024914127372458700660631558817488152092096282925409171536436789259036001133053054882046652138414695194151160943305727036575959195309218611738193261179310511854807446237996274956735188575272489122793818301194912983367336244065664308602139494639522473719070217986094370277053921717629317675238467481846766940513200056812714526356082778577134275778960917363717872146844090122495343014654958537105079227968925892354201995611212902196086403441815981362977477130996051870721134999999837297804995105973173281609631859502445945534690830264252230825334468503526193118817101000313783875288658753320838142061717766914730359825349042875546873115956286388235378759375195778185778053217122680661300192787661119590921642019893809525720106548586327
@reputationdev
reputationdev / hello.pl
Created Apr 28, 2022
Hello World In Plankalkül
View hello.pl
R1.1(V0[:SIG]) => R0
R1.2(V0[:M X SIG]) => R0
0 => I | M + 1 => J
[W [ I < J -> [ R1.1(V0[I: M X SIG]) => R0 | I + 1 => I ] ] ] END
R1.3() => R0
‘H’;’E’;’L’;’L’;’O’;’,’;’ ‘;’W’;’O’;’R’;’L’;’D’;’!’ => Z0[: M X SIG] R1.2(Z0) => R0
END
@reputationdev
reputationdev / hello.for
Created Apr 28, 2022
Hello World in Fortran
View hello.for
program hello
! This is a comment line; it is ignored by the compiler
print *, 'Hello, World!'
end program hello
@reputationdev
reputationdev / helloworld.asm
Created Apr 28, 2022
Hello World in x86 Assembly
View helloworld.asm
org 0x100
mov dx, msg
mov ah, 9
int 0x21
mov ah, 0x4c
int 0x21
@reputationdev
reputationdev / helloworld.bf
Created Apr 28, 2022
Hello world in BrainFuck
View helloworld.bf
>++++++++[<+++++++++>-]<.
>++++[<+++++++>-]<+.
+++++++..
+++.
>>++++++[<+++++++>-]<++.
------------.
>++++++[<+++++++++>-]<+.
<.
+++.
------.
@reputationdev
reputationdev / FizzBuzz.java
Created Apr 28, 2022
FizzBuzz, but badly coded by me.
View FizzBuzz.java
public class FizzBuzz {
public static void main(String[] args) {
for(int i = 1; i != 101; i++) {
if(i % 3 == 0 && i % 5 == 0) {
System.out.println("FizzBuzz");
} else if(i % 3 == 0) {
System.out.println("Fizz");
} else if(i % 5 == 0) {
System.out.println("Buzz");
@reputationdev
reputationdev / NordVPN-Server-IP-List.txt
Created Apr 27, 2022 — forked from JamoCA/NordVPN-Server-IP-List.txt
NordVPN Server IP List; 2,590 IPs; 2020-02-04T15:31:55Z
View NordVPN-Server-IP-List.txt
103.120.66.35
103.120.66.51
103.227.255.101
103.60.9.27
103.60.9.75
103.62.49.193
103.62.49.195
103.62.49.198
103.62.49.203
103.62.49.205
@reputationdev
reputationdev / MyPlugin.java
Last active Apr 27, 2022
A One Line Plugin
View MyPlugin.java
import org.bukkit.Bukkit;import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.AsyncPlayerChatEvent; import org.bukkit.plugin.java.JavaPlugin; public class MyPlugin extends JavaPlugin implements CommandExecutor, Listener { @Override public void onEnable() { getCommand("one").setExecutor(this::onCommand); Bukkit.getPluginManager().registerEvents(this, this); getLogger().info("Enabled OneLine"); } @Override public void onDisable() { getLogger().info("Disabled OneLine!"); } @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { sender.sendMessage("Boo!"); return true; } @EventHandler public void onEvent(AsyncPlayerChatEvent event) { if(event.getMessage().toLowerCase().contains("boo")) { event.getPlayer().sendMessage("Scary!");} } }
@reputationdev
reputationdev / SimpleLogger.java
Last active Oct 14, 2022
Simple Logger For Java
View SimpleLogger.java
/*
* Worlds Worst Logger Framework For Java
* Made By: Reputation
*/
import java.text.SimpleDateFormat;
import java.util.Date;
public class SimpleLogger {
View WebhookUtil.java
package com.sliceclient.loader.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.URL;
import java.net.URLConnection;
import java.net.URLEncoder;
import java.security.MessageDigest;