/secure passphrase <pass>
/secure set bncpass <pass>
/secure set relaypass <pass>
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<!-- | |
Noto Mono + Color Emoji Font Configuration for KDE/Konsole | |
Konsole/KDE apps use QT rather than the GTK emoji setup. So standard Ubuntu setup doesn't seem to work. | |
https://bugs.launchpad.net/ubuntu/+source/kubuntu-meta/+bug/1767390 | |
If you want the Snake emoji in your Python venv Powerline then see below! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There's a problem that you run into right away: you can't put a command line command, with arguments, | |
into the path to git executable box. | |
So putting something like bash.exe -c "git %*" isn't going to work. I wrote a small shell script that | |
fixes this, for both 32-bit and 64-bit systems. | |
@echo off | |
If %PROCESSOR_ARCHITECTURE% == x86 ( | |
"C:\Windows\sysnative\bash.exe" -c "git %*" | |
) Else ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
HOME=/var/named | |
ADLISTURL="https://pgl.yoyo.org/adservers/serverlist.php?hostformat=bindconfig;showintro=0;mimetype=plaintext" | |
MWLISTURL="http://mirror1.malwaredomains.com/files/spywaredomains.zones" | |
ADLISTFILE=/tmp/adlistfile | |
MWLISTFILE=/tmp/mwlistfile | |
# Download newest blacklists | |
curl -s -o $ADLISTFILE $ADLISTURL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description": "MyGroup allowed access to MyProject only", | |
"context": { | |
"application": "rundeck" | |
}, | |
"for": { | |
"project": [ | |
{ | |
"match": { | |
"name": "MyProject" |
- To have org-mode expand everything by default: M-x customize-variable RET org-startup-folded
- To insert code-blocks quickly: <s TAB
- To insert a new bullet/number in the current list: M-RET
- To promote a heading:
M-<left arrow>
- To demote a heading:
M-<right arrow>
- Hyperlinks:
- To link to another org-mode file:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log4j.appender.cmd-logger=org.apache.log4j.RollingFileAppender | |
log4j.appender.cmd-logger.append=true | |
log4j.appender.cmd-logger.layout=org.apache.log4j.PatternLayout | |
log4j.appender.cmd-logger.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c - %m%n | |
log4j.appender.cmd-logger.File=/var/log/rundeck/command.log | |
log4j.appender.cmd-logger.rollingPolicy=org.apache.log4j.rolling.TimeBasedRollingPolicy | |
log4j.appender.cmd-logger.rollingPolicy.ActiveFileName=/var/log/rundeck/command.log | |
log4j.appender.cmd-logger.rollingPolicy.FileNamePattern=/var/log/rundeck/command-%d{yyyy-MM-dd}.log | |
log4j.appender.cmd-logger.MaxBackupIndex=7 |
There is no WSL or Multipass on Guix, but we can get the same thing with QEmu (and a lot more). But it’s a bit trickier to get started!
Guix packages required:
- qemu (possibly can get away with minimal package)
- cloud-utils (for cloud-localds)
- cdrkit-libre (for genisoimage, used by cloud-localds)
Create the following user data file - there may be more in this than you need.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir ~/.weechat/ssl-cert | |
cd ~/.weechat/ssl-cert | |
openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -out relay.pem | |
In weechat: | |
/set relay.network.ssl_cert_key "/home/username/.weechat/ssl-cert/relay.pem" | |
/relay add ssl.weechat 9001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun company-eshell-history (command &optional arg &rest ignored) | |
(interactive (list 'interactive)) | |
(cl-case command | |
(interactive (company-begin-backend 'company-eshell-history)) | |
(prefix (and (eq major-mode 'eshell-mode) | |
(let ((word (company-grab-word))) | |
(save-excursion | |
(eshell-bol) | |
(and (looking-at-p (s-concat word "$")) word))))) | |
(candidates (remove-duplicates |
OlderNewer