Skip to content

Instantly share code, notes, and snippets.

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOgWPn89ecLQ7ONUXlSLFCDvG0aZpPaEqm4UWkSjcZBj it_ops key for server access
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM5SXBQcb8szWgacBxwTvS1HsHZFg+xvenRhw5JYJfMz Robert Taylor (Work)
@taylor01
taylor01 / gist:dc2b7e84310dd8fc987011bf1710fa18
Created February 25, 2025 21:15
Hendrick Ansible Public Key
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL/CzWEKpONONDVWNS48kcOOP3kFct7Zmn+M/IKhe8ks Ansible Key
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJPV0BBJ3fWoBxxue2qAnBv4Q1kcTa5HyQqoJC0Z6AGS Ansible Automation Key
@taylor01
taylor01 / rails http status codes
Created April 5, 2021 11:51 — forked from mlanett/rails http status codes
HTTP status code symbols for Rails
HTTP status code symbols for Rails
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings.
Status Code Symbol
1xx Informational
100 :continue
101 :switching_protocols
102 :processing
<meta content="2019 Dave Matthews Band at AFAS Live by Pavlov Visuals | The Art Exchange" property="og:title"></meta>
<meta content="The Art Exchange is an online community to track, buy, and sell artwork" property="og:description"></meta>
<meta content="https://theartexch.com/artworks/1880" property="og:url"></meta>
<meta content="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBcndIIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2515844370b6bc93431d8565adf30b21ea7f243c/dmap825.jpg" property="og:image"></meta>
<meta content="2019 Dave Matthews Band at AFAS Live by Pavlov Visuals | The Art Exchange" name="title"></meta>
<meta content="The Art Exchange is an online community to track, buy, and sell artwork" name="description"></meta>
<link href="/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBcndIIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2515844370b6bc93431d8565adf30b21ea7f243c/dmap825.jpg" rel="image_src"></link>
<meta content="twitter summary" name="twitter:card"></meta>
<meta conten
@taylor01
taylor01 / gist:acd45287f15af7ff71e9c05edbb5803d
Created August 31, 2017 15:44
Postgres Array attribute migration
class AddLocationToVisitObservation < ActiveRecord::Migration[5.1]
def change
add_column :visit_observations, :location, :text, array:true, default: []
end
end
Visitor Visits visit_observation
"hash_mac" visitor_id visit_id:integer
"location_id" first_seen_at lat:float
"os" last_seen_at lng:float
"manufacturer" max_rssi unc:integer
ipv4 location:array [['lat', 'lng', 'unc'], ['lat', 'lng', 'unc']]
ipv6
ssid
seen_epoch
class SalesHistoryImporter
require 'csv'
def import(file)
@filename = File.basename(file)
@file = open(file)
if !check_file_name(file)
return false
end
require 'open-uri'
require 'net/http'
(1..1000).each do |n|
uri = URI("http://static.musictoday.com/store/bands/6/product_large/DMAP#{n}.JPG")
request = Net::HTTP.new uri.host
response = request.request_head uri.path
@taylor01
taylor01 / gist:2cf5a1834ec23fe024b6
Last active August 29, 2015 14:19
teamhendrick.com photo.asp
<%@ Language=VBScript %>
<%
pageTitle = "Photos"
pageName = "photos"
%>
<!--#include file="include/i_header.asp"-->
<!--Content Start - 650 px wide-->