BigCommerce, Algolia Searching

### BigCommerce w/ Algolia Search
- BigComm can use Algolia as an alternative search input

#### Tasks
- In order to show different pricing when a user enters the parts website (whether
logged in or a guest:
  - Algolia's search result template can be edited
  - Need to create a web script (using Script Manager in BC) with a custom hook [event](https://www.algolia.com/doc/integration/bigcommerce/search-settings/custom-hooks/)
  - Attach js to the head of all files
  - You are able to use Handleb

Antivirus Exclusions

- Windows [Virus scanning recommendations for Enterprise computers that are running Windows or Windows Server (KB822158)](https://support.microsoft.com/en-us/topic/virus-scanning-recommendations-for-enterprise-computers-that-are-running-windows-or-windows-server-kb822158-c067a732-f24a-9079-d240-3733e39b40bc)
- Microsoft Teams [Prevent antivirus and DLP tools from blocking or crashing Microsoft Teams](https://learn.microsoft.com/en-us/microsoftteams/troubleshoot/teams-administration/include-exclu

confirmを表示し、どっちが押されたか判定する

const result = confirm("OKかキャンセルのどちらかを押してください");
if (result) {
  console.log("OKが押されました");
} else if (!result) {
  console.log("キャンセルが押されました");
}

mapの基本的な挙動

<h2>Mapと仲良くなる</h2>

<button id="addItem">配列の最後に追加</button>
<button id="removeByIndex">インデックス1を削除</button>
<button id="removeById">最初のIDを削除</button>
<button id="updateById">最初の要素を更新</button>
<button id="clearItems">すべての要素をクリア</button>

<ul id="itemList"></ul>

customer_templates

-- STEP 1.
-- drop table prd_datachecks.cust_profile_promo_template_with_array;
-- SET enable_case_sensitive_identifier to TRUE;

create table prd_datachecks.cust_profile_promo_template_with_array as (
selectdistinct
message."customerId"::VARCHAR as customer_id
, message."isTestAccount"::BOOL as is_test_account
, (TIMESTAMP 'epoch' + (message."messageTS"::FLOAT)/1000 *INTERVAL '1 second')::TIMESTAMP AS source_updated_at
, message."promotionTemplateKeys" as promo_template_keys_array
from prd_land

cURL

Test AWS SES

curl --ssl-reqd \                                                                                            ✔  15:48:31 
     --url "smtp://email-smtp.us-east-1.amazonaws.com:587" \
     --user "AKIAZOIVRXTYLLYKXOOY:passkey" \
     --mail-from "noreply@secureauth.com" \
     --mail-rcpt "jnguyen@secureauth.com"

CC4-002-00000008

https://answers.microsoft.com/en-us/windows/forum/all/windows-version-24h2-will-not-allow-brother/c6ac6d53-0d79-4e1a-b3f5-8794bf0a648e
# CC4-002-00000008

This error means the software is unable to communicate with the endpoint.


![](https://cdn.cacher.io/attachments/u/37fpvpwy13r3o/fvarJAiynQ16uXfh4yl5wnVj4AoRPE4E/3t9l4gc1z.png)

## Symptoms

- Opening Brother Utilities, under Tools, clicking Status Monitor shows 'No Device'
- Opening Control Center, under Image, clicking Scan shows the error above.

## Areas of interest (not exhaustive)

- Application configuration (ie. configuraiton file, registry value, in-application sett

formによって送信されたデータをJavaScriptで取得する

<form class="form">
  <dl>
    <div>
      <dt>
        <label for="name">氏名</label>
      </dt>
      <dd>
        <input id="name" type="text" name="name" />
      </dd>
    </div>
    <div>
      <dt>
        <label for="mail">メールアドレス</label>
      </dt>
      <dd>
        <input id="mail" type="email" name="mail" />
      </dd>
    </div>
    <div>
      <dt>
        <label for="date">希望日時</label>
      </dt>
      <dd>
        <input id="date" type="date" name="date" />
      </dd>
    </di

3191. Minimum Operations to Make Binary Array Elements Equal to One I

You are given a binary array nums. You can do the following operation on the array any number of times (possibly zero): Choose any 3 consecutive elements from the array and flip all of them. Flipping an element means changing its value from 0 to 1, and from 1 to 0. Return the minimum number of operations required to make all elements in nums equal to 1. If it is impossible, return -1.
/**
 * @param {number[]} nums
 * @return {number}
 */
var minOperations = function(nums) {
    let count = 0; // Initialize the counter for the number of flips

    // Helper function to flip a single element at index i
    function flip(i) {
        nums[i] = nums[i] === 0 ? 1 : 0; // Toggle the element (0 -> 1, 1 -> 0)
    }

    // Traverse the array, stopping at the third-to-last element
    for (let i = 0; i < nums.length - 2; i++) {
        // If the current element is 0, perform a flip op

Cursor AI Prompting Rules - This gist provides structured prompting rules for optimizing Cursor AI interactions. It includes three key files

Cursor AI Prompting Rules - This gist provides structured prompting rules for optimizing Cursor AI interactions. It includes three key files to streamline AI behavior for different tasks.
# Cursor AI Prompting Rules

This gist provides structured prompting rules for optimizing Cursor AI interactions. It includes three key files to streamline AI behavior for different tasks.

## Files and Usage

### **`core.md`**

- **Purpose:** Defines the foundational rules for Cursor AI behavior across all tasks.
- **Usage:** Add this to `.cursorrules` in your project root or configure it via Cursor settings:
  - Open `Cmd + Shift + P`.
  - Navigate to Sidebar > Rules > User Rules.
  - Paste th

'path_to_crashlytics_upload_script'

"${PODS_ROOT}/FirebaseCrashlytics/upload-symbols" -gsp "/Users/mac/daniyal/projects/shiatoolkit-flutter/ios/Runner/GoogleService-Info.plist" -p ios "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"

Get User by ID

import Ecto.Query
alias Connect.{User, Repo}

id = "78e413c6-2b7b-4656-84d7-2339d7fb7b43"
User |> where([u], u.id == ^id) |> Repo.one()

Get All Users

import Ecto.Query
alias Connect.{User, Repo}

User |> order_by([u], asc: u.inserted_at) |> Repo.all()

SoundBoardW.com - Play Sound Buttons Online Free

Discover SoundBoardW.com, the ultimate sound board free platform where you can play, share, and download sound buttons instantly. No installation required—just click and enjoy!

Introducing SoundBoardW.com
In the world of digital entertainment, sound effects can add humor, excitement, and creativity to any moment. Whether you’re a gamer, streamer, or just someone who loves a good sound board, having instant access to high-quality sound buttons can enhance your experience. SoundBoardW.com is the 

sglang benchmark

# sglang benchmark

## benchmark scripts

```
#!/bin/bash
# num_prompts=(1024 512 256 128 1)
# random_inputs=(256 512 1024)
# random_outputs=(256 512 1024)

# num_prompts=(1 16 32 64 128 256 512 1024)
num_prompts=(5)
random_inputs=(63000)
random_outputs=(1024)

for num_prompt in "${num_prompts[@]}"; do
   for random_input in "${random_inputs[@]}"; do
      for random_output in "${random_outputs[@]}"; do
         echo "Running with --num-prompts ${num_prompt} --random-input ${random_input} and --

GoogleMap初期ズーム量を調整する

<!--
以下コード中「4f13.1」部分の「13.1」部分を調整する(小さいほどズームが大きくなる)
-->
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d207420.52219881324!2d139.687047!3d35.67834!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x6018f333ea6d6f9b%3A0xaa9c0a61b837f709!2z5aSn5ZKM5ris6YeP77yI5qCq77yJ!5e0!3m2!1sja!2sjp!4v1742363563860!5m2!1sja!2sjp" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>