kubectl get pv | tail -n+2 | awk '{print $1}' | xargs -I{} kubectl patch pv {} --type='merge' -p '{"metadata":{"finalizers": null}}'
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
# Audio and Video Encoding for Pionner AVH-P3180DVD to play movies from USB/CD | |
ffmpeg -i source_video.mp4 \ | |
-c:v mpeg4 \ | |
-q:v 5 \ | |
-tag:v DIVX \ | |
-s 640x480 \ | |
-c:a libmp3lame \ | |
-q:a 5 \ | |
-ac 2 \ |
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
# Audio and Video Encoding for Pionner DVH-8580AVBT to play movies from USB | |
ffmpeg -i source_video.mp4 \ | |
-c:v libxvid \ | |
-b:v 192k \ | |
-s 640x480 \ | |
-ar 44100 \ | |
-ac 2 \ | |
-b:a 192k \ | |
destination_video.avi |
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
-- To Enable Query logging on the database | |
set global general_log = 1; | |
set global log_output = 'table' | |
-- For turn Hex readable: | |
select a.*, convert(a.argument using utf8) from mysql.general_log a; | |
-- To Disable Query logging on the database | |
set global general_log = 0; |
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 | |
#https://www.robertsetiadi.com/disabling-globalprotect-vpn-auto-run-during-mac-start-up/ | |
case $# in | |
0) | |
echo "Usage: $0 {start|stop}" | |
exit 1 | |
;; | |
1) |
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
#!/usr/bin/env groovy | |
def list | |
pipeline { | |
agent none | |
stages { | |
stage('Create List') { | |
agent any | |
steps { | |
script { |
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
println(hudson.util.Secret.decrypt("{...}")) |
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
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}", | |
"copyOnSelect": true, | |
"copyFormatting": false, | |
"profiles": | |
{ | |
"defaults": | |
{ |
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
[automount] | |
enabled = true | |
root = / | |
options = "metadata,umask=22,fmask=11,uid=1000,gid=1000" | |
mountFsTab = false | |
[network] | |
generateHosts = true | |
generateResolvConf = true |
NewerOlder