Skip to content

Instantly share code, notes, and snippets.

@vintprox
vintprox / minetest-better-fonts-2023.md
Last active September 17, 2023 09:19
Better (unicode) fonts for Minetest 2023

Better (unicode) fonts for Minetest 2023

  • Tired of boring default font in Minetest?
  • Have the text become increasingly harder to read?
  • Does the current font wear you off, stealing all your concentration?
  • Do you want one that you can recommended to anyone else, for any language?

Try something different, with this guide! Showing you how to setup a few beatiful fonts for Minetest today.

I just think they're neat.

@vintprox
vintprox / explore.gd
Last active July 2, 2022 21:10
Explore the Asset Library with designated query in Godot 4.x Editor
func assetlib_search(query: String):
var assetlib_view: Control = get_editor_interface().get_editor_main_control().find_children("*", "EditorAssetLibrary", false, false).pop_front()
if not assetlib_view:
OS.shell_open("https://godotengine.org/asset-library/asset?filter=" + query.uri_encode())
return
get_editor_interface().set_main_screen_editor("AssetLib")
await get_tree().create_timer(1).timeout
var search_field: LineEdit = assetlib_view.find_children("*", "LineEdit", true, false).pop_front()
@vintprox
vintprox / objection.lol-vintprox.css
Created August 2, 2020 11:23
objection.lol Objection Maker CSS redesign
/**
* Произвольные стили для objection.lol
*
* @author vintprox
*/
/***********
СТИЛИ СЦЕНЫ
***********/
@vintprox
vintprox / TestWidget.js
Last active June 2, 2020 15:35
3DDashboard hello world widget
define('DS/TestWidget', () => {
widget.body.innerHTML = 'Hello World!'
})
@vintprox
vintprox / frame.html
Last active June 7, 2020 08:09
Parsed 3DDashboard empty widget at runtime
<html class="uwa-framed chrome chrome83 linux">
<head>
<title>Test Widget</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="https://3dd.your.app/resources/20200331T184029Z/en/webapps/c/UWA/assets/css/iframe.css?v=20200331T184029Z">
<style type="text/css">...</style>
<script type="text/javascript" src="https://3dd.your.app/resources/20200331T184029Z/ru/webapps/AmdLoader/AmdLoader.js"></script>
<script type="text/javascript">...</script>
@vintprox
vintprox / index.html
Last active June 2, 2020 15:35
3DDashboard empty widget XHTML
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:widget="http://www.netvibes.com/ns/">
<head>
<title>Test Widget</title>
</head>
<body></body>
</html>
@vintprox
vintprox / BusinessObjectSearch.vue
Created March 25, 2020 14:36
Type inference for refs is weird here
<template>
<div>
<v-data-table
:headers="fields"
:items="objects"
:sort-by="sortBy"
class="elevation-1"
>
</v-data-table>
</div>
@vintprox
vintprox / guards.js
Created August 30, 2019 19:08
Guarding commands to whitelisted channels - workaround for discordjs/Commando#34
/**
* ./guards.js
*/
const store = require('./store.js');
exports.notAssigned = async function(msg, channel) {
const assigned = await store.get(channel.id, false);
return !assigned && msg.direct(`I am not assigned to ${channel}. Try another channel.`);
@vintprox
vintprox / NxServ Automated Lottery (RU).txt
Last active December 9, 2017 02:37
NxServ Automated Lottery (RU) ― Expression 2
#[
NxServ Automated Lottery (RU)
Управляйте своей лотереей автоматически на NxServ!
https://gist.github.com/vintproykt/90056ccff51f794709e0db960cd46787
Разработчики:
+ Rodion Borisov (vintproykt)
+ John William's (Epilepsys)
Соедините `EGP` с Wire EGP Emitter.
@vintprox
vintprox / NxServ Automated Lottery (FR).txt
Last active December 9, 2017 02:37
NxServ Automated Lottery (FR) ― Expression 2
#[
NxServ Automated Lottery (FR)
Gérez votre loterie automatiquement sur NxServ!
https://gist.github.com/vintproykt/b2e69018b55a68cbb137a25a7dd5c401
Mainteneurs:
+ Rodion Borisov (vintproykt)
+ John William's (Epilepsys)
Connectez `EGP` avec Wire EGP Emitter.