Big plus and minus chars in HTML list

Submitted by clemens on Thu, 2022年07月21日 - 2:41pm

The UL list-style-type can be (a) character(s) like "➖" and "➕"

Animated or Sketchy 2D Outline Shader

Submitted by clemens on Wed, 2021年03月24日 - 9:06am

Asked in https://godotengine.org/qa/98759/animated-or-sketchy-2d-outline-shader I came to

Animated git

Simple HTTP(S?) server serving WebASM content

Submitted by clemens on Wed, 2021年02月17日 - 1:42pm

!!! WIP !!! I was surprised that running python3 -m http.server could serve WebASM.

But what about HTTPS? According to https://blog.anvileight.com/posts/simple-python-http-server/ this could be possible using

Meshing with a Mesh

Submitted by clemens on Fri, 2021年02月12日 - 2:33pm

In trying to answer a Godot G&A about distorting a Sprite/Mesh I came up with a (partly) solution

Using a MeshInstance2D with subdivisions it worked out as expected. But a Sprite has only 2 triagles forming a quad so moving a point influences maybe only 1 triangle with distortion on its bounderies.

Simple echo server

Submitted by clemens on Mon, 2021年02月08日 - 4:57pm
#!/usr/bin/env python
# FILE: server.py
import socket
HOST = ''
PORT = 3000
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
 s.bind((HOST, PORT))
 s.listen(1)
 conn, addr = s.accept()
 with conn:
 print('Connected by', addr)
 while True:
 data = conn.recv(1024)
 if data == b'\n':
 break
 conn.sendall(data)

then

python server.py

and

netcat localhost 3000

to test against

Commit changes immediately to git using Rust

Submitted by clemens on Wed, 2020年12月09日 - 12:43pm

Having a trail of your coding flow can be handy or will explain the longing question about 'what was i thinking' when resolving problems of https://adventofcode.com/

Warning: this script needs Rust (unfortunately) installed

Godot application not working for others. Check your log file

Submitted by clemens on Sun, 2020年11月22日 - 3:30pm

I've build a few iterations and suddenly it is broken. What!

Checking with the log file showed an error on a audio file name.

open ~/Library/Application Support/Godot/app_userdata/my-game/logs/godot.log

contains

...
**ERROR**: Cannot load source code from file 'res://UI/Audio.gd'.
...

So ... moving code from project using UI in uppercase to on that has ui lowercase is a known MacOS problem.

Scale object in your editor scene?

Submitted by clemens on Wed, 2020年11月18日 - 1:59pm

I want the assets imported from Blender or other sources fit my scene needs

For this we need to find the bound of the mesh and scale accordingly.

Homebrew installed MariaDb too many open files

Submitted by clemens on Fri, 2020年11月13日 - 9:08am

MariaDB broken

It happened again.

I did brew update/upgrade a while ago then weeks after that restarted MariaDB then days later tried to access MariaDB.

MariaDb too many open files

Trying to get info over the config file seems not easy.

AltStyle によって変換されたページ (->オリジナル) /