You need to add the Git Maintainers repository in order to get the latest Git version.
Please run these commands in order:
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
package com.adviewer | |
import android.app.ActivityManager | |
import android.app.Notification | |
import android.app.NotificationChannel | |
import android.app.NotificationManager | |
import android.app.PendingIntent | |
import android.app.Service | |
import android.content.Context | |
import android.content.Intent |
function plusOne(digits: number[]): number[] { | |
let carry = 1; | |
for (let i = digits.length - 1; i >= 0; i--) { | |
if (carry === 0) { | |
return digits; | |
} | |
const sum = digits[i] + carry; |
/* | |
* https://leetcode.com/problems/remove-element/description/?envType=study-plan-v2&id=top-interview-150 | |
*/ | |
function removeElement(nums: number[], val: number): number { | |
/* | |
I1: nums = [l(k(3)), 2, 2, 3], val = 3 | |
I2: nums = [l(2), k(2), 2, 3], val = 3 | |
I3: nums = [2, l(2), k(2), 3], val = 3 | |
I4: nums = [2, 2, l(3), k(3)], val = 3 | |
*/ |
<?php | |
return [ | |
'*' => [ | |
'path' => app_path('Models'), | |
'namespace' => 'App\Models', | |
'soft_deletes' => true, | |
], |
FROM php:7.4-cli | |
RUN pecl install xdebug | |
RUN docker-php-ext-enable xdebug | |
RUN apt-get update | |
RUN apt update | |
RUN apt autoremove -y |
# Iniciar Wiremock | |
docker run -d --name wiremock \ | |
-p 9031:8080 \ | |
-v $PWD/wiremock:/home/wiremock \ | |
-u (id -u):(id -g) \ | |
rodolpheche/wiremock \ | |
--record-mappings --verbose | |
# Create $PWD/wiremock folder and use the example structure to append mappings | |
# https://github.com/rodolpheche/wiremock-docker/tree/master/samples/hello/stubs |
You need to add the Git Maintainers repository in order to get the latest Git version.
Please run these commands in order:
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
sudo a2endmod ssl | |
sudo a2endmod rewrite | |
sudo a2endsite my-site.conf |