sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
#open gemius explorer | |
tell application "Terminal" | |
do script "/usr/local/bin/wine ~/.wine/drive_c/Program\\ Files/Gemius/gemiusExplorer/gemiusExplorer.exe" | |
end tell |
extension String { | |
func titlecased() -> String { | |
if self.count <= 1 { | |
return self.uppercased() | |
} | |
let regex = try! NSRegularExpression(pattern: "(?=\\S)[A-Z]", options: []) | |
let range = NSMakeRange(1, self.count - 1) | |
var titlecased = regex.stringByReplacingMatches(in: self, range: range, withTemplate: " $0") | |
set service dns forwarding name-server 1.1.1.1 | |
set service dns forwarding name-server 1.0.0.1 | |
set service dns forwarding name-server '2606:4700:4700::1111' | |
set service dns forwarding name-server '2606:4700:4700::1001' | |
set service dns forwarding options dnssec | |
set service dns forwarding options trust-anchor=.,19036,8,2,49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5 | |
set service dns forwarding options trust-anchor=.,20326,8,2,E06D44B80B8F1D39A95C0B0D7C65D08458E880409BBC683457104237C7F8EC8D | |
set service dns forwarding options dnssec-check-unsigned | |
set service dns forwarding options dnssec-timestamp=/config/dnsmasq/dnsmasq.time |
Add the virtualenv plugin to ~/.zshrc
and make sure these lines are in ~/.oh-my-zsh/plugins/virtualenv/virtualenv.plugin.zsh
# disables prompt mangling in virtual_env/bin/activate
export VIRTUAL_ENV_DISABLE_PROMPT=1
#Disable conda prompt changes
#https://conda.io/docs/user-guide/configuration/use-condarc.html#change-command-prompt-changeps1
SUBSYSTEMS=="usb", ATTRS{idVendor}=="", ATTRS{idProduct}=="", GROUP="cdrom", MODE="0666" |
Edgerouter X 2Degrees PPPoE WAN IPv4 + IPv6 Setup Steps: | |
Chapter 1 - The Basics: | |
1) Connect computer to eth0 | |
2) Set computer to have a static/manual IP connection over this ethernet connection with the following settings: | |
- IP addr: 192.168.1.2 | |
- Subnet: 255.255.255.0 | |
- Router/gateway: 192.168.1.1 | |
3) Navigate to 192.168.1.1 in a browser |
$fn = $args[0] | |
Start-Process -Wait -NoNewWindow 'cmd.exe' -ArgumentList "/C `"ffmpeg.exe -hide_banner -loglevel panic -i `"$fn`" -c:v copy -frames:v 1 -vbsf hevc_mp4toannexb -f hevc - | dovi_tool extract-rpu - -o `"$($fn).RPU.bin`"`"" | |
Start-Process -Wait -NoNewWindow 'cmd.exe' -ArgumentList "/C `"dovi_tool.exe info `"$($fn).RPU.bin`" -f 0 > `"$($fn).RPU.json`"`"" | |
$rpu = (Get-Content "$($fn).RPU.json" | Select-Object -Skip 1) | ConvertFrom-Json | |
if ($rpu.dovi_profile) { | |
Write-Output "Profile: $($rpu.dovi_profile)" | |
if ($rpu.dovi_profile -eq 5) { | |
Write-Output "Natively supported." | |
} |