Skip to content

Instantly share code, notes, and snippets.

View HerbCaudill's full-sized avatar

Herb Caudill HerbCaudill

View GitHub Profile
@HerbCaudill
HerbCaudill / README.md
Last active August 29, 2015 14:18
Extending the d3 Axis function

A custom axis function that "extends" the native axis (in this case, highlighting years on a time scale). See this Stack Overflow question.

customjsReady("div[data-test='skill-tree']", () => {
const userName = $("div#root div[data-test='user-dropdown'] > span:first").text();
$.get(`/users/${userName}`, (d) => {
const language = Object.keys(d.language_data)[0];
const skills = d.language_data[language].skills;
const $skills = $("div[data-test='skill-tree'] > div > a");
$skills.each((i, d) => {
const $skill = $(d);
const skillName = $skill.find("> div > span").text()
if (skillName && skillName.length) {
$taskName = 'Enter hours at logon'
# Path to Chrome on your machine
$chrome = 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe'
# URL of your tab of the spreadsheet
$url = 'https://docs.google.com/spreadsheets/d/ASDFasdf12341234asdfASDFASFD1234/edit#gid=12341234'
$taskXml = @"
@HerbCaudill
HerbCaudill / $profile
Created August 12, 2019 15:48
My PowerShell profile. To edit yours type `code $profile`
# posh-git
Import-Module 'C:\tools\poshgit\dahlbyk-posh-git-a4faccd\src\posh-git.psd1'
# set home directory
$HomeDir = "c:\git"
Set-Variable HOME $HomeDir -Force
(get-psprovider 'FileSystem').Home = $HomeDir
# $ESC = [char]27
@HerbCaudill
HerbCaudill / .block
Last active December 2, 2019 09:54
DevResults Logo
license: mit

Keybase proof

I hereby claim:

  • I am herbcaudill on github.
  • I am hc3 (https://keybase.io/hc3) on keybase.
  • I have a public key ASCf7bop30lk9KoD2a9HYRGVxdH-dN3B_WO712k4HtkP-Qo

To claim this, I am signing this object:

@HerbCaudill
HerbCaudill / Black_Crow.xml
Created June 7, 2020 08:01
Black_Crow.xml
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise version='3.0'>
<work>
<work-title>Black Crow</work-title>
</work>
<movement-title>JONI MITCHELL</movement-title>
<identification>
<creator type='composer'>arr. by Herb Caudill</creator>
<encoding>
/* change main font */
body,
html,
div,
textarea {
font-family: Roboto;
}
/* change font for all headings */
@HerbCaudill
HerbCaudill / adelante.md
Last active June 11, 2020 12:57
Coding Adelante: Challenges

Coding Adelante: Challenges

Hello, world!

  1. Write a function called hello that prints "Hello, world!" in the console.

    function hello() {
        ...

}

@HerbCaudill
HerbCaudill / css-article-1.css
Last active October 7, 2020 12:28
css-article-1.css
.tabstrip__tab {
...
background: 'lightBlue';
}
.tabstrip__tab--active {
...
background: 'darkBlue';
}