An implementation of John Conway’s Game of Life

This is an implementation of John Conway’s Game of Life in Python, and a very basic and straightforward one at that. Installation Run the following to install the required packages: pip install -r requirements.txt Then, launch the game using: Note Feel free to play with the game window dimensions and cell scale: it might yield interesting results. GitHub View Github    

Read more

Experimental Deep Learning Video De-interlacer

Work in progress deep de-interlacer filter. It is based on the architecture proposed by Bernasconi et al. from Disney Research | Studios. Original publication Differences While the publication appears to voluntarily omit some implementation details, the implementation presented here may not match exactly the one initially thought by the authors. First, the RDB does not add the convoluted input feature maps to the output of the network. In image denoising, we add back the input as we expect the RDB […]

Read more

A flexible CTF contest platform for coming PKU GeekGame events

A flexible CTF contest platform for coming PKU GeekGame events Still in early development Highlights Not configurable is most customizable. Every contest has its unique rule, which is unlikely to be fully covered by a text file or SQL table. Our experience shows that these static configurations often disturb contest organizers when they want more customization. Instead, we trust them as decent programmers, leaving the customization to the logic in the source code that is easy to maintain and extend. […]

Read more

Binary++: An esoteric programming language for binary

Binary++ is an esoteric programming language based on* binary. * It’s meant to be based on binary, but you can write Binary++ code using different means. Features Stack and heap(?) based. I don’t think this is actually a heap but I don’t have a better term for it. Full STDIN/OUT access A free, unlimited use “I code in Binary” pass Examples To clarify, the examples shown here are in the binary representations of each character. The code itself usually contains […]

Read more

Oblique: Shows koans from Oblique Strategies

You can get the official as well. ❯ pip install oblique ❯ python -m oblique –help Usage: python -m oblique [OPTIONS] Options: –edition TEXT Which OS editions to include? [default: 1,2,3,4] –extra Include additional koans found online [default: False] –python Include Monty Python quotes [default: False] –count INTEGER How many koans to show [default: 3]    

Read more

File-based TF-IDF: Calculates keywords in a document, using a word corpus

Calculates keywords in a document, using a word corpus. Why? Because I found myself with hundreds of plain text files, with no way to know what each one contains. I then recalled this thing called TF-IDF from university, but found no utility that operates on files. Hence, here we are. How? Basically, each word in the current document gets a score. The score increases each time the word it appears in this document, and decreases each time it appears in […]

Read more

Parse URLs for DOIs, PubMed identifiers, PMC identifiers, arXiv identifiers, etc

Parse URLs for DOIs, PubMed identifiers, PMC identifiers, arXiv identifiers, etc. This module has a single parse() function that takes in a URL and gives backa CURIE pair (with None as the first entry if it could not parse) >>> import citation_url >>> citation_url.parse(“https://joss.theoj.org/papers/10.21105/joss.01708”) (‘doi’, ‘10.21105/joss.01708’) >>> citation_url.parse(“http://www.ncbi.nlm.nih.gov/pubmed/34739845”) (‘pubmed’, ‘34739845’) >>> citation_url.parse(“https://example.com/true-garbage”) (None, ‘https://example.com/true-garbage’) 🚀 Installation The most recent release can be installed fromPyPI with: $ pip install citation_url The most recent code and data can be installed directly from […]

Read more

A python tool to find good RCE

A tool to find good RCEFrom my series: A powerful Burp extension to make bounties rain Well i got exactly what you need this burpsuite extension powered by a powerful AI engine, find good RCE and report it, all you need is to install it and browse sites like normal unsuspecting users (how cool is that). Download and install    

Read more

Official repository of our paper Differentiable Wavetable Synthesis

Official repository of our paper “Differentiable Wavetable Synthesis” accepted by ICASSP 2022. @article{shan2021differentiable, title={Differentiable Wavetable Synthesis}, author={Shan, Siyuan and Hantrakul, Lamtharn and Chen, Jitong and Avent, Matt and Trevelyan, David}, journal={arXiv preprint arXiv:2111.10003}, year={2021} } Our codes are based on DDSP, please first set up the environments as desribed here. To train our model on Nsynth dataset, run    

Read more

A small script to help me solve Wordle

A small script to help me solve Wordle because I’m that lazy. Warning: I didn’t write this to be efficient nor elegant at all, so you’ll probably have a hard time with the UI and the untidy code. I just thought I might as well save it to GitHub. Usages Clone/download the repo: git clone https://github.com/k4yt3x/wordle-solver.git cd wordle-solver/src Install dependencies: pip3 install -U -r requirements.txt Launch the script: The script will give you an initial guess. If this word exists […]

Read more
1 217 218 219 220 221 915