This file contains hidden or 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
1. User Identification: | |
- You should assume that you are interacting with default_user | |
- If you have not identified default_user, proactively try to do so. | |
2. Memory Retrieval: | |
- Always begin your chat by retrieving information from your knowledge graph | |
- Always refer to your knowledge graph as your "memory" | |
3. Memory: | |
- While conversing with the user, be attentive to any new information that falls into these categories: |
This file contains hidden or 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
function! Osc52Yank() | |
let buffer=system('base64 -w0', @0) | |
let buffer=substitute(buffer, "\n$", "", "") | |
let buffer='\e]52;c;'.buffer.'\x07' | |
silent exe "!echo -ne ".shellescape(buffer)." > ".shellescape("/dev/tty") | |
endfunction | |
command! Osc52CopyYank call Osc52Yank() | |
augroup Example | |
autocmd! | |
autocmd TextYankPost * if v:event.operator ==# 'y' | call Osc52Yank() | endif |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
/* Inline numbering style */ | |
#tabbrowser-tabs{ | |
counter-reset: n_tabs; | |
} | |
.tabbrowser-tab:is(:nth-child(-n+8 of :not([hidden])), :nth-last-child(1 of tab:not([hidden]))) .tab-content{padding-left: 2px;} | |
.tabbrowser-tab:is(:nth-child(-n+8 of :not([hidden])), :nth-last-child(1 of tab:not([hidden]))) .tab-content::before{ | |
display: -moz-box; | |
padding-right:2px; | |
counter-increment: n_tabs; | |
content: counter(n_tabs); |
This file contains hidden or 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
# See "/etc/dhcpcd.exit-hook" | |
export if_info="$(ip -j addr show dev "$interface")" |
This file contains hidden or 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
# See "/etc/dhcpcd.exit-hook" and /etc/radvd.conf". | |
# Set to "yes" to enable dhcpcd variable logging. | |
PRINTVAR="no" | |
# Log variables to the specified file. | |
PRINTVAR_FILE="/tmp/variables.txt" | |
# The following space-separated reasons will not be logged. | |
PRINTVAR_IGNORE_REASONS="ROUTERADVERT" | |
# Ignore the following space-separated interfaces. This option invalidates all special comments for the following interfaces. | |
RADVD_IGNORE_IFS="" |
This file contains hidden or 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
# See "/etc/default/dhcpcd-exit-hook" and "/etc/dhcpcd.exit-hook" | |
# Blocklists in "/etc/default/dhcpcd-exit-hook" will override any special comments found here. | |
# dhcpcd.exit-hook special comments | |
# Special comments MUST be below the "interface" definition and above the first non-comment. | |
# Special comments start on their own line with "#" (like all other comments) and are in the form of "%[key]%[value]", "%[key]%?[autovalue]", or "%[key]%". Examples are documented below. | |
# Contents of [autovalue] are automatically modified and should not be edited by hand. | |
#%ignore% | |
# This option will invalidate all other special comments. |
This file contains hidden or 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
# Private and link-local v4 | |
||168.192.in-addr.arpa^$important,dnstype=PTR,dnsrewrite=NXDOMAIN;; | |
||254.169.in-addr.arpa^$important,dnstype=PTR,dnsrewrite=NXDOMAIN;; | |
||10.in-addr.arpa^$important,dnstype=PTR,dnsrewrite=NXDOMAIN;; | |
/((3[0-1])|(2[0-9])|(1[6-9]))\.172\.in-addr\.arpa$/$important,dnstype=PTR,dnsrewrite=NXDOMAIN;; | |
# Return localhost for 127.0.0.1/8 instead of 127.0.0.1/32 | |
||127.in-addr.arpa^$important,dnstype=PTR,dnsrewrite=NOERROR;PTR;localhost | |
# Private and link-local v6 | |
||0.8.e.f.ip6.arpa^$important,dnstype=PTR,dnsrewrite=NXDOMAIN;; | |
||d.f.ip6.arpa^$important,dnstype=PTR,dnsrewrite=NXDOMAIN;; |
This file contains hidden or 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 | |
pgid_from_pid() { | |
local pid=$1 | |
ps -o pgid= "$pid" 2>/dev/null | egrep -o "[0-9]+" | |
} | |
pid="$$" | |
if [ "$pid" != "$(pgid_from_pid $pid)" ]; then | |
exec setsid "$(readlink -f "$0")" "$@" |
This file contains hidden or 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
# See "/etc/radvd.conf", "/etc/default/dhcpcd-exit-hook", and "/etc/dhcpcd.enter-hook". | |
# Load environment variables from "/etc/default/dhcpcd-exit-hook" | |
. /etc/default/dhcpcd-exit-hook | |
# Check if variable logging is enabled; if so, log all variables to the set file. | |
if ([ "$PRINTVAR" = "yes" ] && [ -n "$PRINTVAR_FILE" ] && ! echo "$PRINTVAR_IGNORE_REASONS" | grep -wq "$reason"); then | |
echo “================” >>"$PRINTVAR_FILE" | |
echo "Environment Variables" >>"$PRINTVAR_FILE" | |
printenv >>"$PRINTVAR_FILE" |