Weekly Shaarli

All links of one week in a single page.

Week 07 (February 10, 2020)

mndrix: SMS over IRC

A couple years ago, I moved from Google Voice to custom infrastructure .  That system used XMPP to send SMS.  Now that I've moved from XMPP ...

Taskwarrior – intelligent TODO list | Hacker News

Todo vim integration discussion; different systems from paper to file-system oriented to org-mode to plain markdown discussed

GitHub - ralphbean/taskw: python taskwarrior api
thumbnail

python taskwarrior api. Contribute to ralphbean

Ben Awad - The Downfall of Actix Web
thumbnail

[20:00]

Note: Using PKGBUILD to create custom archlinux package repositories

There are many different resources:

Basics:

PKGBUILD and Archrepo explanation:

PKGBUILD examples:

CI/CD:

  • extensive automated builds -- fetching from different repositories and automatically hosting on gitlab pages (very useful resource); awesome documentation
  • more minimal setup -- using 1 repository for packages; mainly bash building, does not deploy a gitlab pages repo (can be adapted from above link); nicely documented
  • in-between -- look at ci-library.sh/ci-build.sh; more well-established practices than repo above; but almost-nonexistent documentation
-force considered harmful; understanding git's -force-with-lease - Atlassian Developer Blog
thumbnail

Reading Time: 5 minutes Git’s push --force is destructive because it unconditionally overwrites the remote repository with whatever you have locally, possibly overwriting any changes that…

Additional Information on Undoing things in git: https://git-scm.com/book/en/v2/Git-Basics-Undoing-Things

Titan - Home

version controlled data storage (using mongodb, mysql or other underlying data storage) -- like git for data (with commits, checkouts, branches, pulls, pushes etc)

v/building-a-simple-web-blog-with-vweb.md at master · vlang/v · GitHub
thumbnail

Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero dependencies. https:

GitHub - red-bin/password_finder: Finds the strongest password(s) from a url using passwordmeter
thumbnail

Finds the strongest password(s) from a url using passwordmeter - red-bin

Keep in sync your Git repos on GitHub, GitLab & Bitbucket
Note: Cheap Hosting and Object Storage Solution

Problem:

  • hetzner is cheap, but only supplies 20GB SSD space; its storage is block-storage and relatively pricey (~5€ for 50gb)

  • nextcloud works with object storage -- we can get much cheaper storage solutions through this

  • Wasabi is a cheap object storage solution (1TB for 5€)

  • Contabo is a cheap VPS hosting solution (faster than hetzner, 4core cpu, 8gb ram and 200gb ssd for 4,99€; or 300gb hdd for 3,99 w/2cores,4g ram)

  • Migrate over to contabo + wasabi

News API - A JSON API for live news and blog articles

Search worldwide news articles and headlines from all over the web in real-time with our free News API.

Note: Programming Learning Resources - Katas etc
  • Rosetta Code -- Code Problem repository; from simple to hard with solutions for many languages
  • Project Euler -- Code Problem repository; generally a bit harder, more algorithm-focused than Rosetta
  • Exercism -- mentor-based code exercises. You send in problem solutions via cli, and a mentor can check them and give tips to you. FOSS
  • CodeWars -- 'compete' against others in exercises; you send in solutions and people can vote on how successful (or elegant) your solution is
Command-line Spell Checking with Aspell - Scott J Roberts - Medium
thumbnail
In Bash, when to alias, when to script, and when to write a function?
thumbnail
Note: Different approaches to PaaS -- Heroku Self-hosting alternatives
  • Dokku -- really small quick and painless setup, single instance hosting, get up running in minutes and deploy containerized apps with simple git push. Awesome for tiny to small projects.
  • Flynn -- slightly bigger and more involved, can scale to multiple servers by creating its own cluster, interaction is similar to dokku (i think) -- DEAD
  • Rack -- most similar to heroku, I am not sure if complete self-hosting is possible; but follows simple deployment model and allows full use of 12factor apps
  • Porter -- built for Kubernetes, seems more involved not sure about corporate backing or community involvement
GitHub - tbabej/taskwiki: Proper project management with Taskwarrior in vim.
thumbnail

Proper project management with Taskwarrior in vim. - tbabej

GitHub - simonthum/git-sync: Safe and simple one-script git synchronization
thumbnail

Safe and simple one-script git synchronization.

Idea is continuous history (a la gopass git) -- it's not a pretty history, but it automatically syncs on filechanges.

Sandi Metz - What Makes Developers Unhappy
thumbnail

[32:36]

Bash Strict Mode
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
T450s arch linux tlp or powertop? : thinkpad

Power management with tlp and powertop , some applicable to dell xps

-> also check archwiki powertop and xps pages

and: https://www.reddit.com/r/Dell/comments/6s2e3w/optimizing_dell_xps_for_linux/

If Operating Systems Were Airlines | Jason Watkins
SIWI » Getting Started with Freenode IRC

...

Home | Documentation - Jellyfin Project

Jellyfin -- plex/emby alternative, completely FOSS and forked form emby when they went closed source

tip: show sxhkd keybindings with fuzzy search : bspwm
thumbnail
GitHub - so-fancy/diff-so-fancy: Good-lookin' diffs. Actually… nah… The best-lookin' diffs.
thumbnail

Good-lookin' diffs. Actually… nah… The best-lookin' diffs. :tada: - so-fancy

ubuntu - dpkg cannot find ldconfig/start-stop-daemon in the PATH variable
thumbnail
The Twelve-Factor App

A methodology for building modern, scalable, maintainable software-as-a-service apps.

bash - How to check if a pipe is empty and run a command on the data if it isn't? - Unix & Linux Stack Exchange
thumbnail

Check if pipes (stdin) are empty.

Also see for additional information on string checking: https://stackoverflow.com/questions/12137431/test-if-a-command-outputs-an-empty-string