It’s late in the afternoon, family just left & I wanted to be ready for tomorrow. I reviewed the assignment again & figured I’d pop open app.viam.com in preparation for starting the assignment in the morning. Since I’d already played with a rover, I was somewhat familiar with the UI of app.viam.com & generally aware that I could add devices/machines. I figured before I dive in, why not tool around for a hot second. I figured I’d spend a few minutes reacquainting myself with the app to get my juices flowing. 30 minutes later I’d accidentally had too much fun. I added my MacBook, setup my camera, added a model & vision service, trained the model on some samples of “me” and was about to start mucking around with the SDK when I caught myself & realized what I was doing & how far I’d gone. Kinda just outta 2nd nature I took some notes as I was going. I figured since I’d accidentally kinda “started” - I’d track
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
UPTRACK_KEY= | |
## First Update | |
sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get autoremove | |
sudo apt-get install -y -f \ | |
zsh \ | |
git gitk \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## | |
# Helper functions | |
## | |
pkg_check () | |
{ | |
echo "Checking for $1:" | |
PKG_OK=$(dpkg-query -W --showformat='${Status}\n' $1|grep "install ok installed") |
I hereby claim:
- I am dermidgen on github.
- I am dermidgen (https://keybase.io/dermidgen) on keybase.
- I have a public key whose fingerprint is 43D8 5C25 5698 A80F 8A3D 516B E006 2AEF 3888 D7AD
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var MapSymbol = function() { | |
var canvas = document.createElement("canvas"); | |
var context = canvas.getContext("2d"); | |
canvas.width = width; | |
canvas.height = height; | |
context.clearRect(0,0,width,height); | |
context.save(); | |
context.beginPath(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# vmsterm | |
# from an original script by Bob Ess | |
# key translations by Erik Ahlefeldt | |
# | |
# Script file using Xterm and telnet to connect to a VMS host | |
# and give a decent vt220 emulation. | |
# | |
# Usage statement | |
Usage(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROMPT='%{$fg_bold[red]%}➜ %{$fg_bold[green]%}%m %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}$ ' | |
RPROMPT='%{$reset_color%} %{$fg_bold[green]%}%p %{$fg[grey]%}%~%{$reset_color%}' | |
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}) %{$fg[green]%}✓%{$reset_color%}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Note - you'll need: | |
* import flash.events.FocusEvent | |
* | |
* Also, try/catch is pretty expensive processing-wise. Avoid it. | |
* I threw it together that way so you can play with it and get some | |
* better reporting on what's going on without it bombing on you. | |
* Once you refine it to search without throwing any exceptions on | |
* missing properties or methods, kill the try/catch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="/common/js/swfobject.js"> | |
<script type="text/javascript"> | |
swfobject.registerObject("flash", "9.0.0", "expressInstall.swf"); | |
</script> | |
<!-- EXTRA MARKUP --> | |
<table border="0" cellspacing="0" cellpadding="0" width="940" align="center" height="400"> | |
<tbody> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use 5.008; | |
use strict; | |
use Memoize; | |
sub usage { die "usage: git-large-blob <size[b|k|m]> [<git-log arguments ...>]\n" } | |
@ARGV or usage(); | |
my ( $max_size, $unit ) = ( shift =~ /^(\d+)([bkm]?)\z/ ) ? ( $1, $2 ) : usage(); |
NewerOlder