Skip to content

Instantly share code, notes, and snippets.

View openpanzer-save.json
{"scenario":{"name":"Ciechanow","maxTurns":20,"date":"1939-09-05T05:00:00.000Z","atmosferic":0,"latitude":2,"ground":0,"turnsPerDay":4,"dayTurn":0,"reinforcements":{},"map":{"rows":32,"cols":37,"isLastRowPartial":true,"isLastColPartial":false,"map":[[{},{},{},{},{},{},{},{},{},{},{"unit":null,"airunit":null,"terrain":15,"road":0,"owner":-1,"flag":-1,"isDeployment":-1,"victorySide":-1,"name":"","isMoveSel":false,"isAttackSel":false},{"unit":null,"airunit":null,"terrain":15,"road":0,"owner":-1,"flag":-1,"isDeployment":-1,"victorySide":-1,"name":"","isMoveSel":false,"isAttackSel":false},{},{},{},{},{},{"unit":null,"airunit":null,"terrain":3,"road":0,"owner":-1,"flag":-1,"isDeployment":-1,"victorySide":-1,"name":"","isMoveSel":false,"isAttackSel":false},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}],[{},{},{},{},{},{},{},{},{},{},{"unit":null,"airunit":null,"terrain":1,"road":0,"owner":0,"flag":7,"isDeployment":0,"victorySide":1,"name":"Neidenburg","isMoveSel":false,"isAttackSel":false},{"unit":{"eqid"
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created Sep 16, 2021
Rimworld output log published using HugsLib
View output_log.txt
Log uploaded on Thursday, September 16, 2021, 7:52:27 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:1.1.1.0]: 0Harmony(2.1.1), HarmonyMod(1.1.1)
BetterLoading(me.samboycoding.betterloading)[mv:3.2.0.1]: 0Harmony(av:2.1.1,fv:2.1.0), BetterLoading(2.3.0)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:9.0.0]: 0Harmony(av:2.1.1,fv:1.2.0.1), HugsLib(av:1.0.0,fv:9.0.0)
Absolute Legends Hair(Absolute.Legends.Hair)[mv:1.0.89]: (no assemblies)
Doors Expanded (Dev)(jecrell.doorsexpanded)[mv:1.4.0.1]: DoorsExpanded(1.4.0.1)
View demo.md

Suponete que este es tu padre que tiene un componente hijo:

<div>
  <div>Hola Mundo</div>
  <AppChild
    @update="handleUpdate" />
  <div>Chau mundo</div>
</div>
@wplit
wplit / code-snippet.php
Created Sep 16, 2021
Working pagination for Repeaters & Easy Posts on static home pages
View code-snippet.php
add_action( 'pre_get_posts', 'wpdd_pagination_fix_static_homepage' );
/**
* Fix pagination issue for custom loops on static homepage.
*
* @param WP_Query $query The default query for the front page.
* @return WP_Query The default query with custom parameters added.
*/
function wpdd_pagination_fix_static_homepage( $query ) {
$front_page_id = get_option( 'page_on_front' );
$current_page_id = $query->get( 'page_id' );
View Wings(Fixed)
--[[ To fly jump 2 times -ulti55]]
--[[ To go down press q ]]
script.Parent = nil
function fly()
for i,v in pairs(script:GetChildren()) do
pcall(function() v.Value = "" end)