Skip to main content

Posts

lxterminal - terminal color - best for readability (at least for me)

   edit .config/lxterminal/lxterminal.conf Find something like this: --- bgcolor=rgb(0,0,0) color_preset=custom bgcolor=rgb(30,30,30) fgcolor=rgb(224,224,224) palette_color_0=rgb(30,30,30) palette_color_1=rgb(224,108,117) palette_color_2=rgb(152,195,121) palette_color_3=rgb(229,192,123) palette_color_4=rgb(97,175,239) palette_color_5=rgb(198,120,221) palette_color_6=rgb(86,182,194) palette_color_7=rgb(171,178,191) palette_color_8=rgb(92,99,112) palette_color_9=rgb(224,108,117) palette_color_10=rgb(152,195,121) palette_color_11=rgb(229,192,123) palette_color_12=rgb(97,175,239) palette_color_13=rgb(198,120,221) palette_color_14=rgb(86,182,194) palette_color_15=rgb(255,255,255) ---   and replace it with this code ---  color_preset=custom bgcolor=rgb(30,30,30) fgcolor=rgb(224,224,224) palette_color_0=rgb(30,30,30) palette_color_1=rgb(224,108,117) palette_color_2=rgb(152,195,121) palette_color_3=rgb(229,192,123) palette_color_4=rgb(97,175,239) palette_color_5=rgb(198,120,...

Upgrade older vs.net .net 4 framework solutions/applications to .net 10 sdk.

Backup your project (cs, vb, whatever language).  Start the command line as administrator.   Run the following: dotnet tool install -g upgrade-assistant Move to the folder of your vs.net project: cd path\to\yourproject   Run the following command to upgrade the project: upgrade-assistant upgrade path\to\yourproject\yourproject.sln    

.net 10 framework sdk not available on vs.net 2026 and 2022

Make sure that you've installed the sdk (It can be done also through the "Visual studio installer" -> "modify" -> Single Components -> .net )  https://dotnet.microsoft.com/en-us/download/visual-studio-sdks .net 10 sdk -> https://dotnet.microsoft.com/en-us/download/dotnet/10.0   Restart vs.net. --  Any older project must be upgraded if the used .net framework was below 5.

[FIX] Visual Studio 2022 + 2026: Warning CA1416 "Call site reachable by all platforms" but "only supported on: 'windows'"

  Edit your vb or cs project  ex: Viewer.vbproj  or  Viewer.csproj    Check that the framework has the suffix "-windows" as the following example:  <TargetFramework>net10.0-windows</TargetFramework>    Then make sure that  GenerateAssemblyInfo the following is set to true <GenerateAssemblyInfo>true</GenerateAssemblyInfo>    Rebuild your project.

[FIX] cyberpunk skip dialogue disappeared - pc Y button

  open C:\Games\Cyberpunk 2077\r6\config\inputUserMappings.xml with a text editor (ex. notepad++)   find   <mapping name="SceneFastForward_Button" type="Button" > ... </mapping> example (my non working settings)     <mapping name="SceneFastForward_Button" type="Button" >         <button id="IK_Pad_DigitLeft" />         <button id="IK_Y" overridableUI="fastForward" />     </mapping> and REPLACE it with the following:     <mapping name="SceneFastForward_Button" type="Button" >         <button id="IK_Pad_B_CIRCLE" />         <button id="IK_C" overridableUI="fastForward"/>     </mapping> thanks to the vanilla xml files on nexus mods as the original source.

MySQL and MariaDB Character Set Changes: When Was utf8mb4 Introduced and utf8_general_ci Replaced?

  The change from "utf8" to "utf8mb4" and the corresponding replacement of "utf8_general_ci" with "utf8mb4_general_ci" occurred in different versions for MySQL and MariaDB. For MySQL, the "utf8mb4" character set was introduced in version 5.5.3, which was released in 2010. However, it was not made the default character set until version 5.7.8, which was released in 2015. From that point on, "utf8mb4" became the recommended character set for MySQL going forward. For MariaDB, the "utf8mb4" character set was introduced in version 10.0.1, which was released in 2014. Like MySQL, it was made the default character set in a later version, specifically version 10.2.4, which was released in 2017. So, to summarize, the first versions of MySQL and MariaDB that introduced the "utf8mb4" character set and replaced "utf8_general_ci" with "utf8mb4_general_ci" were: MySQL: "utf8mb4" was introduce...

Database Collation when installing Opencart 3.x, 4.x

  To avoid several problems the database collation for opencart should be as follows: - for Opencart 4.0.1.1 and above it should be " utf8mb4_general_ci " - for Opencart 1.5.51 (Opencart  2.x, Opencart 3.x ) up to Opencart 4.0.1.0 the collation should be " utf8_general_ci " - for Opencart 1.4.1 up to Opencart 1.5.4.1 the collation should be " utf8_bin " - for Opencart <1.1.1 up to Opencart 1.4.0 the collation should be " utf8_unicode_ci " If you are using the latest version of mysql always use " utf8mb4_general_ci ". Never use UTF8mb3*

Imagetracer java (jar file) - raster to vectorial

You can download here the jar file Sample prompt with options  java -jar ImageTracer.jar smiley.png outfilename output.svg ltres 1 qtres 1 pathomit 8 colorsampling 1 numberofcolors 16 mincolorratio 0.02 colorquantcycles 3 scale 1 simplifytolerance 0 roundcoords 1 lcpr 0 qcpr 0 desc 1 viewbox 0 blurradius 0 blurdelta 20   The source code could be found here  https://github.com/miguelemosreverte/imagetracerjava that it's enhanced versionf of this older one https://github.com/jankovicsandras/imagetracerjava