The environement are configured from ~/.config/nvim
#compdef openstack aodh barbican ceilometer cinder cloudkitty designate glance gnocchi heat ironic keystone magnum manila mistral monasca murano neutr | |
# https://wiki.openstack.org/wiki/OpenStackClients | |
# http://docs.openstack.org/user-guide/common/cli-install-openstack-command-line-clients.html | |
local curcontext="$curcontext" state line expl ret=1 | |
local -a clnts_compl_new clnts_compl_old clnts_swift_like | |
# |
# profile folder | |
$profileFolder = split-path $profile | |
# save last 100 history items on exit; with the 'exit' command | |
$historyPath = Join-Path $profileFolder "ps_history.xml" | |
# hook powershell's exiting event and hide the registration with -supportevent. | |
Register-EngineEvent -SourceIdentifier powershell.exiting -SupportEvent -Action { | |
Get-History -Count 100 | Export-Clixml (Join-Path $profileFolder "ps_history.xml") } |
#!/usr/bin/env sh | |
# Generate an AUTHORS file based on the output of git shortlog. It uses ABC | |
# order, strips out leading spaces and numbers, then filters out specific | |
# authors. | |
git shortlog -se \ | |
| perl -spe 's/^\s+\d+\s+//' \ | |
| sed -e '/^CommitSyncScript.*$/d' \ | |
> AUTHORS |
# SSH Agent Functions | |
# Mark Embling (http://www.markembling.info/) | |
# | |
# How to use: | |
# - Place this file into %USERPROFILE%\Documents\WindowsPowershell (or location of choice) | |
# - Import into your profile.ps1: | |
# e.g. ". (Resolve-Path ~/Documents/WindowsPowershell/ssh-agent-utils.ps1)" [without quotes] | |
# - Enjoy | |
# | |
# Note: ensure you have ssh and ssh-agent available on your path, from Git's Unix tools or Cygwin. |
#!/usr/bin/env bash | |
# | |
# Open new iTerm window from the command line using v3 syntax for applescript as needed in iTerm2 Version 3+ | |
# This script blocks until the cmd is executed in the new iTerm2 window. It then leaves the window open. | |
# TODO Add option to close iTerm2 after cmd execs | |
# See also https://www.iterm2.com/documentation-scripting.html | |
# | |
# Usage: |
We will generate a master key with only the Certify capability and three subkeys with each of the Sign, Encrypt and Authenticate capabilities. These latter three keys are meant for daily use and will be transferred to an OpenPGP smartcard, which has three corresponding slots. The master private key can then be moved to offline cold storage, or stored on a second smartcard.
We are generating keys on a secure computer instead of on the card, because it allows more flexibility. Ideally this means a machine running Tails or one that is air-gapped and not connected to the internet.
This guide assumes that if you want to sign other peoples keys, then you will require the aforementioned secondary smartcard with your master key stored in its Signature slot, or if you only have one smartcard, then you'll have to fetch the master key out of cold storage. By default, GPG generates a master key with the Certify and
SSL Labs
is great, but only support port 443
.
--- BEFORE USING, change language entries to fit your needs. | |
local lspconfig = require'lspconfig' | |
local configs = require'lspconfig/configs' | |
local util = require 'lspconfig/util' | |
local Dictionary_file = { | |
["pt-BR"] = {vim.fn.getenv("NVIM_HOME") .. "spell/dictionary.txt"} -- there is another way to find ~/.config/nvim ? | |
} | |
local DisabledRules_file = { |
Install from the AUR.