All of the following information is based on go version go1.17.1 darwin/amd64.
| GOOS | Out of the Box |
|---|---|
aix |
✅ |
android |
✅ |
| " ~/.idea-lazy.vim | |
| " LazyVim mappings for Jetbrains IDEs | |
| " Required plugins. https://plugins.jetbrains.com/bundles/7-ideavim-bundle | |
| " IDEAVim | |
| " Which-Key | |
| " IdeaVim-Sneak | |
| " To install, add this to the top of your ~/.ideavimrc: |
| # | |
| # Taken from https://www.gadgetdaily.xyz/create-a-cool-sliding-and-scrollable-mobile-menu/ | |
| # | |
| # Convert value returned from Linux event device ("evdev") to a HID code. This | |
| # is reverse of what's actually hardcoded in the kernel. | |
| # | |
| # Lubomir Rintel <[email protected]> | |
| # License: GPL | |
| # | |
| # Ported to a Python module by Liam Fraser. |
| docker run \ | |
| --name {{printf "%q" .Name}} \ | |
| {{- with .HostConfig}} | |
| {{- if .Privileged}} | |
| --privileged \ | |
| {{- end}} | |
| {{- if .AutoRemove}} | |
| --rm \ | |
| {{- end}} | |
| {{- if .Runtime}} |
vim
neovim
kitty
alacritty
vimium
karabiner
hammerspoon.app
| Jenkins Best Practices | |
| https://en.wikipedia.org/wiki/Continuous_integration<- Read this! | |
| https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Best+Practices | |
| http://www.slideshare.net/andrewbayer/7-habits-of-highly-effective-jenkins-users | |
| Set up version control of job configurations | |
| Keep jobs simple! Don't put a ton of bash in each job. If a job needs to do something complex, put it in a script in GitHub and check it out as needed. | |
| Use templated builders to simplify common tasks | |
| Keep all scripts in version control - avoid running scripts that live on the Jenkins server filesystem | |
| Don't install unnecessary plugins - plugins are often written by third parties and can interact with each other in strange ways | |
| Use LDAP authentication if possible for traceability - avoid anonymous access |
| -- Reference: https://templ.guide/commands-and-tools/ide-support/ | |
| local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" | |
| if not vim.loop.fs_stat(lazypath) then | |
| vim.fn.system({ | |
| "git", | |
| "clone", | |
| "--filter=blob:none", | |
| "https://github.com/folke/lazy.nvim.git", | |
| "--branch=stable", -- latest stable release |
| Ansible playbook to setup HTTPS using Let's encrypt on nginx. | |
| The Ansible playbook installs everything needed to serve static files from a nginx server over HTTPS. | |
| The server pass A rating on [SSL Labs](https://www.ssllabs.com/). | |
| To use: | |
| 1. Install [Ansible](https://www.ansible.com/) | |
| 2. Setup an Ubuntu 16.04 server accessible over ssh | |
| 3. Create `/etc/ansible/hosts` according to template below and change example.com to your domain | |
| 4. Copy the rest of the files to an empty directory (`playbook.yml` in the root of that folder and the rest in the `templates` subfolder) |
System directories
| Method | Result |
|---|---|
| Environment.getDataDirectory() | /data |
| Environment.getDownloadCacheDirectory() | /cache |
| Environment.getRootDirectory() | /system |
External storage directories