docker導入

https://qiita.com/0xv80/items/597300827b212cab4328 https://zenn.dev/upgradetech/articles/8e8b82e9d5c494 wsl --version wsl --update wsl --status wsl --list wsl --list --online //利用可能なディストリビューションの確認 wsl --install //ubuntoインストール ■Windows PowerShellから実行する設定 設定→Resources→WSL integration

ar-cache

Never Cache URL(s) Need Help? Sensitive pages like custom login/logout URLs should be excluded from cache. Specify URLs of pages or posts that should never be cached (one per line): /en/ /en/(.*)/ / /(.*)/ 

Redirecionar page redirec link page JS apex

apex_util.prepare_url(p_url => 'f?p='||:APP_ID||':'||'sigo2140'||':'||:APP_SESSION||'::NO:RP,16::' ,p_triggering_element => '$(''body'')' ) window.open($('#P46_URL').val(), '_blank').focus();

1. Snippets

# Snippets Snippets can be used to remember many different pieces of information. Here are a few tips on using them in Cacher. ## Markdown ![](https://cdn.cacher.io/intro-snippets/editing-markdown.gif) [Markdown](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) is one of the most widely used snippet types in Cacher for documentation. We've added a few enhancements to make it even more useful. To create a Markdown snippet, simply give your snippet file a `.md` extension or c

How to extract vector 4 form matrix

## Extracting column 1 ![](https://cdn.cacher.io/attachments/u/3pje9ybf7g55g/zeAIgD0bPS4xM9HiFfWqGrWdDW38kcs3/Screenshot_from_2025-09-23_15-49-31.png) ## if you multiply the matrix with a vector 4 {1,0,0,0} it will result in the value of [m11,m12,m13,m14] ![](https://cdn.cacher.io/attachments/u/3pje9ybf7g55g/D5OwhhOfNvcecwqS0XIANq0e1eERp_ty/Screenshot_from_2025-09-23_15-41-54.png) - Multiplying by {1,0,0,0}\{1,0,0,0\}{1,0,0,0} → gives column 1. - Multiplying by {0,1,0,0}\{0,1,0,0\}{0,1,0,0} → gives column 2. - Multiplying by {0,0,1,0}\{0,0,1,0\}{0,0,1,0} → gives column 3. - Multiplying by {0,0,0,1}\{0,0,0,1\}{0,0,0,1} → gives column 4. With this method you can now just take your position and make a **vector4 _t = set(@P.x,@P.y,@P.z,1);** <- this creates the last column of the matrix which is the translation then you can set a new 4x4 by doing **4@localtransform = set(_x,_y,_z,_t)** ## tips when people say a default matrix in houdini it means a ident matrix which is show below: ![](https://cdn.cacher.io/attachments/u/3pje9ybf7g55g/O3vGF1CFvtjV0PmDvS3odc3qfj0Sm35X/Screenshot_from_2025-09-23_15-57-17.png)
@P.x *= -1 ; //mirror on x axis //fix localtransform matrix with the new translation matrix3 a = matrix3(4@localtransform); vector4 _x = 4@localtransform*{1,0,0,0}; vector4 _y = 4@localtransform*{0,1,0,0}; vector4 _z = 4@localtransform*{0,0,1,0}; vector4 _t = set(@P.x,@P.y,@P.z,1); 4@localtransform= set(_x,_y,_z,_t);

C1 U4

E 1. In the end, the company had to get rid of/do away with the old models as they had become obsolete. 2. It’s shameful that multinationals get away with not paying taxes in the countries in which they operate. 3. Watch out! On this level of the video game, you will come up against flying insects that'll try to kill you. 4. Now I have an iPhone, I can’t put up with using any other phone – they’re just too annoying to use! 5. Samsung used to lag behind other brands, but now they’re catch

relicos.com

gia hạn ssl ở https://manage.sslforfree.com/ tk hoangsoft90@gmail.com - smtp: google oauth2 

Bandit Errors

empowerhealth-platform-spike/backend on  main [!?⇡] is 📦 v1.0.0 via 🐍 v3.11.11 (empowerhealth-platform-spike) on ☁️ dom@domhallan.com ❯ mypy app/ --ignore-missing-imports --no-error-summary app/utils/phi_masking.py:34: error: Returning Any from function declared to return "str" [no-any-return] app/utils/phi_masking.py:40: error: Returning Any from function declared to return "str | None" [no-any-return] app/models/core.py:40: error: Function is missing a type annotation [no-untyped-def] ap

3005. Count Elements With Maximum Frequency

