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
DECLARE @OS_TotalMemory INT | |
,@OS_CPUCount INT | |
,@OS_Reserved INT | |
,@SQL_MAlloc INT | |
SELECT @OS_TotalMemory = CAST(total_physical_memory_kb AS INT) / 1024 / 1024 FROM sys.dm_os_sys_memory | |
SELECT @OS_CPUCount = cpu_count FROM sys.dm_os_sys_info | |
SELECT @OS_Reserved = 4 | |
SELECT @SQL_MAlloc = ((@OS_TotalMemory - (@OS_CPUCount * 0.5) - @OS_Reserved) - (@OS_TotalMemory - (@OS_CPUCount * 0.5) - @OS_Reserved) % 2) * 1024 |
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
# Left side | |
defaults write com.apple.dock persistent-apps -array-add '{tile-type="spacer-tile";}' | |
killall Dock | |
# Right Side | |
defaults write com.apple.dock persistent-others -array-add '{tile-data={}; tile-type="spacer-tile";}' | |
killall Dock |
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
kind: Pod | |
apiVersion: v1 | |
metadata: | |
name: volume-debugger | |
spec: | |
volumes: | |
- name: volume-to-debug | |
persistentVolumeClaim: | |
claimName: <pvc to mount> | |
containers: |
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
xattr -d com.apple.quarantine /path/to/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
relabel_configs: | |
- source_labels: [__address__] | |
target_label: instance | |
regex: "([^:]+).*" | |
replacement: '${1}' |
OlderNewer