Skip to content

Instantly share code, notes, and snippets.

View julis's full-sized avatar

julis julis

View GitHub Profile
@julis
julis / kodi-x96x.md
Created November 21, 2025 06:43 — forked from kipz/kodi-x96x.md
Installing arch linux & kodi on x96q allwinner h313

Lifted build from here: https://github.com/xbmc/inputstream.adaptive/blob/Omega/.github/workflows/build.yml

@julis
julis / my.cnf
Created November 2, 2023 21:15
MySQL Configuration for small RAM / Memory droplet
# /etc/mysql/my.cnf
[mysqld]
performance_schema = off
key_buffer_size = 16M
tmp_table_size = 1M
innodb_buffer_pool_size = 1M
innodb_log_buffer_size = 1M
max_connections = 25
sort_buffer_size = 512K

A simple guide to running Pentaho Data Integration on the Apple’s M1 Mac

Or, at least, how I did it

Pentaho Data Integration suite provides a unified platform for data integration, business analytics, and big data, but it needs to be rewritten for M1 Macs. This guide helps you to solve this issue. Just follow it step by step and you see the application launch.

Step 1

Step 2

  • Open the Terminal app. Run to list all installed Java distributions:
@julis
julis / nginx-minio-static.md
Created March 9, 2023 12:04 — forked from harshavardhana/nginx-minio-static.md
How to configure static website using Nginx with MinIO ?

How to configure static website using Nginx with MinIO ?

1. Install nginx

2. Install minio

3. Install mc client

4. Create a bucket:

$ mc mb myminio/static
Bucket created successfully ‘myminio/static’.
@julis
julis / Code.gs
Created July 26, 2020 11:47
Google script function to populate dropdown of Google Form from Google Sheet
var ID_FORM_ABSENSI = "YOUR-FORM-ID";
var SHEET_DAFTAR_NAMA_MURID = "THE-NAME-OF-SHEET-CONTAINING-THE-DATA";
function populateNamesDropdown() {
// call your form and connect to the drop-down item
var form = FormApp.openById(ID_FORM_ABSENSI);
// get first dropdown item
var fieldNames = form.getItems(FormApp.ItemType.LIST)[0].asListItem();
@julis
julis / date_formatter.js
Created November 14, 2019 09:52
Formatting date in javascript copied from https://stackoverflow.com/a/23593278
format = function date2str(x, y) {
var z = {
M: x.getMonth() + 1,
d: x.getDate(),
h: x.getHours(),
m: x.getMinutes(),
s: x.getSeconds()
};
y = y.replace(/(M+|d+|h+|m+|s+)/g, function(v) {
return ((v.length > 1 ? "0" : "") + eval('z.' + v.slice(-1))).slice(-2)
@julis
julis / .bashrc
Created January 15, 2019 12:05
Window Subsystem Linux customizing bash terminal prompt to be like gnzh .zsh themes
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace
@julis
julis / iterm2-solarized.md
Created March 20, 2016 05:40 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + oh my zsh + solarized + Meslo powerline font (OSX)

Solarized