Skip to content

Instantly share code, notes, and snippets.

View jxramos's full-sized avatar
🌴
On vacation

jxramos

🌴
On vacation
  • Zoox
View GitHub Profile
@jxramos
jxramos / apple_too_simple.md
Last active March 30, 2024 14:54
Cataloguing the many instances where the simple mentality comes up short.

Too Simple

A personal cataloguing of the moments where shortcomings are encountered in the ecosystem.

Keyboard

Poor autocorrect experience chock full of typos. Pretty much can't trust a message I type, I need to edit messages constantly especially text that does not fit in a single screen. https://www.reddit.com/r/apple/comments/9mj1si/why_is_autocorrect_so_terrible_are_there_any_ways

Messages App

Messages lumping all communication with a contact, rather than a contact and the communication channel (mobile, email, etc)

@jxramos
jxramos / can_studies.md
Last active February 28, 2024 18:23
CAN Resources
@jxramos
jxramos / plugin_studies.md
Created January 31, 2024 00:36
Notes on studying plugin architectures
@jxramos
jxramos / passport_photo.md
Last active November 14, 2023 18:35
Passport Photo

Steps for Producing a Passport Photo in Photoshop

Configure Selection Tool

  1. Select rectangular markee tool
  2. With the Style option configure Fixed Aspect Ratio from the pulldown menu: set both width and height to 1. this will constrain the selection tool to produce a perfect square however you drag out your selection to whatever size

Crop the Image

Center the square markee selection over your portrait image following the US Passport guidelines for producing the necessary margins from your head and shoulders. Once the the selection is centered and with desirable

@jxramos
jxramos / starlark_highlight_js.md
Last active January 21, 2023 00:40
Notes for implementing the starlark syntax support for highlight.js
@jxramos
jxramos / ReceiptProcessing.md
Last active June 27, 2022 16:59
Compiling a bunch of resources that serve or discuss receipt digitization and processing.

Receipt Processing

Neat

They used to sell an all in one scanner product, looks like they focus more on software and cloud processing solutions: https://www.neat.com/track-receipts/

Software is able to drive certain scanners that support this API https://en.wikipedia.org/wiki/TWAIN

The shifted their focus from the individual to small business as the market was likely larger in that segment.

#!/bin/bash
N_RUNS=30
function drive_test {
test_meta=$1
test_target=$2
n_failures=0
echo "********************************************************************************************************************************************"
echo "$test_meta EXECUTION"
@jxramos
jxramos / bazel_notes.md
Last active March 8, 2022 19:11
Documenting any cool bazel stuff found along the way

https://github.com/bazelbuild/starlark/

which links to

https://github.com/bazelbuild/starlark/blob/master/spec.md

This document was derived from the [description of the Go implementation](description of the Go implementation) of Starlark.

Which explains why all the buildifier and buildozer stuff is expressed in Go. It was a fallacy to think that the starlark interperter would be in python like the language representation itself.

Searching for starlark imports in the buildtools go files lands upon this very promising beauty...

"""
Script to automate the tagging of the File Details from Windows Explorer given a folder path,
the tags to enter into the images, and the number of images to add the tags to.
"""
# BASE PYTHON
import argparse
import os
import sys