Skip to content

Instantly share code, notes, and snippets.

View cosmicice0's full-sized avatar
☹️
:(

cosmicice cosmicice0

☹️
:(
  • Abu Dhabi
  • 02:04 (UTC +04:00)
View GitHub Profile
@cosmicice0
cosmicice0 / tables
Created May 20, 2021 15:09
Mathematical Diamond Finding Method Tables
SWAMP_CLAY COAL will work reliably on 62.5% of seeds.
Z offset 7 occurs with probability 0.375068
Z offset 4 occurs with probability 0.249943
Z offset 14 occurs with probability 0.12498
Z offset 11 occurs with probability 0.093544
Z offset 1 occurs with probability 0.0625
SWAMP_CLAY IRON will work reliably on 68.75% of seeds.
Z offset 10 occurs with probability 0.374945
Z offset 11 occurs with probability 0.187534
@cosmicice0
cosmicice0 / app.py
Created February 12, 2021 12:27
Flask Chatterbot API (https://ai.bongo.ninja/)
import os
from flask import Flask, request, abort, render_template
from chatterbot import ChatBot
from chatterbot.trainers import ListTrainer
from chatterbot.trainers import ChatterBotCorpusTrainer
from hurry.filesize import size
import psycopg2 as pg
app = Flask(__name__, template_folder='.')
@cosmicice0
cosmicice0 / keybase.md
Created January 18, 2021 12:06
keybase.io/cosmicice

Keybase proof

I hereby claim:

  • I am catcosmicice on github.
  • I am cosmicice (https://keybase.io/cosmicice) on keybase.
  • I have a public key whose fingerprint is D35C B941 90DC 2310 8968 C855 F28A 2FE4 8F81 E61D

To claim this, I am signing this object:

@cosmicice0
cosmicice0 / meme-stealer.md
Last active December 19, 2020 10:23
A Small PowerShell Script to steal meme's

Meme Stealer

A small PowerShell script to steal meme's from a URL quickly!

Requirements:

  • SSH Access to your server (OpenSSH Private Key)
  • Full permissions to the folder you want to upload meme's to (Root shouldn't be required)
  • A domain to serve meme's from
  • wget installed on your server