Skip to content

Instantly share code, notes, and snippets.

@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created Jun 29, 2022
Rimworld output log published using HugsLib
View output_log.txt
Log uploaded on Wednesday, June 29, 2022, 12:58:10 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:1.3.0.0]: 0Harmony(2.2.1), HarmonyMod(1.3.0)
Core(Ludeon.RimWorld): (no assemblies)
Startup impact(automatic.startupimpact): 0Harmony(av:2.2.1,fv:2.0.2), StartupImpact(1.1.7867.20184)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
RuntimeGC [1.3](trinity.RuntimeGCupdated)[mv:0.1.0.0]: RuntimeGC(20.0.15.1)
SRTS Expanded(smashphil.neceros.srtsexpanded)[mv:1.4.6]: 0Harmony(av:2.2.1,fv:2.1.0), SRTS(1.0.0)
[ELIF] SRTS - Helicopters(ELIF.SRTS.Helicopters)[mv:1.0.1.2]: ELIF_RotorFramework(1.0.0)
@bolverk
bolverk / dark_dimension.py
Created Jun 29, 2022
A demonstration of pdb's interact command with the Dormammu scene from Dr. Strange
View dark_dimension.py
from fake_typing import fake_typing
class Dormammu:
def __init__(self):
self.name = 'Dormammu'
self.counter = 0
def consider(self):
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created Jun 29, 2022
Rimworld output log published using HugsLib
View output_log.txt
Log uploaded on Wednesday, June 29, 2022, 7:58:12 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:1.2.0.0]: 0Harmony(2.2.0), HarmonyMod(1.2.0)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:9.0.1]: 0Harmony(av:2.2.0,fv:1.2.0.1), HugsLib(av:1.0.0,fv:9.0.1)
Animals reskin HD(hd.pashka.cattleya.animalsreskin)[mv:1.0.0.0]: (no assemblies)
Awesome Inventory 1.3 Forked(NotooShabby.AwesomeInventoryForked): NotooShabby.RimWorldUtility(av:1.0.7507.42509,fv:1.0.0), AwesomeInventory.Base(av:1.0.8004.25123,fv:1.0.0), AwesomeInventoryCommon1.3(av:1.0.8005.30510,fv:1.0.0), NotooShabby.RimWorldUtility(av:1.0.7507.42509,fv:1.0.0), AwesomeInventoryVanilla1.3(av:1.0.8005.30512,fv:1.0.0)
Better Explosions(nephlite.advexplosions): (no assemblies)
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created Jun 29, 2022
Rimworld output log published using HugsLib
View output_log.txt
Log uploaded on Wednesday, June 29, 2022, 8:57:45 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:1.3.0.0]: 0Harmony(2.2.1), HarmonyMod(1.3.0)
BetterLoading(me.samboycoding.betterloading)[mv:3.3.0.0]: 0Harmony(av:2.2.1,fv:2.1.0), BetterLoading(2.3.0), Tomlet(3.1.3)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
SRTS Expanded(smashphil.neceros.srtsexpanded)[mv:1.4.6]: 0Harmony(av:2.2.1,fv:2.1.0), SRTS(1.0.0)
SRTS_Expanded_zh(RWZH.ChinesePack.srtsexpanded): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:9.0.1]: 0Harmony(av:2.2.1,fv:1.2.0.1), HugsLib(av:1.0.0,fv:9.0.1)
View ruwikiruscorpora_upos_cbow_300_10_2021_6ce4235fa88c8df67bc735dd2cb03be4_pca_config.json
{"embeddings": [{"tensorName": "WebVectors", "tensorShape": [300, 12], "tensorPath": "https://gist.githubusercontent.com/akutuzov/05fbdf6ed3d100c1140d65b6f8ecfc14/raw/29cfe29cad814cbe70e2cc2c86f1970e475cfd99/ruwikiruscorpora_upos_cbow_300_10_2021_6ce4235fa88c8df67bc735dd2cb03be4_pca_tensor.tsv", "metadataPath": "https://gist.githubusercontent.com/akutuzov/4161c887221e4c3e1f7d50634701852a/raw/1f9a5d9be0d4b44fb0d58b97e45d902e720f6f89/ruwikiruscorpora_upos_cbow_300_10_2021_6ce4235fa88c8df67bc735dd2cb03be4_pca_metadata.tsv"}]}
View ruwikiruscorpora_upos_cbow_300_10_2021_6ce4235fa88c8df67bc735dd2cb03be4_pca_metadata.tsv
word Class
замечательный 0
чистый 0
новый 0
хороший 0
быстрый 0
отличный 0
медленный 1
старый 1
грязный 1
View ruwikiruscorpora_upos_cbow_300_10_2021_6ce4235fa88c8df67bc735dd2cb03be4_pca_tensor.tsv
-0.13128842413425446 -0.01634122245013714 0.06537096947431564 -0.058163002133369446 0.08022511750459671 -0.01828707382082939 0.010127319023013115 0.0018839581171050668 0.006631817668676376 -0.030174631625413895 -0.0015054582618176937 0.017245162278413773 -0.04052006080746651 0.06360475718975067 0.008671787567436695 0.032685764133930206 0.03455151617527008 -0.017019186168909073 0.021338744089007378 -0.09660246223211288 -0.032822974026203156 -0.033776480704545975 -0.03204519674181938 -0.015995411202311516 -0.013167202472686768 0.011622331105172634 0.04027983546257019 -0.07225009053945541 0.01374149415642023 -0.043190013617277145 0.04520025849342346 -0.0393591970205307 0.0908823013305664 -0.10926824808120728 -0.040474798530340195 0.02647882141172886 0.07670053094625473 0.04758615419268608 0.12744787335395813 -0.07367761433124542 -0.052978478372097015 -0.012112727388739586 -0.04073059558868408 -0.008672709576785564 0.07638271898031235 -0.023487074300646782 -0.006275898776948452 0.11959110200405121 0.0284978095442
@mafei-dev
mafei-dev / ExternalUserPointsService.java
Created Jun 29, 2022
stacksaga example - order-service-entity-ExternalUserPointsService.java
View ExternalUserPointsService.java
package org.mono.stacksaga.example.orderservice.service.external;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@FeignClient(value = "UserPointsService", url = "${services.url.user-service}")
public interface ExternalUserPointsService {
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created Jun 29, 2022
Rimworld output log published using HugsLib
View output_log.txt
Log uploaded on Wednesday, June 29, 2022, 4:57:30 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:1.1.1.0]: 0Harmony(2.2.1), HarmonyMod(1.1.1)
Core(Ludeon.RimWorld): (no assemblies)
RimThemesLite(skyarkhangel.RimThemesLite): 0Harmony(av:2.2.1,fv:2.1.1), LibAPNG(0.2.6979.15011), RimThemesLite(2019.3.1)
PatchOperationHighlander(ccl.patchoperation.highlander): PatchOperationHighlander(0.0.0)
HugsLib(UnlimitedHugs.HugsLib)[ov:9.0.1]: 0Harmony(av:2.2.1,fv:1.2.0.1), HugsLib(av:1.0.0,fv:9.0.1)
Another Tweaks(pirateby.anothertweaks): AnotherTweaks(1.0.0)
HAR Fix for Yayo Animation(com.yayo.harfixyayoani): harFix_yayoAni(1.0.0)
Humanoid Alien Races(erdelf.HumanoidAlienRaces): 0Harmony(av:2.2.1,fv:2.2.0), AlienRace(1.0.0)
View ResearchOnlineJudgeEnvironment.cs
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
class Program
{
static void Main()
{
var x = CollectionsMarshal.AsSpan(new List<int>() { 1 }); // req .NET 5
var y = BitConverter.DoubleToUInt64Bits(1.0); // req .NET 6