#Canvas 2D Particles
With no external libraries, just the standard browser features, you can make cool 2d renderings.
Enable and disable mouse movement controlled Hue:
window.mouseEffect(bool isOn)This script is for devilspie2. It will match desired windows by class, and then apply the dark theme on them.
Move specific-dark-theme-applications.lua to ~/.config/devilspie2/.
Edit the desiredWindowClasses variable in the file to change which applications this script matches.
| /** | |
| * An implementation for composing classes together. | |
| * | |
| * The composition part looks like below, using the mixin function: | |
| * | |
| * class ComposedClass extends mixin(ParentClass, ...classGenerators) { | |
| * render() { | |
| * // Note: To call something from renderTextMixin, use super | |
| * super.render() | |
| * this.renderText('Hello world'); |
Has resources and tutorials for a lot of things. Ranges from beginner to advanced.
For good tutorials teaching the fundementals, look for tags: concepts, skills and electrical engineering.
| /* | |
| Up to you how to let Jest consume this config. I ended up stringifying the export and supplying it to a terminal command. | |
| */ | |
| const path = require('path') | |
| module.exports = { | |
| transform: path.resolve(__dirname, './my-babel-jest.js') | |
| } |
I hereby claim:
To claim this, I am signing this object:
| #! /usr/bin/env bash | |
| #/ | |
| #|------------------------------------------------------------------------------- | |
| #| Util Lib for Bash | |
| #|------------------------------------------------------------------------------- | |
| #| | |
| #| Includes: | |
| #| - Shell color escapes | |
| #| - Function to print pretty errors for missing bin's |