Skip to content

Instantly share code, notes, and snippets.

#contact_order_interview_availability
.fixed.top-0.w-full.h-screen.z-10{class: "bg-black bg-opacity-50"}
.flex.w-full.h-full.items-center.justify-center
.flex.flex-col.rounded-md.bg-white.w-full.h-screen{class: "md:w-2/3 md:min-h-min md:max-h-[730px]"}
.flex.w-full.px-4.pt-4.justify-end
= link_to customers_order_contact_order_path do
= image_tag "close.svg", class: "w-2 h-2"
.w-full.p-2.h-full.overflow-auto
= turbo_frame_tag "booking", src: @calendar_url
<!DOCTYPE html>
<!-- saved from url=(0016)http://localhost -->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:bat="http://schemas.microsoft.com/battery/2012" xmlns:js="http://microsoft.com/kernel"><head><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="ReportUtcOffset" content="-5:00"/><title>Battery report</title><style type="text/css">
body {
font-family: Segoe UI Light;
letter-spacing: 0.02em;
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created February 6, 2025 23:07
microsoft-edge v133.0.3065.51 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1515527406-3491998627-110207221-1000</user>
<keys>
<key installerType="Msi" displayName="Microsoft Edge" displayVersion="133.0.3065.51">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{81515334-B64C-3BF3-8C6B-AA54891DC3E0}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /X{81515334-B64C-3BF3-8C6B-AA54891DC3E0}]]></UninstallString>

AWS SES Configuration for Sending Emails with Node.js: A Step-by-Step Guide

This document provides a comprehensive guide to configuring Amazon Simple Email Service (SES) for sending emails from your Node.js applications. We will cover setting up IAM permissions, verifying email addresses and domains, and configuring the AWS SDK in your Node.js project.

Prerequisites:

  • An AWS Account: You need an active AWS account.
  • Node.js and npm (Node Package Manager) installed: Ensure you have Node.js and npm set up on your development machine.
  • AWS CLI (Optional but Recommended): The AWS Command Line Interface is helpful for programmatic IAM user creation and retrieving domain verification details. Install it from AWS CLI documentation.
- if @search_results.present?
%ul{data: { controller: "geoapify"}}
- @search_results.each do |result|
%li.cursor-pointer.text-sm.mt-2{ data: { country: result[:country], time_zone: result[:time_zone], country_code: result[:country_code], action:"click->geoapify#assignAttributes " } }
= result[:formatted]
apiVersion: hypershift.openshift.io/v1beta1
kind: HostedCluster
metadata:
name: 'test4'
namespace: 'clusters'
labels:
spec:
etcd:
managed:
storage:
#код дага:
import airflow
from datetime import timedelta
from airflow import DAG
from airflow.providers.apache.spark.operators.spark_submit import SparkSubmitOperator
import os
from datetime import date, datetime
os.environ['HADOOP_CONF_DIR'] = '/etc/hadoop/conf'
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 6, 2025 23:05
Rimworld output log published using HugsLib
Log uploaded on Friday, February 7, 2025, 8:05:23 AM
Loaded mods:
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Fishery - Modding Library(bs.fishery): 0PrepatcherAPI(1.2.0), 1Fishery(0.6.1), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Core(Ludeon.RimWorld): (no assemblies)
Performance Fish(bs.performance): PerformanceFish(0.6.2)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)

Strings vs Enums: Scene Loading

This example replaces scattered string-based scene changes with an enum-based scene manager, preventing typos, broken references, and making scene transitions safer and easier to maintain. 🚀

import { Controller } from "@hotwired/stimulus"
export default class extends Controller {
static targets = [ "dates", "eventType", "meetingOptions", "SelectedTimeZone", "contactTimeZone", "dateSelectedForMeeting", "noAvailableImage" ]
dateSelected(event) {
const date = event.target.dataset.date;
this.toggleDateClass(event.target);