-
Write a function called
hello
that prints "Hello, world!" in the console.function hello() { ...
}
/* change main font */ | |
body, | |
html, | |
div, | |
textarea { | |
font-family: Roboto; | |
} | |
/* change font for all headings */ |
# 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 |
$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 = @" |
/* 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; |
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) { |
license: mit |
A custom axis function that "extends" the native axis (in this case, highlighting years on a time scale). See this Stack Overflow question.