Skip to content

Instantly share code, notes, and snippets.

View mwamodo's full-sized avatar
🏄‍♂️
providing value though code

Erick Mwamodo mwamodo

🏄‍♂️
providing value though code
View GitHub Profile
@mwamodo
mwamodo / generate_colors.md
Last active December 21, 2022 20:39
Generate Random Colors Java
import java.awt.Color;
import java.util.Random;

public class RandomColorGenerator {
  public static void main(String[] args) {
    Random random = new Random();

    // Generate random values for the red, green, and blue components of the color
 int r = random.nextInt(256);
@mwamodo
mwamodo / meilisearch-autocomplete.blade.php
Created October 24, 2022 04:56 — forked from mithicher/meilisearch-autocomplete.blade.php
MeiliSearch Laravel Blade Component
@props([
'id' => 'autocomplete-'. uniqid(),
'placeholder' => 'Search...',
'indexName' => '',
'publicKey' => '',
'host' => 'http://127.0.0.1:7700',
])
<div
x-data="{

Keybase proof

I hereby claim:

  • I am mwamodo on github.
  • I am mwamodojnr (https://keybase.io/mwamodojnr) on keybase.
  • I have a public key ASApU8lh2glgWyScYjzZZlgwsB_UJ66TkpwROISUwxs8_Qo

To claim this, I am signing this object: