Skip to content

Instantly share code, notes, and snippets.

View explorigin's full-sized avatar

Timothy Farrell explorigin

  • Tulsa, Oklahoma, USA
View GitHub Profile
@explorigin
explorigin / Dockerfile
Created May 28, 2026 13:01
Docker Setup for VSCode server with AI tools built-in
FROM debian:bookworm-slim
# Avoid interactive prompts during build
ENV DEBIAN_FRONTEND=noninteractive
# ── Locale (set early so locale-gen and all RUN steps use it) ──────
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8
@explorigin
explorigin / password_manager.html
Last active September 14, 2026 12:52
Offline Webapp to manage passwords
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Dev CSP permits the Vite HMR WebSocket + same-origin dev assets. The
production build (scripts/inline-assets.js) swaps this for the strict
sandbox CSP (connect-src 'none', form/object denied). Clickjacking
(frame-ancestors / X-Frame-Options) is an HTTP-header concern and must
be set by the serving layer, not in a meta tag. -->
data "aws_region" "current" {}
data "aws_dynamodb_table" "table" {
for_each = toset(var.tables)
name = each.key
}
data "aws_iam_policy_document" "dynamodb_table_actions" {
statement {
@explorigin
explorigin / Lists.xml
Created January 25, 2021 17:44
Lists Skill
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="^RFIIWgteWtbGGe5k/;*">list_name</variable>
<variable id="58Pb!?g`JBb3u!XRMB{?">items</variable>
<variable id="%lP.Y9;X[.,_9|Gebbc)">item_name</variable>
<variable id="!6RW*Qn`q]34Mmq#6Z.d">existing_list</variable>
<variable id="}Fkl[-=0t(YCPUO%0NJr">item_index</variable>
<variable id="5S+flii$$yaW~Gl2~q8|">utterance</variable>
<variable id="];Tr3QzsRbN+JsV/0tW.">utterance_remainder</variable>
</variables>
@explorigin
explorigin / search_youtube.xml
Created January 25, 2021 17:29
Search Youtube
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="9|t#QO2zA=*4IWswdkeK">song_name</variable>
<variable id="2-q?U_#:3)N]Gp8T#.5n">song_data</variable>
<variable id="5OLs)=knY`zB7E;2)e1)">result</variable>
<variable id="_q8cHm$C0!{jYnL-7fVE">song_dict</variable>
<variable id=",fR2ZFq6oHdtdqkKlbAr">utterance_remainder</variable>
</variables>
<block type="adaptv2" id="xQ~9n8Mu[}wCgNCb%634" x="47" y="-200">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
@explorigin
explorigin / smartling-json-loader.js
Last active September 30, 2019 16:13
Webpack loader for converting Smartling JSON files into simple key-value JSON mapping.
module.exports = function loader(source) {
if (this.cacheable) this.cacheable();
let value = typeof source === 'string' ? JSON.parse(source) : source;
// Filter out smartling metadata.
const metadata = value.smartling;
if (metadata !== undefined) {
const path = metadata.translate_paths.path.split('/')[1];
Verifying my Blockstack ID is secured with the address 1QD3SoHuwDFn6ZkQvvSPUCHum3iGtSBDda https://explorer.blockstack.org/address/1QD3SoHuwDFn6ZkQvvSPUCHum3iGtSBDda
### Keybase proof
I hereby claim:
* I am explorigin on github.
* I am explorigin (https://keybase.io/explorigin) on keybase.
* I have a public key ASAr7Qb_DMCi2a87HSZTGN6OfQSussX4l9tqxRwEnFGWFgo
To claim this, I am signing this object:
@explorigin
explorigin / JSObjectStringMap.hx
Last active August 29, 2015 14:19
Example of Optimized Javascript Object as a StringMap<Dynamic>
package project;
abstract JSObjectStringMap({}) {
public inline function new(?i:{}) {
this = if (i == null) {} else i;
}
}