Skip to content

Instantly share code, notes, and snippets.

View riccardobl's full-sized avatar

Riccardo Balbo riccardobl

View GitHub Profile

₿itcoin on-chain

bc1qr2jc865yp089mr3tyd3jk65w0k6stx4j6t5qrj

💧Liquid BTC

VJLBkkFZpqqev1tD3DHVuHJiav1agJwarj7EQJWcvbqLSahVLreLjg2ytLqZqnr82E9dXzKEXiW6aS2s

⚡Lightning (1)

rblb@getalby.com

⚡Lightning (2)

rblb@blink.sv

@riccardobl
riccardobl / USAGE.txt
Last active November 16, 2023 13:21
Auto install addons in blend file
1. Add your addons as subfolders under 'addons' next to your blend file eg.
--/home/user/Documents/myBlenderProject
---------------------------------------/myProject.blend
---------------------------------------/addons < place your addons here
----------------------------------------------/myAddon
------------------------------------------------------/[addon files .py]
2. Run the script in blender
{
"addr":"LNURL1DP68GURN8GHJ7AMPD3KX2AR0VEEKZAR0WD5XJTNRDAKJ7TNHV4KXCTTTDEHHWM30D3H82UNVWQHHWET9DDK8JCMPVF5KUET5X5UQ096QTQ",
"enabled":true
}
#!/bin/bash
############################################################
# Usage:
# vos ubuntu:18.04 bash
############################################################
# Simple script that starts a podman/docker container
# mounts the current dir, run a command as the current user
# and destroy itself when the terminal is closed
############################################################
userUID=`id -u`
@riccardobl
riccardobl / build.gradle
Last active September 10, 2019 18:16
Asset pack gradle
apply plugin: 'maven'
apply plugin: 'java'
sourceSets {
main {
resources {
srcDirs = ["."]
include "**"
exclude (".gitignore", ".github",
"build", ".gradle", "README.md",
<html>
<head></head>
<body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/0.7.0/marked.min.js" integrity="sha256-0Ed5s/n37LIeAWApZmZUhY9icm932KvYkTVdJzUBiI4=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dompurify/1.0.11/purify.min.js" integrity="sha256-80n5dmervCuGISioxGlsumrwgMc8LJKT0wZybkLtkLM=" crossorigin="anonymous"></script>
<script>
function loadGithubReadme(repo,branch,callback){
if(repo.endsWith("/"))repo=repo.substring(0,repo.length-1);
console.log("Repo:",repo);
@riccardobl
riccardobl / AppSettings.java.PATCH
Created May 6, 2019 16:16
Fix GL versions support for jme+lwjgl2
--- <unnamed>
+++ <unnamed>
@@ -70,6 +70,8 @@
*/
public static final String LWJGL_OPENGL2 = "LWJGL-OpenGL2";
+ public static final String LWJGL_OPENGL30 = "LWJGL-OpenGL30";
+
/**
* Use LWJGL as the display system and force using the core OpenGL3.2 renderer.
@riccardobl
riccardobl / Fix freelan installation in ubuntu
Created October 15, 2018 18:30
Fix freelan installation in ubuntu
#!/bin/bash
mv /etc/freelan/freelan.cfg /etc/freelan/freelan.conf
ln /bin/freelan /usr/sbin/freelan
chmod +x /usr/sbin/freelan
echo 'CONFIGURATIONS="freelan"' > /etc/default/freelan

Keybase proof

I hereby claim:

  • I am riccardobl on github.
  • I am riccardobl (https://keybase.io/riccardobl) on keybase.
  • I have a public key whose fingerprint is 9550 68E8 BC68 BBFF 6A16 34E8 19F0 7DE6 BB85 5778

To claim this, I am signing this object: