onelinerizer
mdp
Our great sponsors
onelinerizer | mdp | |
---|---|---|
19 | 9 | |
1,514 | 4,875 | |
- | - | |
0.0 | 4.7 | |
over 2 years ago | 5 months ago | |
Python | C | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
onelinerizer
-
Flatliner: turn python programs into one line of (still python) code
Very cool. Also, Chelsea Voss did this in 2016 with Python 2 (https://github.com/csvoss/onelinerizer) and did a great talk about it at PyCon (https://www.youtube.com/watch?v=DsUxuz_Rt8g) . She also has try/except working, maybe something similar to her solution would also work in Python 3.
-
I think someone broke the matrix!
Ahhh, allow me to introduce you to Oneliner-izer. Devs smarter than me laugh at your thinking loops cannot be implemented in a single line without semicolons
-
C'mon Python, surely you can figure out what I meant
lambda would like a word
-
The next level of if even
It’s still possible to have it be a single line in Python!! http://www.onelinerizer.com
-
I compressed a pong game into 14 lines of code! See if you can improve it!
Outdated but if you downgrade to python 2 or figure something out from the examples: http://www.onelinerizer.com/
-
Python f-strings Are More Powerful Than You Might Think
Entire python programs can be converted to a single one-line expression.
-
What is your favourite Rust specific feature that you miss in other languages?
And then there's also oneline.py, the mother of Python onelineization.
-
The JSF*ck Keyboard, an entirely original idea.
For a similarly awful idea in python, observe the onelinerizer
-
Is there any code in python that provably needs more than one line to run?
No, in fact Chelsea Voss made http://www.onelinerizer.com/ which can convert any Python (2) program into one line (without using eval, compile, exec or semicolons). The approaches used are talked about in this PyCon 2016 talk: https://www.youtube.com/watch?v=DsUxuz_Rt8g
-
Pro tip for debugging!
You're welcome.
mdp
-
Marp: Markdown Presentation Ecosystem
It depends on what you are presenting. I found [mdp](https://github.com/visit1985/mdp) to be very useful when presenting a tech talk. It is easy to copy and paste from the source material, it can be done all via the terminal, and it views well as a README on github.
Here is an example of a presentation I gave:
https://github.com/veganjay/prefectdemo/blob/main/presentati...
-
Converting old Lenovo R60 era Laptop into terminal/text mode only linux utility machine
It is absolutely possible. Use Lynx for web browsing, use TMUX for split screen, use BC for calculator, use KHAL for calendar and of course use RTV for Reddit. :-) Here is a great list of CLI apps: https://github.com/agarrharr/awesome-cli-apps Here are some of my favorites though: - https://github.com/GothenburgBitFactory/timewarrior - https://github.com/IonicaBizau/idea - https://github.com/jeffkowalski/geeknote - https://github.com/insanum/sncli - https://github.com/visit1985/mdp - https://github.com/astefanutti/decktape - https://github.com/insanum/gcalcli - https://github.com/pimutils/khal - https://dianne.skoll.ca/projects/remind/ - https://github.com/zquestz/s - https://github.com/yudai/gotty - https://github.com/axiros/terminal_markdown_viewer - https://github.com/chubin/wttr.in - https://github.com/schachmat/wego - https://github.com/tldr-pages/tldr
- A command-line based Markdown presentation tool
- Mdp - A command-line based markdown presentation tool.
-
A list of new(ish) command line tools – Julia Evans
> I recently found out about mdp too, a way to display markdown in the terminal as slides.
> https://github.com/visit1985/mdp
I use pandoc to convert markdown to powerpoint decks, it's a great workflow as you can preview and tweak the content and then apply the firm theme before the presentation.
-
Making Slides for Presentations
If all you need is text on your slides, then mdp could be fun! I used it during an interview a while back.
-
Slides - a terminal based presentation tool
Hmmm.. interesting. I used mdp a few times - perhaps I should give this one a whirl.
-
What side effects?
Have you ever heard of terminal based presentations with mdp?
What are some alternatives?
Power-Fx - Power Fx low-code programming language
slides - Terminal based presentation tool
Transcrypt - Python 3.9 to JavaScript compiler - Lean, fast, open! -
sent - a simple plaintext presentation tool
movfuscator - The single instruction C compiler
mandown - man-page inspired Markdown viewer
JavaWord - Microsoft Word as a Java "IDE"
vmtouch - Portable file system cache diagnostics and control
fetlang - Fetish-themed programming language
dive - A tool for exploring each layer in a docker image
MSPaintIDE - Programming in MS Paint
git-crypt - Transparent file encryption in git