User contributions for Chubbard

Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

17 May 2023

  • 15:4915:49, 17 May 2023 diff hist +56‎ N Category:PHP ‎ Created page with "Any examples or gotchas and howto for PHP can live here." current
  • 15:4815:48, 17 May 2023 diff hist +350‎ N PHP Notes and Examples ‎ Created page with "===PHP Notes and Examples=== change Array to JSON <pre> $foo=json_encode($array,1); echo $foo . "\n"; </pre> Convert a VALID JSON string to array <pre> $foo=json_decode($json, True); print_r($foo); </pre> Example foreach loop (simple) <pre> foreach ($nestedArray1 as $Array1) { do something with new array $array1[??}; } </pre> Category:PHP"
  • 10:1810:18, 17 May 2023 diff hist +132‎ m Mac Notes ‎No edit summary current

8 May 2023

24 April 2023

  • 11:2511:25, 24 April 2023 diff hist +897‎ N Openssl ‎ Created page with "===Stuff you need to remember for openssl=== For creating a self signed certificate chain, having a password makes things more of a PITA.. * Process to create chain without a password: <pre> openssl genrsa -out ca.key 4096 openssl req -new -x509 -days 36500 -key ca.key -out ca.crt openssl genrsa -out client.key 4096 openssl req -new -key client.key -out client.csr openssl x509 -req -days 36500 -in client.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out client...."

4 April 2023

1 April 2023

30 March 2023

29 March 2023

  • 17:0817:08, 29 March 2023 diff hist +265‎ m Handbrake ‎No edit summary
  • 15:2615:26, 29 March 2023 diff hist +82‎ N Category:ImageMagick ‎ Created page with "Stuff I keep forgetting from the ImageMagick utilities.. https://imagemagick.org/" current
  • 15:2515:25, 29 March 2023 diff hist +482‎ N Imagemagick ‎ Created page with "=== Various commands for ImageMagick === Convert all PNG to JPG <pre> for x in `ls *.png` ; do convert "$x" "${x%.*}.jpg" ; done </pre> Appending an image to another image (pulled from my wallpaper changer code <pre> export BG_COLOR=black export FIN_IMAGE1=random.jpg export SPAN_SIZE_0=1024x768 convert "${FIN_IMAGE1}" -gravity "${GRAVITY_SPAN}" -background ${BG_COLOR} -resize ${SPAN_SIZE_0} -extent ${SPAN_SIZE_0} +append ${PWD}/background.jpg </pre> Category:ImageM..."
  • 13:1113:11, 29 March 2023 diff hist +63‎ N Category:Handbrake ‎ Created page with "Just a catchall for all Handbrake related commands and gotchas." current
  • 13:1013:10, 29 March 2023 diff hist +253‎ N Handbrake ‎ Created page with "=== Landing page with Handbrake examples === <pre> HandBrakeCLI -i /opt/arm/media/raw/Ghostbusters -o '/tmp/Ghostbusters_2014.mkv' "H.265 VCN 1080p" --subtitle scan -F --subtitle-burned --audio-lang-list eng --all-audio </pre> Category:Handbrake"

23 March 2023

20 March 2023

2 November 2022

31 October 2022

  • 22:2222:22, 31 October 2022 diff hist +642‎ N Bash inodes ‎ Created page with "== Find inodes used == If you run out of inodes, it is a pita to deal with unexpectedly. In general it should not come as a suprise when this happens on servers that have man..."

28 October 2022

26 October 2022

20 September 2022

  • 21:0021:00, 20 September 2022 diff hist +676‎ N Bash-loops ‎ Created page with "=== Interesting bash loop constructs I have found === <pre> cat interesting_loop.sh #!/bin/bash _admin_ip="202.54.1.33|MUM_VPN_GATEWAY 23.1.2.3|DEL_VPN_GATEWAY 13.1.2.3|SG_V..." current

24 August 2022

19 August 2022

18 August 2022

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)