Kronberg Solutions Blog

The wonderful world of technology

Photoshop Script to split large images into smaller ones

Alex October 27, 2025 0 Comments

Here’s the code:var Tiler = function (width, height, tileSize, levels) { this.width = width; this.height = height; this.tileSize = (typeof tileSize === “undefined”) ? 256 : tileSize; this.levels = (typeof levels === “undefined”) ? 2 : levels; this.cols = Math.ceil(width/this.tileSize);…
Read more

Photoshop

Photoshop

Sitecore JSX Render Logging

Alex July 3, 2024 0 Comments

To inject logging for incoming requests, modify the following file:\nextjs\node_modules\next\dist\server\lib\start-server.js req object has a lot of other yummy info. You can see all the properties by just outputting req object itself

Uncategorized

JSX, Sitecore

Simple EventManager

Alex June 21, 2022 0 Comments

using UnityEngine;using UnityEngine.Events;using System.Collections;using System.Collections.Generic; public class EventManager : MonoBehaviour { }

Uncategorized

Unity3D

Setting Timeline Director speed

Alex June 19, 2022 0 Comments

This setting will effect all animations under Timeline control pd = GetComponent<PlayableDirector>();pd.playableGraph.GetRootPlayable(0).SetSpeed(newSpeed);

Uncategorized

Unity3D

Getting rid of stripy lines on camera

Alex May 18, 2022 0 Comments

Small lines and objects sometimes would cause flicker. Very simple solution – enable Temporal Anti-aliasing

Uncategorized

Unity3D

Strip HTML tags with RegEx

Alex January 10, 2022 0 Comments

var str = “<p>blah</p>”;var reg = new Regex(“<[^>]*>”);str = reg.Replace(str, “”);

Uncategorized

Memory Profiling with WinDBG

Alex November 12, 2021 0 Comments

Create memory dump file Open WinDBG and go to File/Settings Add path to DLLs/PDBs Load DMP file In command type: .loadby sos clr In command type: !dumpheap -stat

Uncategorized

RegEx in Notepad++

Alex November 12, 2021 0 Comments

Search expression: ([0-9]+)\t([0-9]+)(\s)(.+) Replace with: $1\t$2\t$4 This builds new text by using match groups from expression above. Plain and simple

Uncategorized

Restarting Win Video Driver

Alex October 20, 2021 0 Comments

Lost my DisplayPort monitors. Thought video card died, but this trick fixed my problem: Press Windows key + Ctrl + Shift + B

Uncategorized

Delete all docs in SOLR (windows prompt)

Alex July 7, 2021 0 Comments

curl -X POST -H “Content-Type: application/json” –data-binary “{‘delete’:{‘query’:’:’ }}” https://local.terminix.com:8983/solr/XP0_web_index/update?commit=true -k Note double quotes. Most of the CURL samples are for Linux. Windows likes it the way it is written above.

Uncategorized

Post navigation

1 2 3 Next →

Recent Posts

  • Photoshop Script to split large images into smaller ones
  • Sitecore JSX Render Logging
  • Simple EventManager
  • Setting Timeline Director speed
  • Getting rid of stripy lines on camera

Recent Comments

    Archives

    • October 2025
    • July 2024
    • June 2022
    • May 2022
    • January 2022
    • November 2021
    • October 2021
    • July 2021
    • June 2021
    • February 2021
    • August 2018
    • September 2016
    • August 2016
    • April 2016
    • March 2016
    • February 2016
    • December 2015
    • August 2015
    • June 2015
    • May 2015

    Categories

    • Browser Compatibility
    • CSS/Layout
    • Photoshop
    • Sitecore
    • Uncategorized
    • Web Services/WCF

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

    Calendar

    December 2025
    M T W T F S S
    1234567
    891011121314
    15161718192021
    22232425262728
    293031  
    « Oct    

    Tags

    JSX Photoshop Sitecore Sitecore 8.1 Unity3D