Skip to content

Instantly share code, notes, and snippets.

View eljamm's full-sized avatar
Coffee machine

Fedi Jamoussi eljamm

Coffee machine
View GitHub Profile
@eljamm
eljamm / masterbuilder.sh
Last active March 18, 2023 18:17
Script for building the project management software masterplan
#!/bin/bash
function print_help() {
echo -e "Usage: masterbuilder [OPTIONS ...]\n"
echo "Options:"
echo " -t, --target target OS to build --> 'linux', 'windows' or 'darwin'"
echo " -a, --arch target architecture --> depends on OS"
echo " -r, --release masterplan release version"
echo " -gv, --gs-version go-sdl2 version to use"
echo " -gl, --gs-libs unpacked go-sdl2 library path"
@eljamm
eljamm / audit.yml
Created February 13, 2024 09:23 — forked from LukeMathWalker/audit.yml
GitHub Actions - Rust setup
name: Security audit
on:
schedule:
- cron: '0 0 * * *'
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
security_audit:
@eljamm
eljamm / .gitlab-ci.yml
Created February 13, 2024 09:24 — forked from LukeMathWalker/.gitlab-ci.yml
GitLab CI - Rust setup
image: "rust:latest"
default:
before_script:
- rustc --version
- cargo --version
stages:
- test
@eljamm
eljamm / shell.nix
Created May 28, 2024 22:21 — forked from Nadrieril/shell.nix
Building LineageOS on NixOS
# I used this shell.nix to build LineageOS 13.0 for my maguro (Samsung Galaxy Nexus GSM) phone
# The build instructions for normal Linuxes are here: https://wiki.lineageos.org/devices/maguro/build
# For NixOS, follow those instructions but skip anything related to installing packages
# Detailed instructions:
# cd into an empty directory of your choice
# copy this file there
# in nix-shell:
# $ repo init -u https://github.com/LineageOS/android.git -b cm-13.0
# $ repo sync
# $ source build/envsetup.sh