See also:
-
Open Spotify
-
Test play/pause key in case it works already
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| # (c) 2017, Joseph Benden <joe@benden.us> | |
| # | |
| # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) | |
| from __future__ import absolute_import, division, print_function | |
| __metaclass__ = type | |
| # Synchronize history between bash sessions | |
| # | |
| # Make history from other terminals available to the current one. However, | |
| # don't mix all histories together - make sure that *all* commands from the | |
| # current session are on top of its history, so that pressing up arrow will | |
| # give you most recent command from this session, not from any session. | |
| # | |
| # Since history is saved on each prompt, this additionally protects it from | |
| # terminal crashes. |
See also:
Open Spotify
Test play/pause key in case it works already
| wget https://release.gitkraken.com/linux/gitkraken-amd64.deb | |
| sudo dpkg -i gitkraken-amd64.deb |
Normally, when you diff an [Ansible vault][], all you see is gibberish.
$ git diff -- group_vars/all/vault.yml
diff --git a/group_vars/all/vault.yml b/group_vars/all/vault.yml
index 245ccf4..90bf9ee 100644
--- a/group_vars/all/vault.yml
+++ b/group_vars/all/vault.yml
@@ -1,111 +1,111 @@
$ANSIBLE_VAULT;1.1;AES256| # 1. Install Chocolatey | |
| <# | |
| Set-ExecutionPolicy RemoteSigned -Force | |
| # Create empty profile (so profile-integration scripts have something to append to) | |
| if (-not (Test-Path $PROFILE)) { | |
| $directory = [IO.Path]::GetDirectoryName($PROFILE) | |
| if (-not (Test-Path $directory)) { | |
| New-Item -ItemType Directory $directory | Out-Null | |
| } |
| g_LastCtrlKeyDownTime := 0 | |
| g_AbortSendEsc := false | |
| g_ControlRepeatDetected := false | |
| *CapsLock:: | |
| if (g_ControlRepeatDetected) | |
| { | |
| return | |
| } |