Twayback: Automate downloading archived deleted Tweets

Finding and downloading deleted Tweets takes a lot of time. Thankfully, with this tool, it becomes a piece of cake! 🎂 Twayback is a portmanteau of Twitter and the Wayback Machine. Enter your desired Twitter username, and let Twayback do the rest! Requirements Python 3 waybackpack Install: pip install waybackpack or pip3 install waybackpack Link to repo Features Can download some or all of a user’s archived deleted Tweets. Allows custom time range to narrow search for deleted Tweets archived […]

Read more

QGIS plugin to download DEMs from OpenTopography.org

QGIS plugin to dwonload DEMs from OpenTopography.org This plug-in allows you to download DEMs from OpenTopgraphy.org by specifying area extent in QGIS. The downloaded DEM wil just cover the defined extent. Extent can be defined with 1 . a Layer in the content 2 . current canvas extent 3 . user specified extent drawn on the canvas DEMs availables to donwload: SRTM 90m SRTM 30m ALOS World 3D 30m SRTM GL1 Ellipsoidal 30m Global Bathymetry SRTM15+ V2.1 Copernicus Global DSM […]

Read more

A Slack bot for playing Texas Hold ‘Em where the currency is various workout tasks e.g. pushups

A Slack app/bot for playing Texas Hold ‘Em where the currency is various workout tasks e.g. pushups. The intent is to make the workday more fun & active for remote teams. The app is ready to run on Heroku (Python+Postgres). However, it was coded with a minimalist mindset and should be easy to run outside of Heroku. The game always consists of 4 players. One player initiates via /game and the first three people in the channel to react to […]

Read more

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
1 229 230 231 232 233 927