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
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/(.*)/ / /(.*)/
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();
# Snippets Snippets can be used to remember many different pieces of information. Here are a few tips on using them in Cacher. ## Markdown  [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
@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);
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
gia hạn ssl ở https://manage.sslforfree.com/ tk hoangsoft90@gmail.com - smtp: google oauth2
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
/** * @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]] +
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/ 介绍了推理中不确定性的原因,以及确定性推理的方法
/** * @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
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):
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)
# 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