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
<# | |
.LINK | |
https://www.postgresql.org/docs/current/app-pg-ctl.html | |
#> | |
param( | |
[string]$DataDir, | |
[switch]$InitDataDir, | |
[string]$ServiceName, | |
[switch]$Register, |
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
# param ( | |
# [Parameter(ValueFromRemainingArguments)] | |
# [AllowEmptyCollection()] | |
# [string[]]$Params | |
# ) | |
param() | |
$ErrorActionPreference = 'Stop' | |
trap { throw $Error[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
param( | |
[string]$RootDir, | |
[switch]$DryRun | |
) | |
# $currentUser = [System.Security.Principal.WindowsIdentity]::GetCurrent() | |
# $currentUserName = $currentUser.Name | |
# $currentUserSID = $currentUser.User.Value |
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
#!/usr/bin/env pwsh | |
param() | |
$ErrorActionPreference = 'Stop' | |
# base on project root | |
$includes = @( | |
'index.js', | |
'package.json' | |
) |
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
# This is the configuration for libtsocks (transparent socks) | |
# Lines beginning with # and blank lines are ignored | |
# | |
# The basic idea is to specify: | |
# - Local subnets - Networks that can be accessed directly without | |
# assistance from a socks server | |
# - Paths - Paths are basically lists of networks and a socks server | |
# which can be used to reach these networks | |
# - Default server - A socks server which should be used to access | |
# networks for which no path is available |
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
# 220307 for 15.0.1 | |
# | |
[buildPlans.iosevka-pu] | |
family = "Iosevka PU-5" | |
spacing = "term" | |
serifs = "sans" | |
no-cv-ss = true | |
no-ligation = true | |
[buildPlans.iosevka-pu.variants.design] |
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
// sync at 220328 | |
// | |
// Tips | |
// Go "Command Palette" via "Ctrl+Shift+P" or see https://aka.ms/terminal-documentation | |
// Hold "Alt" and click "Settings" to open defaults.json | |
// Want to send ANSI Escape Sequences? | |
// CSI https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797 | |
// SS3 https://invisible-island.net/xterm/ctlseqs/ctlseqs.html | |
// | |
{ |
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
; ml64 /c a.S | |
; dumpbin /all a.obj > a.obj.txt | |
text segment PARA 'DATA' | |
a label PTR | |
; extern magic : DWORD | |
magic = 12345678h | |
; extern len : ABS | |
len = a_end - a |
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
TCPKeepAlive yes | |
ServerAliveInterval 30 | |
Include config.d/*.conf | |
Host 10.*.*.* 172.[16-31].*.* 192.168.*.* | |
StrictHostKeyChecking no | |
UserKnownHostsFile /dev/null | |
ControlMaster auto | |
ControlPath ~/.ssh/sessions/master-%r@%h:%p |
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
# sync at 220217 | |
listen-address 127.0.0.1:50001 | |
forward-socks5 / 127.0.0.1:50000 . | |
confdir . | |
#actionsfile my-block.action | |
#actionsfile my-direct.action |
NewerOlder