Skip to content

Instantly share code, notes, and snippets.

Herb Caudill HerbCaudill

Block or report user

Report or block HerbCaudill

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@HerbCaudill
HerbCaudill / $profile
Created Aug 12, 2019
My PowerShell profile. To edit yours type `code $profile`
View $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
View MakeScheduledTask-Hours.ps1
$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 / dynalist.css
Created Jun 3, 2019
Custom CSS for Dynalist
View dynalist.css
/* dynalist.css */
/* tags */
.node-tag {
background: rgba(255, 165, 0, 0.8);
font-size: 0.8em;
border-radius: 0.3em;
font-weight: bold;
padding: 2px 5px;
View duolingo-fade-strength.js
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) {
@HerbCaudill
HerbCaudill / .block
Last active Dec 2, 2019
DevResults Logo
View .block
license: mit
@HerbCaudill
HerbCaudill / README.md
Last active Aug 29, 2015
Extending the d3 Axis function
View README.md

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

You can’t perform that action at this time.