Write a project description
This project requires NodeJS (version 8 or later) and NPM.
| package org.example; | |
| import okhttp3.OkHttpClient; | |
| import okhttp3.ResponseBody; | |
| import retrofit2.Call; | |
| import retrofit2.converter.gson.GsonConverterFactory; | |
| import retrofit2.Retrofit; | |
| import retrofit2.http.*; | |
| import java.io.IOException; |
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; |