Helper setup to edit .yaml files with Vim:
List of general purpose commands for Kubernetes management:
Helper setup to edit .yaml files with Vim:
List of general purpose commands for Kubernetes management:
| # 1. First of all of course get Manjaro: | |
| https://manjaro.org/get-manjaro/ | |
| # I recommend using Etcher to copy the image to your USB: | |
| https://etcher.io/ | |
| # 2. Before installing make sure: | |
| # - Secure boot is disabled in BIOS | |
| # - Your SSD, HDD or NVME drive is set to AHCI instead of RAID | |
| # - Fastboot should be on Auto or minimal, but this shouldn't matter to much |
| module.exports = (string) => { | |
| return string.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, '$1-$2').toLowerCase(); | |
| }; |
| set -g default-terminal "xterm-256color" | |
| set-option -ga terminal-overrides ",xterm-256color:Tc" | |
| set -g prefix C-x | |
| unbind-key C-x | |
| bind-key C-2 send-prefix | |
| bind \ split-window -h -c '#{pane_current_path}' | |
| bind / split-window -v -c '#{pane_current_path}' | |
| # Copy-paste integration |
| @mixin for-phone-only { | |
| @media (max-width: 599px) { @content; } | |
| } | |
| @mixin for-tablet-portrait-up { | |
| @media (min-width: 600px) { @content; } | |
| } | |
| @mixin for-tablet-landscape-up { | |
| @media (min-width: 900px) { @content; } | |
| } | |
| @mixin for-desktop-up { |
| { | |
| "name": "My Progressive Web Application", | |
| "short_name": "Progressive", | |
| "start_url": "/?home=true", | |
| "icons": [ | |
| { | |
| "src": "/icons/icon36.png", | |
| "sizes": "36x36", | |
| "type": "image/png" | |
| }, |
| var WPAPI = require( 'wpapi' ); | |
| var wp = new WPAPI({ | |
| endpoint: endpointUrl, | |
| oauth: { | |
| clientId: clientId, | |
| clientSecret: clientSecret, | |
| callback: callbackUrl // optional: (defaults to oob) | |
| } | |
| }); |
| <script src="https://unpkg.com/@webcomponents/custom-elements"></script> | |
| <style> | |
| body { | |
| margin: 0; | |
| } | |
| /* Style the element from the outside */ | |
| /* | |
| fancy-tabs { | |
| margin-bottom: 32px; |
Below is the list of modern JS frameworks and almost frameworks – React, Vue, Angular, Ember and others.
All files were downloaded from https://cdnjs.com and named accordingly.
Output from ls command is stripped out (irrelevant stuff)
$ ls -lhS
566K Jan 4 22:03 angular2.min.js
| /** | |
| * Generate a custom sort method for given starting `order`. After the given | |
| * order, it will ignore casing and put periods last. So for example a call of: | |
| * | |
| * sorter('Overview'); | |
| * | |
| * That is passed: | |
| * | |
| * - Analytics.js |