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
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 |
set nocompatible " Disable vi-compatibility | |
set t_Co=256 | |
colorscheme xoria256 | |
set guifont=menlo\ for\ powerline:h16 | |
set guioptions-=T " Removes top toolbar | |
set guioptions-=r " Removes right hand scroll bar | |
set go-=L " Removes left hand scroll bar | |
set linespace=15 |