This guide explains how to install the required drivers, access the token, view the certificates, and use it for signing operations on Ubuntu 24.04.
Before installing the SafeNet Authentication Client (SAC), install the necessary smartcard services:
This guide explains how to install the required drivers, access the token, view the certificates, and use it for signing operations on Ubuntu 24.04.
Before installing the SafeNet Authentication Client (SAC), install the necessary smartcard services:
macOS 10.14.4 introduced a keyboard shortcut that conflicts with one of IntelliJ IDEA’s best shortcuts. cmd-shift-a pops open a Terminal window running an apropos search on the text selection, rather than the command palette.
You can manually disable these keyboard shortcuts via System Preferences, but this script does this programmatically. I was unable to find any existing information about how to do this via the command line, so I rolled my own solution.
It took a long time to work out which defaults domain to find the plist for this. I probably worked out the pbs domain from this post.
$ gpg --version
gpg (GnuPG/MacGPG2) 2.2.8
libgcrypt 1.8.3
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.Stephen Ramsay - Sat, 04/09/2011 - 19:49
A few weeks ago, I realized that I no longer use graphical applications.
That’s right. I don’t do anything with GUI apps anymore, except surf the Web. And what’s interesting about that, is that I rarely use cloudy, AJAXy replacements for desktop applications. Just about everything I do, I do exclusively on the command line. And I do what everyone else does: manage email, write things, listen to music, manage my todo list, keep track of my schedule, and chat with people. I also do a few things that most people don’t do: including write software, analyze data, and keep track of students and their grades. But whatever the case, I do all of it on the lowly command line. I literally go for months without opening a single graphical desktop application. In fact, I don’t — strictly speaking — have a desktop on my computer.
I think this is a wonderful way to wor
| # Based on: | |
| # - https://www.gnupg.org/faq/gnupg-faq.html | |
| # - https://raw.githubusercontent.com/ioerror/duraconf/master/configs/gnupg/gpg.conf | |
| # If you have more than 1 secret key in your keyring, you may want to | |
| # uncomment the following option and set your preferred keyid. | |
| # default-key KEYID | |
| # If you do not pass a recipient to gpg, it will ask for one. Using |
| #!/usr/bin/env bash | |
| # | |
| # Clone a repository with Git LFS files and leverage a local cache. | |
| # | |
| # Usage: | |
| # | |
| # Clone and checkout any branch: | |
| # $ clone.sh <repo-url> <cache-dir> <working-copy-dir> <branch-name> | |
| # | |
| # Clone and checkout a PR head: |
| # В отчётах в CSV разделителем идёт точка с запятой, а не запятая | |
| BEGIN { | |
| FS=";" | |
| } | |
| # В первой строке ищем колонку с нужным именем и сохраняем её индекс | |
| NR == 1 { | |
| for (i = 1; i <= NF; i++) | |
| if ($i == target) | |
| column_idx = i |
| # Usage: git lfs ls-files -d | awk -f git-lfs-to-json.awk > lfs-files.json | |
| BEGIN { | |
| RS = "" | |
| FS = "\n" | |
| print "[" | |
| } | |
| { | |
| split($1, filepath, ": ") |
| ffmpeg -i in.mkv -f srt -i in.srt -map 0:0 -map 0:1 -map 1:0 -c:v copy -c:a copy -c:s srt out.mkv |
| #!/bin/bash | |
| # | |
| # This file echoes a bunch of 24-bit color codes | |
| # to the terminal to demonstrate its functionality. | |
| # The foreground escape sequence is ^[38;2;<r>;<g>;<b>m | |
| # The background escape sequence is ^[48;2;<r>;<g>;<b>m | |
| # <r> <g> <b> range from 0 to 255 inclusive. | |
| # The escape sequence ^[0m returns output to default | |
| setBackgroundColor() |