You are given an array nums consisting of positive integers. Return the total frequencies of elements in nums such that those elements all have the maximum frequency. The frequency of an element is the number of occurrences of that element in the array.
/** * @param {number[]} nums * @return {number} */ var maxFrequencyElements = function(nums) { // Create an empty object to store the frequency of each number. const map = {}; // Initialize the maximum frequency to 0. let maxF = 0; // Iterate through the input array. for (let i = 0; i < nums.length; i++) { // If the number is not in the map, set its frequency to 1; otherwise, increment it. map[nums[i]] = map[nums[i]] === undefined ? 1 : map[nums[i]] + 

hardening server possibilities

Fail2Ban ``` sudo apt update; sudo apt install fail2ban; sudo nano /etc/fail2ban/jail.local; ``` # Grundkonfiguration: ```[DEFAULT] bantime = 1h findtime = 10m maxretry = 50 backend = systemd ignoreip = 127.0.0.1/8 ::1 #Das blockt IPs, die mehr als 100 Requests pro Minute senden. [apache-req-limit] enabled = true port = http,https filter = apache-req-limit logpath = /var/log/apache2/access.log maxretry = 100 findtime = 60 bantime = 10m ``` # Dann das Filter-File erstellen `sudo nan

推理中的不确定性

# defeating-nondeterminism-in-llm-inference https://thinkingmachines.ai/blog/defeating-nondeterminism-in-llm-inference/ 介绍了推理中不确定性的原因,以及确定性推理的方法

1912. Design Movie Rental System

You have a movie renting company consisting of n shops. You want to implement a renting system that supports searching for, booking, and returning movies. The system should also support generating a report of the currently rented movies. Each movie is given as a 2D integer array entries where entries[i] = [shopi, moviei, pricei] indicates that there is a copy of movie moviei at shop shopi with a rental price of pricei. Each shop carries at most one copy of a movie moviei. The system should support the following functions: Search: Finds the cheapest 5 shops that have an unrented copy of a given movie. The shops should be sorted by price in ascending order, and in case of a tie, the one with the smaller shopi should appear first. If there are less than 5 matching shops, then all of them should be returned. If no shop has an unrented copy, then an empty list should be returned. Rent: Rents an unrented copy of a given movie from a given shop. Drop: Drops off a previously rented copy of a given movie at a given shop. Report: Returns the cheapest 5 rented movies (possibly of the same movie ID) as a 2D list res where res[j] = [shopj, moviej] describes that the jth cheapest rented movie moviej was rented from the shop shopj. The movies in res should be sorted by price in ascending order, and in case of a tie, the one with the smaller shopj should appear first, and if there is still tie, the one with the smaller moviej should appear first. If there are fewer than 5 rented movies, then all of them should be returned. If no movies are currently being rented, then an empty list should be returned. Implement the MovieRentingSystem class: MovieRentingSystem(int n, int[][] entries) Initializes the MovieRentingSystem object with n shops and the movies in entries. List<Integer> search(int movie) Returns a list of shops that have an unrented copy of the given movie as described above. void rent(int shop, int movie) Rents the given movie from the given shop. void drop(int shop, int movie) Drops off a previously rented movie at the given shop. List<List<Integer>> report() Returns a list of cheapest rented movies as described above. Note: The test cases will be generated such that rent will only be called if the shop has an unrented copy of the movie, and drop will only be called if the shop had previously rented out the movie.
/** * @param {number} n * @param {number[][]} entries */ // Constructor for the MovieRentingSystem var MovieRentingSystem = function(n, entries) { // Maps each movieId to a priority queue of shops offering it this.movieIdToShopInfo = new Map(); // Maps "shopId|movieId" to its price this.prices = new Map(); // Tracks unrented movies using composite keys this.unrentedMovies = new Set(); // Min-heap to store rented movies sorted by price, shopId, then movieId t

Houdini one click screenshot tool to clipboard v2

## this is the second version of the screenshot tool more function is added, now you can just click the tool and ctrl+v on your favorite operating system windows or linux application such as slack, discord, whatsapp, etc. ![](https://cdn.cacher.io/attachments/u/3pje9ybf7g55g/ati3DLtahKgU3F1Eick_RapDlR_wysgh/cam_icon.svg) ### added copy fuction to different software ![](https://cdn.cacher.io/attachments/u/3pje9ybf7g55g/gsKMXY-blsfQJOHB2u8OYdZLHgl6w0cr/j60l5bup4.png) ![](https://cdn.cacher.io/attachments/u/3pje9ybf7g55g/FwdK6VQQA0mXdRP3T2gW6a_Lsbp_pZlC/oc21v63xf.png)
import hou, os, time from datetime import datetime try: from PySide6 import QtWidgets, QtGui which = "PySide6" except ImportError: from PySide2 import QtWidgets, QtGui which = "PySide2" # create screenshots folder if not found def path_creator(path): if not os.path.isdir(path): os.makedirs(path, exist_ok=True) return "path_created" # create slight delay to make sure file is in the folder def wait_for_file_load(path, timeout=2.0, interval=0.05): 

Houdini's One-click screenshot tool

## sometimes you just need a quick screeshot, the conventional flipbook makes you press five to ton button just to save an image, this tool lets you save an image to a screenshot folder in just one click. ![](https://cdn.cacher.io/attachments/u/3pje9ybf7g55g/d-UjPwFjY52-HMGEuF1OnwAExA6ITeQ6/cam_icon.svg) ![](https://cdn.cacher.io/attachments/u/3pje9ybf7g55g/HL-atxFmxIW1OBYASANLavhGQ5k-swRE/8ggj1pbhl.png)
import hou, os, time from datetime import datetime # create screenshots folder if not found def path_creator(path): if not os.path.isdir(path): os.makedirs(path, exist_ok=True) return "path_created" # create the path beside your hip folder hip = hou.expandString("$HIP") hipname = hou.expandString("$HIPNAME") outdir = os.path.join(hip, "screenshots") # start the path creation and notify houdini status message path_test = path_creator(outdir)

0. Welcome to Cacher

# 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 [Cacher