onelinerhub
slickstack
Our great sponsors
onelinerhub | slickstack | |
---|---|---|
15 | 4 | |
788 | 597 | |
1.3% | 1.3% | |
10.0 | 9.8 | |
about 1 month ago | 8 days ago | |
PHP | Shell | |
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.
onelinerhub
-
Best Websites For Coders
Library or micro code solutions : Community library of micro code pieces for popular issues.
-
Aligning text horizontally and vertically with PHP GD
We use (400 - $p[2])/2 to calculate x coordinate so our text is centered horizontally. Open original or edit on Github.
-
10 Useful vim commands for coders
More useful Vim commands, add your commands on Github.
-
Getting and setting headers in Node.js HTTP server
Open original or edit on Github.
-
3 code pieces to work with file path in Node.js
Original version, improve this code.
-
Help us collect modern Python NumPy code solutions
The suggested solution https://github.com/Onelinerhub/onelinerhub/blob/34467e427cc6... still runs out of memory with many files.
I believe the original intention behind using mode="a" was to append to the output file while reading the input files at the same time. This way, there is no need for an ever-growing string array.
But there are still many other issues like using default platform string encoding instead of detecting it properly or at least using utf-8, checking for ".txt" anywhere in the path instead of at the end, and not closing the input files with a context manager like the output file, which suggests that this code is just pierced together from various sources.
A robust solution would require many more lines.
-
Hacker News top posts: Mar 28, 2022
Help us collect modern Python NumPy code solutions\ (23 comments)
-
Many thanks to all of you – new UI onelinerhub.com
Thank you all for great support in helping our ad-free non-profit code library project.
We've launched new UI today (thanks to your support and sponsoring!), please help us test it and make sure everything works fine. Please leave feedback using Github issues: https://github.com/nonunicorn/onelinerhub/issues
slickstack
- SlickStack – Fast WordPress on Nginx
-
Using SlickStack to Install an Optimized WordPress Automatically on Ubuntu 20.04
I recently came across SlickStrack, which is a utility for setting up WordPress on Ubuntu LTS. It sets it up with Nginx and some other configs, by which it attempts to enforce some best practices with regards to speed and security.
-
PHP-FPM pools: ondemand vs. dynamic
I know this page is like 5 years old and I cannot comment anymore (closed):
https://news.ycombinator.com/item?id=14084265
......I never heard about that mod_PHP popularity was rising again compared with FPM pools. Is that totally fake news or that was true temporarily during 2017 only?
My understand that even cPanel hosting is still mostly using PHP-FPM with Apache and .htaccess (2021). Is there any case that using mod_PHP or disabling .htaccess can be faster than PHP-FPM or that is totally wrong.
For Nginx I know FPM is really the only option. And lots of arguments about ondemand, I see a lot of tutorials saying dynamic is better, but on this config file (PHP 7.4) and it says
https://github.com/littlebizzy/slickstack/blob/master/modules/php-fpm/7.4/www-conf.txt
"ondemand is best for the majority of VPS servers (contrary to many online tutorials) .......only incredibly high traffic servers should use dynamic after tuning settings?
-
Nginx (SlickStack) vs Open Litespeed benchmarks
To be fair, in this case, SlickStack is the nginx configuration. It's maintained by nginx professionals and is readily available to view in their github repo. He didn't think it was necessary to spell it out in his forum post.
What are some alternatives?
scripts - Collection of useful scripts for Linux (git, docker, LUKS, Archlinux...)
archwiki - MediaWiki used on Arch Linux websites (read-only mirror)
high-assurance-rust - A free book about developing secure and robust systems software.
guac-install - Script for installing Guacamole on Ubuntu
fornjot - Early-stage b-rep CAD kernel, written in the Rust programming language.
lnmp - LEMP stack/LAMP stack/LNMP stack installation scripts for CentOS/Redhat Debian and Ubuntu
pi-encrypted-boot-ssh - 🔑 Raspberry Pi Encrypted Boot with Remote SSH
wikipedia-mirror - 🌐 Guide and tools to run a full offline mirror of Wikipedia.org with three different approaches: Nginx caching proxy, Kiwix + ZIM dump, and MediaWiki/XOWA + XML dump
flower - Flower: A Friendly Federated Learning Framework
WordOps - Install and manage a high performance WordPress stack with a few keystrokes
live-dl - Monitor and download live streams from YouTube
cloudflare-ddns-updater - Dynamic DNS (DDNS) service based on Cloudflare! Access your home network remotely via a custom domain name without a static IP! Written in pure BASH~