run substitute on all args
:set hidden
:argdo %s/\a/*/ge
populate argslist with *.txt :args *.txt or command args `ag -g *.txt`
revert all unsaved :argdo edit!
| module vpn | |
| go 1.21.3 | |
| require ( | |
| github.com/NordSecurity/nordvpn-linux v0.0.0-20240328191707-851e5e8b6a30 | |
| google.golang.org/grpc v1.62.1 | |
| ) | |
| require ( |
| package main | |
| import ( | |
| "context" | |
| "log" | |
| "strings" | |
| "time" | |
| "github.com/aws/aws-sdk-go-v2/aws" | |
| "github.com/aws/aws-sdk-go-v2/config" |
| package main | |
| import ( | |
| "crypto/aes" | |
| "crypto/cipher" | |
| "crypto/md5" | |
| "crypto/rand" | |
| "errors" | |
| "fmt" | |
| "io" |
| --- | |
| version: '3.5' | |
| networks: | |
| default: | |
| name: kafka-net | |
| services: | |
| zookeeper: | |
| image: confluentinc/cp-zookeeper:4.1.1 | |
| hostname: zookeeper |
| package main | |
| /** | |
| Example hack to encrypt a file using a GPG encryption key. Works with GPG v2.x. | |
| The encrypted file e.g. /tmp/data.txt.gpg can then be decrypted using the standard command | |
| gpg /tmp/data.txt.gpg | |
| Assumes you have **created** an encryption key and exported armored version. | |
| You have to read the armored key directly as Go cannot read pubring.kbx (yet). |
| --- | |
| - name: Install WordPress, MySQL, Nginx, and PHP-FPM | |
| hosts: all | |
| remote_user: root | |
| # remote_user: user | |
| # become: yes | |
| # become_method: sudo | |
| roles: | |
| - common |
| #!/bin/bash | |
| # uncomment and fix with appropriate values if you are behind a proxy | |
| #export https_proxy='http://localhost:3128' | |
| sl=en | |
| tl=$(basename $0) | |
| if [[ "${tl}" != "es" ]]; then | |
| sl=es | |
| fi | |
| base_url="https://translate.googleapis.com/translate_a/single?client=gtx&sl=${sl}&tl=${tl}&dt=t&q=" | |
| ua='Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36' |