Write a project description
This project requires NodeJS (version 8 or later) and NPM.
I hereby claim:
To claim this, I am signing this object:
The primary goal is to swap command and option. | |
The secondary goal is to remap Caps Lock to Control. | |
The tertiary goal is to share modifier keys across keyboards, so you can emacs with two keyboards. | |
The following instructions are good as of 2016-08-24, for OS X El Capitan 10.11.6. | |
Mac OS Sierra broke Seil support; Seil instructs us to consider Karabiner Elements. | |
But when Karabiner Elements swaps command and option, it does it for all keyboards; | |
meaning the native keyboard also gets its command and option swapped, which is bad! |
Объясните, для чего предназначена и каким образом работает следующая функция:
function bind(method, context) {
var args = Array.prototype.slice.call(arguments, 2);
return function() {
var a = args.concat(Array.prototype.slice.call(arguments, 0));
return method.apply(context, a);
}
}
#!/usr/bin/env bash | |
# | |
# Clone a repository with Git LFS files and leverage a local cache. | |
# | |
# Usage: | |
# | |
# Clone and checkout any branch: | |
# $ clone.sh <repo-url> <cache-dir> <working-copy-dir> <branch-name> | |
# | |
# Clone and checkout a PR head: |
[ | |
{ | |
"filter": { | |
"ref_glob": "refs/heads/release/v+([0-9]).+([0-9]).0", | |
"deleted": false | |
}, | |
}, | |
{ | |
"filter": { | |
"ref_glob": "refs/heads/release/v*", |
[ | |
{ | |
"filter": { | |
"ref_glob": "refs/heads/release/v+([0-9]).+([0-9]).0" | |
}, | |
"reject": { | |
"deleted": true | |
} | |
}, | |
{ |
with self.profiler.actions.register_artifacts('Registering Sandbox resources'): | |
if not self.Parameters.reuse_artifacts_cache: | |
return self.create_artifact_resources(), ArtifactsCacheStatus.CACHE_IGNORED | |
cached_resources = self.get_cached_artifact_resources() | |
if cached_resources: | |
return cached_resources, ArtifactsCacheStatus.CACHE_REUSED |
diff --git a/lib/utils.js b/lib/utils.js | |
index c90dd6b0..0c5ae37f 100644 | |
--- a/lib/utils.js | |
+++ b/lib/utils.js | |
@@ -6,7 +6,7 @@ | |
const assert = require('assert'); | |
const urlParse = require('url').parse; | |
const path = require('path'); | |
-const exec = require('child_process').exec; | |
+const processSpawn = require('child_process').spawn; |
module.exports = { | |
"chrome-webstore-item": { | |
"Вы сможете вернуть все как было в любое время.": "Вы сможете вернуть все как было в любое время.", | |
"Нажмите «{buttonName}», чтобы продолжить": "Нажмите «<i18n:param>buttonName</i18n:param>», чтобы продолжить", | |
"Нажмите кнопку \"{buttonName}\"": "Нажмите кнопку «<i18n:param>buttonName</i18n:param>»", | |
"Устанавливая расширение, вы принимаете условия {legal}": "Устанавливая расширение, вы принимаете условия <i18n:param>legal</i18n:param>", | |
"Устанавливая расширение, вы принимаете условия лицензионного соглашения": "Устанавливая расширение, вы принимаете условия лицензионного соглашения", | |
"Чтобы добавить визуальные закладки.": "Чтобы добавить визуальные закладки.", | |
"Чтобы легко переключаться между поисковиками.": "Чтобы легко переключаться между поисковиками.", | |
"Чтобы сделать Яндекс поиском по умолчанию и стартовой страницей.": "Чтобы сделать Яндекс поиском по умолчанию и стартов |