Some commands are repeated so often, but one may forget the exact syntax
From this stackoverflow comment:
git reset $(git merge-base $(git config --get init.defaultBranch || echo main) $(git branch --show-current)) && git add -A && git commitSome commands are repeated so often, but one may forget the exact syntax
From this stackoverflow comment:
git reset $(git merge-base $(git config --get init.defaultBranch || echo main) $(git branch --show-current)) && git add -A && git commit| ### Nfx01 CLA | |
| Thank you for your interest in contributing. This is sample CLA for a totally dummy org. | |
| You agree that the following terms apply to all of your past, present and future Contributions. |
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)| diff --git a/compute/model.go b/compute/model.go | |
| index 1a2b43a2..b71afb6a 100644 | |
| --- a/compute/model.go | |
| +++ b/compute/model.go | |
| @@ -612,6 +612,21 @@ func (j Job) ID() string { | |
| return fmt.Sprintf("%d", j.JobID) | |
| } | |
| +func (j Job) hasTask(taskKey string) bool { | |
| + if j.Settings == nil { |
| diff --git a/common/reflect_resource.go b/common/reflect_resource.go | |
| index 12341451..1f832d98 100644 | |
| --- a/common/reflect_resource.go | |
| +++ b/common/reflect_resource.go | |
| @@ -1,9 +1,11 @@ | |
| package common | |
| import ( | |
| + "bytes" | |
| "fmt" |
| # modules/databricks-cluster-policy/main.tf | |
| variable "team" { | |
| description = "Team that performs the work" | |
| } | |
| variable "policy_overrides" { | |
| description = "Cluster policy overrides" | |
| } | |
| locals { | |
| default_policy = { | |
| "dbus_per_hour" : { |
| --- | |
| hasher: | |
| build: hasher | |
| ports: | |
| - "8002:80" | |
| redis: | |
| image: redis | |
| rng: | |
| build: rng | |
| ports: |
| <?php | |
| /** | |
| * Yet another PHPUnit wrapper for mocking | |
| * | |
| * To enable, just add the following line in your base testcase: | |
| * | |
| * Mockoko::getInstance()->setTestCase($this); | |
| * | |
| * To use, just make your mocks as |
| <?php | |
| /** | |
| * @Service("rest_bindable") | |
| */ | |
| class RestBindableConcept { | |
| public function getAllUserLists(User $user) { | |
| $lists = $this->getListsByName($user->twitterUsername); | |
| foreach($lists as $someList) { | |
| echo $someList->getNameAndDescription(); |