Location: ~/.config/waybar/
Result
Hover the most left icon will show monitoring (cpu, ram, temperature, and disk)
#!/usr/bin/env bash | |
# | |
# ssh-crypt | |
# | |
# Bash function to encrypt/decrypt with your ssh-agent private key. | |
# Requires the commands gzip, ssh-add, ssh-keygen and openssl. | |
# | |
# Uses bash-specific extensions like <<<$var to securely pass data. | |
# | |
# [email protected] 2021-11-11 - MIT Licensed |
Wayland breaks everything! It is binary incompatible, provides no clear transition path with 1:1 replacements for everything in X11, and is even philosophically incompatible with X11. Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.
Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill
) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.
# Creates remarkable_backup-(date).tar.gz with todays date, backs up /home/root. | |
( | |
ssh [email protected] 'tar cf - .' \ | |
| gzip >remarkable_backup-$(date '+%Y-%m-%d').tar.gz | |
) 2 >err.log | |
cat err.log |
Data science has a really bad reputation recently. Between Facebook's privacy violations , facial scanning at kiosks in restaurants, and racism in algorithms, there are a lot of cases where surveillance, invasion of privacy, and unethical algorithms are dominating the news.
These cases are really important to make public, study, and prevent. But it's just as important to collect examples of good use cases of data science (that are not hyperbolized or PR fluff) so we can focus on those as an industry, and learn about what makes them work, as well.
Have some? Make some? Feel free to leave a comment or edit.
#! /bin/bash | |
# for this to work correctly, make an empty directory and put this shellscript inside it, along with the patch 'gtk3_make_filechooser_not_suck.patch'. | |
# Running this in a directory with a previous gtk source tree or any other files or directories may make this script behave unexpectedly! | |
# the patch file is found at: | |
# https://gist.github.com/wyatt8740/ae82550264564e2bba49b58d3e07f0f5. | |
# raw patch file (direct link): | |
# https://gist.github.com/wyatt8740/ae82550264564e2bba49b58d3e07f0f5/raw/bc5bc32d15e852ba92a8b0b710e01960c371ba8b/gtk3_make_filechooser_not_suck.patch |
The following compares the output of several creative hash functions designed for human readability.
sha1's are merely used as arbitrary, longer, distributed input values.
input | 1 word output | 2 word output | 3 word output |
---|
diff -x '*.html' -x '*.png' -a -r -u a/gtk+-3.22.7/gtk/gtkfilechooserwidget.c b/gtk+-3.22.7/gtk/gtkfilechooserwidget.c | |
--- a/gtk+-3.22.7/gtk/gtkfilechooserwidget.c 2016-12-30 09:55:56.000000000 -0500 | |
+++ b/gtk+-3.22.7/gtk/gtkfilechooserwidget.c 2017-01-25 19:38:43.000000000 -0500 | |
@@ -2420,7 +2420,10 @@ | |
gdk_device_get_source (device) == GDK_SOURCE_TOUCHSCREEN; | |
get_selection_modifiers (widget, event, &modify, &extend); | |
- if (!is_touchscreen && | |
+ /* Ubuntu, disable the new behaviour of opening sometime on single click | |
+ it's confusing for users and the change had no rational |
[package] | |
name = "parsetest" | |
version = "0.1.0" | |
authors = ["Will Speak <[email protected]>"] | |
[dependencies] | |
[[bin]] | |
name = "parsetest" | |
path = "main.rs" |