Skip to content

Instantly share code, notes, and snippets.

@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 20:13
Rimworld output log published using HugsLib
Log uploaded on Tuesday, February 11, 2025, 11:13:26 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
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)
Search and Destroy (Unofficial Update)(MemeGoddess.SearchAndDestroy): (no assemblies)
Map Preview(m00nl1ght.MapPreview): LunarLoader(1.1.9), LunarFramework(1.1.9), MapPreview(1.12.17), MapPreviewMod(1.12.17)
@Mole1424
Mole1424 / ROI_pooling.py
Last active February 11, 2025 20:13 — forked from Jsevillamol/ROI_pooling.py
ROI Pooling Layer
import tensorflow as tf
from tensorflow.keras.layers import Layer
class ROIPoolingLayer(Layer):
""" Implements Region Of Interest Max Pooling
for channel-first images and relative bounding box coordinates
# Constructor parameters
pooled_height, pooled_width (int) --
specify height and width of layer outputs
{
"certified": false,
"deleted": false,
"docker_image_digest": "sha256:605a049531ad9d46f2cb5b9aba55be0f65a6121071228292902970fda085a41a",
"docker_image_id": "sha256:12c3b7c6ff4ef8dcd796bf67c0489e95669431268e6876a3aeb4bb4a2cb8de64",
"image_id": "sha256:605a049531ad9d46f2cb5b9aba55be0f65a6121071228292902970fda085a41a",
"parsed_data": {
"architecture": "amd64",
"created": "2025-02-11 19:41:15.178774209 +0000 UTC",
"image_id": "sha256:605a049531ad9d46f2cb5b9aba55be0f65a6121071228292902970fda085a41a",
def load_parquet_file(file_path: str) -> pd.DataFrame:
return pd.read_parquet(file_path)
data_df = None
i = 0
for file_path in glob.glob(os.path.join('data/', 'abstracts_*.parquet')):
print('Loading data from {}'.format(file_path))
file_df = load_parquet_file(file_path)
if data_df is None:
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 20:11
Rimworld output log published using HugsLib
Log uploaded on Tuesday, February 11, 2025, 11:10:59 PM
Loaded mods:
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Fishery - Modding Library(bs.fishery): 0PrepatcherAPI(1.2.0), 1Fishery(0.6.1), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Core(Ludeon.RimWorld): (no assemblies)
Better Log - Fix your errors(bs.betterlog): 0PrepatcherAPI(1.2.0), 1Fishery(av:0.6.1,fv:0.5.1.2), BetterLog(1.1.0), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Performance Fish(bs.performance): PerformanceFish(0.6.2)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
@lvanasse
lvanasse / ci-risc-v-01.log
Created February 11, 2025 20:10
[risc-v-01] CI Log for nuttx @ 381d3fe64f4da2b09f12bd8f0cd2d1f07d86b3d3 / nuttx-apps @ fb0c1e10ded2a6fb9f066b9893662cbcc86e4646
fpu.c:57:8: warning: #warning "FPU test not built; Only available in the flat build (CONFIG_BUILD_FLAT)" [-Wcpp]
adc_main.c:312:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
fpu.c:57:8: warning: #warning "FPU test not built; Only available in the flat build (CONFIG_BUILD_FLAT)" [-Wcpp]
Script started on 2025-02-11 19:59:52+00:00 [COMMAND="/home/ludovic/nuttx-release/run-job.sh risc-v-01" <not executed on terminal>]
Now running https://github.com/lupyuen/nuttx-release/blob/main/run-job.sh
Called by https://github.com/lupyuen/nuttx-release/blob/main/run-ci.sh
+ job=risc-v-01
+ neofetch
.-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created February 11, 2025 20:10
fossamail v38.2.0 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-2270195762-3335344054-2709297393-1000</user>
<keys>
<key installerType="Unknown" displayName="FossaMail 38.2.0 (x64 en-US)" displayVersion="38.2.0">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\FossaMail 38.2.0 (x64 en-US)</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\FossaMail]]></InstallLocation>
<UninstallString><![CDATA[C:\Program Files\FossaMail\uninstall\helper.exe]]></UninstallString>
# For setting up the vector db
import chromadb
# For working with our data files
import os
import glob
# For handling our data
import pandas as pd
import numpy as np
@phillipwilhelm
phillipwilhelm / gk-allow-logged-out.php
Created February 11, 2025 20:10 — forked from rafaehlers/gk-allow-logged-out.php
Allow logged-out users to edit entrie
<?php //DO NOT COPY THIS LINE
// Removes Edit Entry "nonce" validation. Edit Entry checks whether an user has the ability to edit an entry, but it also checks a "nonce" to make sure that the Edit Entry link was recently generated by the current user visiting the page. This can sometimes cause problems; this code removes that "nonce" validation.
add_filter( 'gravityview/edit_entry/verify_nonce', '__return_true' );
// allow non logged-in users to edit entries
add_filter( 'gravityview/edit_entry/user_can_edit_entry', '__return_true' );
add_filter( 'gravityview/capabilities/allow_logged_out', '__return_true' );
add_filter( 'user_has_cap', function( $caps ) {
$caps['gravityview_edit_others_entries'] = true;
pip install chromadb
pip install pandas
pip install scikit-learn # This is where we'll grab the cosine similarity function