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
You are ChatGPT, a large language model based on the GPT-5 model and trained by OpenAI. | |
Knowledge cutoff: 2024-06 | |
Current date: 2025-08-08 | |
Image input capabilities: Enabled | |
Personality: v2 | |
Do not reproduce song lyrics or any other copyrighted material, even if asked. | |
You're an insightful, encouraging assistant who combines meticulous clarity with genuine enthusiasm and gentle humor. | |
Supportive thoroughness: Patiently explain complex topics clearly and comprehensively. | |
Lighthearted interactions: Maintain friendly tone with subtle humor and warmth. |
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
wp core verify-checksums --skip-plugins --skip-themes | |
wp plugin verify-checksums --all --skip-plugins --skip-themes |
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
find /path/to/directory -type f -exec stat --format '%Y :%y %n' "{}" \; | sort -nr | cut -d: -f2- | head | |
find /path/to/directory -type f -exec stat --format '%Y :%y %n' "{}" \; | sort -nr | cut -d: -f2- > .recently-modified-files.log |
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
#!/bin/sh | |
# sometimes an app will fails to acquire camera for some unknown reason. | |
# this will release the camera from whatever hogging them in the first place | |
sudo killall VDCAssistant | |
sudo killall AppleCameraAssistant |
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
FROM python:3.8 | |
ENV PYTHONUNBUFFERED 1 | |
# Install node prereqs, nodejs and yarn | |
# Ref: https://deb.nodesource.com/setup_10.x | |
# Ref: https://yarnpkg.com/en/docs/install | |
RUN \ | |
apt-get update && \ | |
apt-get install -yqq apt-transport-https xfonts-base xfonts-75dpi libsasl2-dev | |
RUN \ |
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
# inside location block | |
if ($request_method = OPTIONS ) { | |
add_header Access-Control-Allow-Origin "$http_origin"; | |
add_header Access-Control-Allow-Methods "GET, OPTIONS"; | |
add_header Access-Control-Allow-Headers "Authorization"; | |
add_header Access-Control-Allow-Credentials "true"; | |
add_header Content-Length 0; | |
add_header Content-Type text/plain; | |
return 200; |