List of names that tend to be useful in programming. On their own, or for building names.
A thesaurus is also useful.
- action, operation
- attribute, property
- buffer, queue
/// <reference path="require.js" /> | |
!function (window) { | |
var defines = [], | |
moduleUrls = [], | |
oldDefine = window.define, | |
oldRequire = window.require, | |
oldLoad = requirejs.load; | |
var loadEvent = document.createEvent("event"); |
List of names that tend to be useful in programming. On their own, or for building names.
A thesaurus is also useful.
<PropertyGroup> | |
<ParentDir>$(MSBuildProjectDirectory)\some\folder</ParentDir><!-- This folder has subfolders folders a, b, c--> | |
</PropertyGroup> | |
<Target> | |
<ItemGroup> | |
<SubfolderFullPaths Include="$([System.IO.Directory]::GetDirectories('$(ParentDir)'))" /> | |
<SubfolderNames Include="@(SubfolderFullPaths->'$([System.IO.Path]::GetFileName('%(SubfolderFullPaths.Identity)'))')" /> | |
</ItemGroup> | |
const { concat, mapKeys, merge, uniq } = require('lodash'); | |
/** | |
* Tweaked from original by Mike Engel | |
* https://github.com/jantimon/html-webpack-plugin/issues/782#issuecomment-331229728 | |
* | |
* Use this with multiple Webpack configurations that generate different builds | |
* for modern and legacy browsers. But use the same instance of the plugin in both configurations. | |
* | |
* It keeps track of assets seen in each build configuration, and appends script tags for |
SSH_ENV="$HOME/.ssh/environment" | |
# start the ssh-agent | |
function start_agent { | |
echo "Initializing new SSH agent..." | |
# spawn ssh-agent | |
ssh-agent | sed 's/^echo/#echo/' > "$SSH_ENV" | |
echo succeeded | |
chmod 600 "$SSH_ENV" | |
. "$SSH_ENV" > /dev/null |
A compound word is formed by joining together two or more other words.
A closed-form compound word (e.g. keyboard) does that without any additional punctuation. These are truly words in their own right, and so should be treated as such when applying programming casing conventions such as camelCase
, PascalCase
, kebab-case
, or snake_case
.
Open-form (e.g. living room) and hyphenated-form (e.g. long-term) compound words are less susceptible to incorrect casing.
#!/usr/bin/env bash | |
declare -a repositories=( | |
'awesome-webhid' | |
'config' | |
'correct' | |
'decent-code' | |
'diff-hero' | |
'differential-loading-poc' | |
'enforce-frontend-architecture' |
HTTP/1.1 200 OK | |
Content-Encoding: gzip |
const dependencyCssRule = { | |
}; | |
function sassRule(options) { | |
return { | |
test: 1, | |
use: [ | |
// use options.prod to turn off sourcemaps | |
// use options.prod to set sass outputStyle compressed/not |