Instantly share code, notes, and snippets.

View plot.py
from numpy import *
import matplotlib.pyplot as plt
def draw_plot(*func, x_label, y_label, x_range, unit='x', lim_axes=False, point=None, point_text="", flip_point=False):
# Draw a subplot
fig, ax = plt.subplots()
plot_range = arange(x_range[0], x_range[1], 0.01)
# Draw the plots
View autoexec.cfg
clear
// ================== Rates ===================
echo
echo "Initializing RATES"
echo
rate "128000"
cl_cmdrate "128"
cl_updaterate "128"
View build.gradle
buildscript {
ext.kotlin_version = '1.0.6'
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
View build.gradle
plugins {
id 'com.github.johnrengelman.shadow' version '1.2.4'
id 'application'
id 'java'
}
group 'me.dinosparkour'
version '0.0.1'
mainClassName = "${group}.App"
View deeBot.md

!!8ball [question]:

Returns an answer to your question by the almighty 8-ball.

!!addrole [user] [role]:

Adds a role to the specified user.

!!announcement (duration / reset) (time unit) (text):

View time.java
public static String getCreationTime(long id) {
SimpleDateFormat sdf = new SimpleDateFormat("dd-MM-yyyy HH:mm:ss z");
sdf.setTimeZone(TimeZone.getTimeZone("GMT"));
return sdf.format(id >> 22 + 1420070400000L);
}