A Sublime Text plugin can display images inline to improve your documentation

Sometimes ASCII art is not enough. Sometimes an image says more than a thousand words. This Sublime Text plugin can display images inline to improve your documentation. Usage Use the ![alt text](uri) markdown syntax inside a single-line comment. E. g. in Python you would use def hello(): # ![](say_hello.png) print(‘Hello’) Local images are loaded by default, remote images (https://…) aren’t. You can configure an image’s dimensions by adding HTML properties after the image markup: ![alt text](uri){width=”200″, height=”200″}. Everything between the […]

Read more

Discord exploit allowing you to be unbannable

Discord exploit allowing you to be unbannable. 9/3/2021 Found in late August.Found by Passive and Me. If a user gets banned at the same time that they join a server, Discord seems to still think the user is banned.Hence why the user won’t work, however, kicking the user from the server may work. discord_exploit.mp4 The exploit is difficult to replicate code-wise, so there is no POC source yet.If you make a working POC source, then make a pull request with […]

Read more

Kanye West Lyrics Generator in python

Kanye West Lyrics Generator Python script for generating Kanye West lyrics Put kanye.txt in the same folder as the python script and run “python kanye.py” Change numVerses at the top of the file to change the number of verses. Sample output: Verse 1: Kanye West All the street lights, glowing, happen to be Her love is all that I can see No matter how much of a thug you see I’ve been afflicted by not one, not two, but all […]

Read more

An open source API to validate the EU Covid Certificates / Green Certificates

This an open source API to validate EU Digital COVID Certificates. It receives a COVID certificate and validates it using a list of signing certificates provided by an EU member state. The server provides a simple JSON-API that returns validation result and the data stored inside a certificate. There is also a simple web frontend to test the service. There is a basic demo available at https://covid.merlinschumacher.de/ The demo neither logs IP addresses nor stores any COVID certificate data. NOTICE: […]

Read more

A Tensorflow based non-Euclidean deep learning framework

English | 简体中文 Why Non-Euclidean Geometry Considering these simple graph structures shown below. Nodes with same color has 2-hop distance whereas 1-hop distance between nodes with different color. Now how could we embed these structures in Euclidean space while keeping these distance unchanged? Actually perfect embedding without distortion, appearing naturally in hyperbolic (negative curvature) or spherical (positive curvature) space, is infeasible in Euclidean space [1]. As shown above, due to the high capacity of modeling complex structured data, e.g. scale-free, […]

Read more

A python library to create multi-page Streamlit applications with ease

The Hydralit package is a wrapping and template project to combine multiple independant (or somewhat dependant) Streamlit applications into a multi-page application. Currently the project implements a host application HydraApp and each child application simply needs to be a class deriving from the HydraHeadApp class and implement a single, simple method, run(). When converting existing applications, you can effectively put all the existing code inside the run() method and create a wrapper class deriving from HydraHeadApp. Then you create the […]

Read more
1 464 465 466 467 468 928