Skip to content

Instantly share code, notes, and snippets.

View argiopetech's full-sized avatar

Elliot Robinson argiopetech

  • Argiope Technical Solutions
  • Florida, USA
View GitHub Profile
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EventsApp
{
public class MyButton
{

Bone-stock 1997 VW Passat TDI. I run Rotella T6 5w40 oil at 10,000mi change intervals (hopefully modifying this to engine hours soon).

Driving style: I drive with ~90% throttle while accelerating, maintaining shift points that leave me around 1550RPM after the shift. I downshift around 1300rpm or if I need to accelerate/deal with an incline. My primary goal is to stay in 5th as much as possible. I generally run cruise control as soon as I'm at my desired speed (exceptions for busy city driving, though I still use cruise in the city). I very seldom pulse and glide.

Due to my rural location, most of my driving is 45-60mph on state highways. I try to notate when I have significant interstate driving on a tank. I very seldom drive in stop/go traffic. Trips to and from home start and end with several minutes driving at 1750rpm in 3rd due to dirt roads.

I generally try to stay off the brakes as much as possible. I neutral coast wherever possible, but on lower speed roads (where stops are closer together) and in

@argiopetech
argiopetech / simpleplots.hs
Last active August 29, 2015 14:00
Graphics.Rendering.Chart: Excessive memory use
module Main where
-- Point coloring
import Data.Colour hiding (atop)
import Data.Colour.Names
-- File input/parsing
import Control.Monad.Trans.Resource
import Data.Attoparsec.ByteString.Char8
import Data.Conduit
@argiopetech
argiopetech / opOverload.cpp
Last active December 31, 2015 07:39
Quick refactor of the switch statement from StackOverflow
#include <iostream>
#include <string>
using namespace std;
class DivSales{
private:
double quarter[4]; // Holds the sales for each quarter
double first, second, third, fourth; // Store values from the inputs
static double corpSales; // Shared among all instances of DivSales (each object)
@argiopetech
argiopetech / autopushd.sh
Last active March 14, 2023 15:06
Snippet to implement the ZSH autopushd functionality in BASH. `dc` (the inverse of `cd`) and `flip` utilities are included. `cd` is silent and behaves as the builtin with no argument. `dc` and `flip` list directory stack.
# Credit to http://unix.stackexchange.com/a/4291 for the cd() implementation.
alias dc='popd'
alias flip='pushd'
function cd()
{
if [ $# -eq 0 ]; then
DIR="${HOME}"
else
@argiopetech
argiopetech / mpiMcmc.csh
Created September 24, 2013 03:39
Script to crash mpiMcmc, presumably based on the seed
#!/bin/csh
#
# run mpiMcmc with Girardi models on different photometric data subsets
set filters = (BV BVI BVIK JHK UB UBJHK UBVRI UBVRIJHK VI) # first ran with thin=1, seed=73
set filters = (BVI BVIK JHK UBJHK) # try these with thin = 3
set filters = (UBV) # missed before, try thin=1 (ended up bimodal)
set MSRGB = 0 # Girardi
set THIN = 10
@argiopetech
argiopetech / J0003-0111.DA.grizJHK.new
Created July 23, 2013 17:21
Files to duplicate mass/age underflow with DSED models
id g r i z J H K sigg sigr sigi sigz sigJ sigH sigK mass1 massRatio stage1 CMprior useDuringBurnIn
1 19.32 18.79 18.56 18.52 17.63 17.31 17.35 0.02 0.02 0.02 0.04 0.04 0.04 0.05 4.0 0.0 3 1 1
@argiopetech
argiopetech / iCarpentry.md
Last active December 18, 2015 22:18
A reply to the iCracked job query

Description

A commentary on the iCracked job query of 24 June from the point of view of the construction industry. Inspired by "If Carpenters Were Hired Like Programmers" (available here, among other places). Note: Numerous instances of [sic] have been redacted to reduce document size.


iCarpentry is looking for whole home hackers to join our family

iCarpentry is looking for a Whole Home carpenter to join its team and help create on-demand indoor and outdoor customer experiences. You should have Whole Home abilities, amazing pine 2x4 and 4-ply plywood skills, and be all-around awesome.

Description: Whole Home Framing Carpenter