How to use:
./wordle.sh
Or try the unlimit mode:
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
(() => { | |
const SHOW_SIDES = false; // color sides of DOM nodes? | |
const COLOR_SURFACE = true; // color tops of DOM nodes? | |
const COLOR_RANDOM = false; // randomise color? | |
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
const THICKNESS = 20; // thickness of layers | |
const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
#!/bin/bash | |
status="$(wmctrl -m | grep "showing the desktop" | sed -r 's/(.*)(ON|OFF)/\2/g')" | |
if [ $status == "ON" ]; then | |
wmctrl -k off | |
else | |
wmctrl -k on | |
fi |
Here is the best setup (I think so :D) for K-series Keychron keyboards on Linux.
Note: many newer Keychron keyboards use QMK as firmware and most tips here do not apply to them. Maybe the ones related to Bluetooth can be useful, but everything related to Apple's keyboard module (hid_apple
) on Linux, won't work. As far as I know, all QMK-based boards use the hid_generic
module instead. Examples of QMK-based boards are: Q, Q-Pro, V, K-Pro, etc.
Most of these commands have been tested on Ubuntu 20.04 and should also work on most Debian-based distributions. If a command happens not to work for you, take a look in the comment section.
Older Keychron keyboards (those not based on QMK) use the hid_apple
driver on Linux, even in the Windows/Android mode, both in Bluetooth and Wired modes.
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
// munged from https://github.com/simontime/Resead | |
namespace sead | |
{ | |
class Random | |
{ |
Ctrl + Alt + Space
function ConvertGamesToITAD ($allGames) { | |
foreach ($group in $allGames | Group-Object -Property Name) { | |
$games = $group.Group | |
$playtime = ($games.Playtime | Sort-Object)[-1] | |
$status = ($games.CompletionStatus | Sort-Object)[-1] | |
@{ | |
title = $games[0].Name | |
status = ([string]$status).ToLower() | |
playtime = $playtime / 60 | |
copies = @(foreach ($game in $games) { |
overall | |
- everything can either be drawn at position (to position/entity) or at entity (to position/entity) | |
- everything can have the color changed / be tinted | |
- everything can be visible to everyone or only to specifc players or forces | |
- what is drawn on top? "Best" would be to draw the new stuff on top of the old stuff, so if you draw thing1 and then thing2, thing2 is on top of thing1 | |
things that can be drawn | |
- line, dashed line |
#elC - The elementary OS Combobulator - There are many issues within the community that tend to come up a lot. | |
#I know many of them are open bug reports, but until they are patched we can provide a consolidated list of work-arounds. | |
#I think this will be helpful for newcomers and veterans alike | |
#enable ppas | |
sudo apt install -y software-properties-common python3-software-properties python-software-properties | |
#install elementary tweaks | |
sudo add-apt-repository -y ppa:philip.scott/elementary-tweaks | |
sudo apt update -y |