coding
Prompting Coding AIs
Prompting Coding AIs 🔹User Messages vs. Code Completions** User Messages: These are the messages you send to the model. The Developer Plan includes 600 messages per month. This includes any prompt or follow-up you write. Code Completions: These are unlimited under this plan. This refers to the model generating or completing code (in a coding
Prompting Coding AIs Read More »
AlmaLinux – Install Steps To External Drive
PRE-SETUP 1. How Many Drives and Sizes Needed? Main Drive: Purpose: Primary installation with partitions for Proxy, GitLab, Frontend, Backend. Specs: 1000GB external drive (e.g., /dev/sdd). Backup Drive: Purpose: Mirror of the main drive for recovery in case of failure. Specs: Equal size to main drive (1000GB). Recovery Drive: Purpose: Bootable AlmaLinux environment to work
AlmaLinux – Install Steps To External Drive Read More »
Aspect Ratio To Increase Mobile Slider Height
Taller on Mobile – Using Aspect Ratio Change. To do this without having to re-create all assets for mobile – we can alter the aspect ratio of the image / video containers – then tell the images and video to fill up the new space. Without a new design – we will lose a certain
Aspect Ratio To Increase Mobile Slider Height Read More »
SignUp Event – Sept 24 Notes
1. Cookie Management and Initialization: You’ve set up the getCookie and setCookie functions globally, which is great for consistency. Just ensure that window.domain (or singleWhiteLabelCookieDomain) is correctly populated to handle cross-subdomain cookies. function setCookie(name, value, days) { var expires = “”; if (days) { var date = new Date(); date.setTime(date.getTime() + (days * 24 *
SignUp Event – Sept 24 Notes Read More »
Dit-Dah
modify rules /etc/nginx/nginx.conf Sites cd /usr/share/nginx/html/localtransporter.space/ cd /usr/share/nginx/html/spiffydesign.com/ cd /usr/share/nginx/html/dit-dah.click To hide the .env file using Nginx and prevent it from being served publicly, you can add a specific rule in your Nginx configuration that denies access to this file. Here’s how to do it: Step-by-step instructions: Open your Nginx configuration file:You can either add
React – Post Form Data To Api
Post form data to api endpoint You need to build your request body using the FormData API. The FormData interface provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use
React – Post Form Data To Api Read More »