Skip to content

Instantly share code, notes, and snippets.

View duanehutchins's full-sized avatar

Duane Hutchins duanehutchins

View GitHub Profile
@duanehutchins
duanehutchins / index.html
Last active January 11, 2022 20:04
chrome mouseout test
<html>
<body>
<div id="mousecapture">
Mouse over the top, and watch the position change below:<br>
<p id="position">
position: X,Y
</p>
<br>
Then select an option and try the same again:
<select name="pets" id="pet-select">
@duanehutchins
duanehutchins / cloudSettings
Last active July 30, 2020 13:30
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-07-30T13:30:19.705Z","extensionVersion":"v3.4.3"}
Verifying my Blockstack ID is secured with the address 15zDVnFdRw7b29VgeT4DzfpPj8VdS39W4m https://explorer.blockstack.org/address/15zDVnFdRw7b29VgeT4DzfpPj8VdS39W4m
@duanehutchins
duanehutchins / split-string-into-rows.sql
Last active March 8, 2023 20:59
MySQL split comma-separated string into rows
-- split-string-into-rows.sql
-- Duane Hutchins
-- https://www.github.com/duanehutchins
-- Split a string into a mysql resultset of rows
-- This is designed to work with a comma-separated string (csv, SET, array)
-- To use a delimiter other than a comma:
-- Just change all the occurrences of ',' to the new delimiter
-- (four occurrences in SET_EXTRACT and one occurrence in SET_COUNT)