Introducing S.T.A.R as an alternative to S.M.A.R.T objective definition.
Let's start by reviewing what S.M.A.R.T stands for:
- S: Specific
- M: Measurable
- A: Achievable
- R: Relevant
- T: Time-bound
| #!/usr/bin/env bash | |
| # ------------------------------------------------------------ | |
| # git-merge-into | |
| # ------------------------------------------------------------ | |
| # | |
| # Merge the current branch into the target branch without | |
| # ever leaving the target branch checked out. | |
| # | |
| # Usage: | |
| # git merge-into <target‑branch> [git‑merge‑options] |
Introducing S.T.A.R as an alternative to S.M.A.R.T objective definition.
Let's start by reviewing what S.M.A.R.T stands for:
| export const truthy = (v: any): v is true => { | |
| return !!(v as boolean) | |
| } | |
| export const falsy = (v: any): v is false => { | |
| return !(v as boolean) | |
| } |
| #!/bin/bash | |
| # Check if a filename was provided as an argument | |
| if [ -z "$1" ]; then | |
| echo "Usage: git blame-all filename" | |
| exit 1 | |
| fi | |
| # Loop through each line of the given file and run git blame | |
| line_number=1 |
| sass_binary_site=https://cdn.npmmirror.com/binaries/node-sass | |
| disturl=https://registry.npmmirror.com/dist | |
| profiler_binary_host_mirror=https://cdn.npmmirror.com/binaries/node-inspector/ | |
| fse_binary_host_mirror=https://cdn.npmmirror.com/binaries/fsevents/ | |
| phantomjs_cdnurl=https://cdn.npmmirror.com/binaries/phantomjs/ | |
| electron_mirror=https://cdn.npmmirror.com/binaries/electron/ | |
| chromedriver_cdnurl=https://cdn.npmmirror.com/binaries/chromedriver | |
| operadriver_cdnurl=https://cdn.npmmirror.com/binaries/operadriver | |
| selenium_cdnurl=https://cdn.npmmirror.com/binaries/selenium | |
| node_inspector_cdnurl=https://cdn.npmmirror.com/binaries/node-inspector |
| import { useCallback, useEffect, useState } from 'react' | |
| import { FluentBundle, FluentResource } from '@fluent/bundle' | |
| import { negotiateLanguages } from "@fluent/langneg"; | |
| import axios from 'axios' | |
| const LOCALES_ALL = ['zh-CN', 'en-US'] | |
| async function getBundle (locale: string): Promise<FluentBundle> { | |
| const url = `/locale/${locale}.ftl` // fluent bundle file location | |
| const response = await axios.get(url) |