Pease comment as to how you came accross this gist. :)
This is a bit of an obscure experiment to those who do not understand...
| "atom-beautify": | |
| prettyName: "Atom Beautify" | |
| homepage: "https:/atom.io/packages/atom-beautify" | |
| "autoclose-html": | |
| prettyName: "Autoclose Html" | |
| homepage: "https:/atom.io/packages/autoclose-html" | |
| "file-icons": | |
| prettyName: "File Icons" | |
| homepage: "https:/atom.io/packages/file-icons" | |
| "language-blade": |
| - [Complete List of HTML Meta Tags](https://gist.github.com/whitingx/3840905) | |
| - [List of Usable HTML Meta and Link Tags](https://gist.github.com/kevinSuttle/1997924) | |
| - [HTML5 Boilerplate explanations and suggestions of header tags](http://html5boilerplate.com/docs/head-Tips/) | |
| - [Dublic Core Meta Tags](http://www.seoconsultants.com/meta-tags/dublin/) | |
| - [Apple Meta Tags](http://developer.apple.com/safari/library/documentation/appleapplications/reference/safarihtmlref/articles/metatags.html) | |
| - [OpenGraph Meta Tags](http://opengraphprotocol.org/) | |
| - [Link Tag Meaning](http://intertwingly.net/wiki/pie/LinkTagMeaning) | |
| - [Google Chrome HTML5 Tags](http://www.html5rocks.com/) |
| env: | |
| commonjs: true | |
| es6: true | |
| extends: 'eslint:recommended' | |
| globals: | |
| Atomics: readonly | |
| SharedArrayBuffer: readonly | |
| parserOptions: | |
| ecmaVersion: 2018 | |
| rules: |
| #!/bin/sh | |
| gsettings set org.gnome.desktop.wm.keybindings activate-window-menu "['<Alt>space']"; | |
| gsettings set org.gnome.desktop.wm.keybindings begin-move "['<Alt>F7']"; | |
| gsettings set org.gnome.desktop.wm.keybindings begin-resize "['<Alt>F8']"; | |
| gsettings set org.gnome.desktop.wm.keybindings close "['<Alt>F4']"; | |
| gsettings set org.gnome.desktop.wm.keybindings cycle-group "['<Alt>F6']"; | |
| gsettings set org.gnome.desktop.wm.keybindings cycle-group-backward "['<Shift><Alt>F6']"; | |
| gsettings set org.gnome.desktop.wm.keybindings cycle-panels "[]"; | |
| gsettings set org.gnome.desktop.wm.keybindings cycle-panels-backward "[]"; | |
| gsettings set org.gnome.desktop.wm.keybindings cycle-windows "['<Alt>Escape']"; |
| /** | |
| * a simple validation class with no external requirements | |
| * @class V | |
| */ | |
| class V { | |
| /** | |
| * some of the possible data types | |
| * @static | |
| * @enum | |
| * @memberof V |
| <?php | |
| class Collection | |
| { | |
| private $data; | |
| public function __construct($data) | |
| { | |
| $this->data = $data; | |
| } |
class Compose
{
public static function pipe(callable ...$fns): Closure
{
return function ($initial) use ($fns) {
return array_reduce($fns, fn ($prev, $curr) => $curr($prev), $initial);
};
}
}| <?php | |
| /** | |
| * Class Result | |
| * | |
| * This class encapsulates the result of a callable operation, handling both success (value) and failure (error). | |
| * It implements the ArrayAccess interface for array-like access to its properties ('val' and 'err'). | |
| */ | |
| class Result implements ArrayAccess | |
| { |
| #!/usr/bin/env bash | |
| set -e | |
| # BASE SETUP | |
| sudo apt install software-properties-common apt-transport-https -y | |
| # ADD STEAM | |
| sudo dpkg --add-architecture i386 \ | |
| && curl -s http://repo.steampowered.com/steam/archive/stable/steam.gpg \ | |
| | sudo gpg --dearmor -o /usr/share/keyrings/steam.gpg > /dev/null \ |