tools

Saved from https://github.com/wincent/wincent
./install dotfiles nvim     # Just install "dotfiles" and "nvim" stuff.
./install dotfiles          # Just install "dotfiles".
./install dotfiles --step   # Prompt for confirmation at each step.
./install dotfiles --check  # Do a dry-run, showing what would be changed.
./install                   # Install everything.
./install ^homebrew         # Install everything except for the "homebrew" aspect.
./install --help            # Lists all aspects, descriptions, options.

Add-CMSoftwareUpdateFilePath

Adds a FilePath property to an object passed from Get-CMSoftwareUpdate showing the location of the physical files being delivered to deployment points and client systems.
function Add-CMSoftwareUpdateFilePath {
    # Pipe Get-CMSoftwareUpdate to this function
    $CMSoftwareUpdate = @($input)

    $sitecode = (Get-CimInstance -ClassName SMS_Authority -Namespace root\ccm).Name.Split(':')[1]
    $NameSpace = "root\SMS\site_$sitecode"

    $UpdateCIIDs = $CMSoftwareUpdate.CI_ID
    if ($UpdateCIIDs.Count -eq 0 ) { Write-Warning "No updates returned."; return }

    foreach ($UpdateCIID In $UpdateCIIDs) {
        $UpdateContent = Get-CimInstance -Namespace

Set CMTrace as Default for Log Files

$cmtrace = "C:\Windows\CCM\CMTrace.exe"
cmd /c assoc .log=CMTrace.LogFile
cmd /c assoc .lo_=CMTrace.LogFile
cmd /c ftype CMTrace.LogFile="$cmtrace" "%1"

Github README Template

# Introduction
- Add your project logo.
- Write a short introduction to the project.
- If you are using badges, add them here.

## :ledger: Index

- [About](#beginner-about)
- [Usage](#zap-usage)
  - [Installation](#electric_plug-installation)
  - [Commands](#package-commands)
- [Development](#wrench-development)
  - [Pre-Requisites](#notebook-pre-requisites)
  - [Developmen Environment](#nut_and_bolt-development-environment)
  - [File Structure](#file_folder-file-structure)
  - [Build](#hammer-

696. Count Binary Substrings

Given a binary string s, return the number of non-empty substrings that have the same number of 0's and 1's, and all the 0's and all the 1's in these substrings are grouped consecutively. Substrings that occur multiple times are counted the number of times they occur.
/**
 * @param {string} s
 * @return {number}
 */
var countBinarySubstrings = function(s) {
    // Step 1: We'll store the lengths of consecutive groups.
    // Example: "0011100" -> [2, 3, 2]
    let groups = [];
    let count = 1; // count the current run length

    // Step 2: Build the groups array
    for (let i = 1; i < s.length; i++) {
        if (s[i] === s[i - 1]) {
            // same character → extend current group
            count++;
        } else {
            // character changed

Previous sibling selector CSS

.section__header {
  margin-bottom: 32px;
}

.section__header:has(+ .section__subheader) {
  margin-bottom: 12px;
}

useFetch (custom hook)

import { useState, useEffect } from 'react';

const useFetch = (url) => {
  const [data, setData] = useState(null);
  const [isPending, setIsPending] = useState(true);
  const [error, setError] = useState(null);

  useEffect(() => {
    setTimeout(() => {
      fetch(url)
      .then(res => {
        if (!res.ok) { // error coming back from server
          throw Error('could not fetch the data for that resource');
        } 
        return res.json();
      })
      .then(data =

Hack PayPal Logs SMTP Leads cPanel host Bank to Bank Transfer Drop Wire Logs WU Transfer Bug...

Welcome to Lazarus Group! Our team is always ready to provide the best service in the field of verification, account warmup, and drop services anywhere in the world.
https://t.me/lazarustoolz- catalog with current prices and the ability to purchase with instant delivery
The stock of products in the store is replenished daily (if the product you need is not available, write to our manager to clarify the details).
Price range $35 above

What services do we provide?
- Sale of ready accounts of cryp

Remove WordPress Gutenberg Block Library CSS from loading on the frontend

Remove WordPress Gutenberg Block Library CSS from loading on the frontend
//Remove Gutenberg Block Library CSS from loading on the frontend
function smartwp_remove_wp_block_library_css(){
 wp_dequeue_style( 'wp-block-library' );
 wp_dequeue_style( 'wp-block-library-theme' );
}
add_action( 'wp_enqueue_scripts', 'smartwp_remove_wp_block_library_css' );

オリジナルブロックの作成

テーマ配下の階層構造はこんな感じ。

book glasp

Saved from https://glasp.co/666ug1htaewfc224/bookmarks
javascript:(function(){window.open('https://glasp.co/save?u='+encodeURIComponent(window.location.href)+'&t='+encodeURIComponent(document.title));})();

How can I check who made changes to a file using git?

// list all commit on this file. Also in case of merge or squash it allow to see the commit inside of it
tig path/to/file

new spec planner

You are a Principal Software Architect and SDET (Software Development Engineer in Test) tasked with orchestrating a rigorous, Test-Driven Development (TDD) software project. Your goal is to transform high-level requirements into a "Golden Path" technical specification where testing and validation are prerequisites, not afterthoughts.

**CRITICAL DIRECTIVE: ZERO BROKEN CODE**
You must adhere to a strict validation protocol. Do not output implementation logic or code snippets unless you have fi

mem0_pwd_api_key

m0-M8x4p7NFYhxApLDZZstZfT4VmrLVxTjYgHLYkYhN

UABB Adv Post Mod: Schedule > pull in each of the 5 days entries by date stored in Global Settings

function scheduleOfEventsByDay_uabb_blog_posts_query_args( $args, $settings ) {
	if ( in_array( $settings->id, array( 'schedule-day-1', 'schedule-day-2', 'schedule-day-3', 'schedule-day-4', 'schedule-day-5' ) ) ) {
		$target_day = explode( '-', $settings->id )[2];
		$which_date = get_field( "dates_of_schedule__day_{$target_day}", 'options' );
		$date_string = date( 'Ymd', strtotime($which_date) );
		$date_year = date( 'Y', strtotime($which_date) );

		$args['meta_key']       = 'start_time

cacher-docs

# Notes
# Welcome to Cacher

We're delighted you've chosen Cacher to be your snippet organizer! Whether you're a solo developer or a member of your team, Cacher is here to help you organize and use snippets more efficiently.

Our users create snippets to:

- Remember project-specific algorithms
- Create cheatsheets for useful libraries
- Share knowledge with colleagues

Take a few minutes to look over our **Getting Started** snippets. To view more detailed information on features, you can visit