Skip to content

Instantly share code, notes, and snippets.

View EngEryx's full-sized avatar
🤖
Helping Machines Learn

Eric K EngEryx

🤖
Helping Machines Learn
  • Kenya
View GitHub Profile
@rappasoft
rappasoft / laravel-livewire-tables-demo-table.php
Last active January 17, 2025 17:46
Laravel Livewire Tables Demo Table Source
<?php
namespace App\Http\Livewire;
use App\Models\Tag;
use App\Models\User;
use Illuminate\Database\Eloquent\Builder;
use Rappasoft\LaravelLivewireTables\DataTableComponent;
use Rappasoft\LaravelLivewireTables\Views\Columns\BooleanColumn;
use Rappasoft\LaravelLivewireTables\Views\Column;
@qdm12
qdm12 / README.md
Last active January 18, 2025 01:25
Wireguard and iptables restrictions for multiple users

Wireguard and iptables restrictions for multiple users

If you don't know what Wireguard is, well, you should. It's fast, easy to setup and highly configurable. We will configure Wireguard for multiple users with various restrictions using iptables.

Assumptions

This should fit most setups (not mine though 😉)

@danliberato
danliberato / ESP32_ILI9341_XPT2046.ino
Last active November 1, 2024 22:17
ESP32 controlling a (cheap chinese) ILI9341 TFT LCD via 8 bit parallel and the touch sensor via SPI
/*
* Hardware:
* - TFT LCD (SD card + touch) using ILI9341 via 8bit parallel interface: http://www.lcdwiki.com/3.2inch_16BIT_Module_ILI9341_SKU:MRB3205
* - ESP-WROOM-32 dev Board
*
* Wiring: just follow the pin definitios below
* NOTE: In order to make everything work you HAVE to solder the SMD resistor (actually it's a jumper) in 8bit position.
* */
#include <XPT2046_Touchscreen.h> //https://github.com/PaulStoffregen/XPT2046_Touchscreen
@ArthurNagy
ArthurNagy / RoundedBottomSheetDialogFragment.kt
Last active October 31, 2024 11:35
Rounded modal bottom sheet as seen in new Google products(Tasks, News, etc.), described in this article: https://medium.com/halcyon-mobile/implementing-googles-refreshed-modal-bottom-sheet-4e76cb5de65b
package com.your.package
import android.app.Dialog
import android.os.Bundle
import com.your.package.R
import com.google.android.material.bottomsheet.BottomSheetDialog
import com.google.android.material.bottomsheet.BottomSheetDialogFragment
/**
* BottomSheetDialog fragment that uses a custom
@apsknight
apsknight / proposal.md
Last active March 17, 2021 16:34
GSoC Project Proposal

Project Proposal
Google Summer of Code 2018

Large-scale computing backend for Jupyter notebooks - HTCondor batch job submission and monitoring using the Ganga toolkit

CERN-HSF
High Energy Physics Software Foundation

Mentors:

  • Ulrik Egede
  • Jakub Moscicki