Skip to content

Instantly share code, notes, and snippets.

View frankmeza's full-sized avatar

Frank Meza frankmeza

  • Northeast Los Angeles
  • 16:48 (UTC -08:00)
View GitHub Profile
@frankmeza
frankmeza / _factory-method.md
Last active February 22, 2021 03:37
[factory method notes] My bullet point notes about the factory method of object construction at refactoring.guru
@frankmeza
frankmeza / dockerfile_best_practices.md
Last active February 11, 2025 09:19
NOTES: Dockerfile best practices
@frankmeza
frankmeza / keybase.md
Created November 7, 2019 18:28
keybase proof

Keybase proof

I hereby claim:

  • I am frankmeza on github.
  • I am frankmeza (https://keybase.io/frankmeza) on keybase.
  • I have a public key ASB60TSwa4Wzd6Q1gVsQwi2mg-c3bxOk9k8le8J7VFgWXAo

To claim this, I am signing this object:

@frankmeza
frankmeza / binary_search.rs
Last active November 25, 2020 19:11
an implementation of binary_search in Rust
fn main() {
let sorted_numbers = vec![1, 2, 3, 4, 5, 6, 20, 400];
let searched = 200;
let is_found = binary_search(sorted_numbers, searched);
println!("is found: {}", is_found);
}
fn binary_search(list: Vec<u32>, target: u32) -> bool {
if list.len() == 0 {
@frankmeza
frankmeza / rust_client_coinmarketcap.md
Last active November 25, 2020 19:41
rust client using reqwest and dotenv, with breakdown #rust

Rust Client using Reqwest

extern crate dotenv;
extern crate hyper;

use http::header::{HeaderName, HeaderValue};
use reqwest::{Client, Method, Url};

fn get_env_vars() -> (HeaderName, HeaderValue, Url) {
@frankmeza
frankmeza / sitka_overview.md
Last active November 26, 2020 05:43
[Sitka] An Overview of Sitka Module Manager #typescript #redux

Sitka Module Manager

Overview

[Sitka][sitka] is a module manager for the state-related parts of your application, and used with [Typescript][typescript] allows you to create strongly-typed APIs for specific parts of your application's Redux state. Each module has the ability to communicate with other modules, enabling greater functionality through coordinated inter-module interaction. Using Redux-Saga forks, Sitka is also able to schedule long-running daemon processes very easily.

Sitka Makes Use of Redux and Redux-Saga

Sitka makes use of both [Redux][redux] and [Redux-Saga][redux-saga].