This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Technical and architectural audit of a system. This is an evolving documentation vault, not a codebase.
The following code shows how you might create and report an error, and how it may be caught by adding a listener for the error event.
Reference: https://developer.mozilla.org/en-US/docs/Web/API/Window/unhandledrejection_event
window.addEventListener('error', (event) => {| module.exports = { | |
| theme: { | |
| extend: {}, | |
| screens: { | |
| xl: { max: "1279px" }, | |
| // => @media (max-width: 1279px) { ... } | |
| lg: { max: "1023px" }, | |
| // => @media (max-width: 1023px) { ... } |
| daemon off; | |
| worker_processes 1; | |
| error_log logs/error.log; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| include mime.types; |
| #if UNITY_EDITOR | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEditor; | |
| using System.Reflection; | |
| public class EditorFontSize : EditorWindow | |
| { | |
| // enable resize on launch to set a default font size , using this option will disable the ability to have the window accassible |
| #!/bin/bash | |
| echo "Starting Docker installation on Deepin Linux..." | |
| # Define a mapping from Deepin version to Debian version | |
| map_deepin_to_debian() { | |
| if [ "$1" -lt 20 ]; then | |
| echo "stretch" | |
| elif [ "$1" -ge 20 ]; then | |
| echo "buster" |
| EXOPLAYER_ROOT="$(pwd)" | |
| FFMPEG_EXT_PATH="${EXOPLAYER_ROOT}/extensions/ffmpeg/src/main" | |
| HOST_PLATFORM="darwin-x86_64" | |
| NDK_PATH="<PATH_TO_NDK>" | |
| COMMON_OPTIONS="\ | |
| --target-os=android \ | |
| --disable-static \ | |
| --enable-shared \ | |
| --disable-doc \ | |
| --disable-programs \ |
Also see: https://gist.github.com/lemiorhan/8912188
Here are the simple steps needed to push your local git repository directly to a remote (e.g. prod) server over ssh. This is based on Digital Ocean's Tutorial.
You are developing in a working-directory on your local machine, let's say on the master branch. Usually people push code to a remote
server like github.com or gitlab.com and pull or export it to a production server. Or you use GitHub's webhooks to send a POST request to a webserver to take appropriate actions such as cloning/checking out a branch on the remote (prod) server.