Skip to content

Instantly share code, notes, and snippets.

View lasteris's full-sized avatar

Lasteris lasteris

View GitHub Profile

To create a BIRT runtime Maven artifact, please download birt-runtime-4.13.0-20230309.zip, unzip it to /tmp folder, then run the command

./src/main/scripts/install_birt_in_maven_repo.sh

This script was tested in macOS. It should work in Linux as well. It will generate this runtime artifact under the com.friss.org.eclipse.birt group ID.

All the dependencies will be installed into the local Maven repository ~/.m2/repository/.

Once it's successfully, this runtime artifact can be referred by the code

@anvk
anvk / psql_useful_stat_queries.sql
Last active June 1, 2025 16:17
List of some useful Stat Queries for PSQL
--- PSQL queries which also duplicated from https://github.com/anvk/AwesomePSQLList/blob/master/README.md
--- some of them taken from https://www.slideshare.net/alexeylesovsky/deep-dive-into-postgresql-statistics-54594192
-- I'm not an expert in PSQL. Just a developer who is trying to accumulate useful stat queries which could potentially explain problems in your Postgres DB.
------------
-- Basics --
------------
-- Get indexes of tables
@EvieePy
EvieePy / error_handler.py
Last active July 7, 2025 05:48
Simple Error Handling for Prefix and App commands - discord.py
import logging
import discord
from discord import app_commands
from discord.ext import commands
LOGGER: logging.Logger = logging.getLogger(__name__)
@jeffcogswell
jeffcogswell / Update_Java_Alternatives.md
Last active August 2, 2020 16:33
Update Alternatives for Java
@subfuzion
subfuzion / curl.md
Last active October 11, 2025 00:58
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.