This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def highest_revenue_item(data): | |
products = [] | |
rows = data.split() | |
for row in rows: | |
row_data = row.split(',') | |
if len(row_data) != 2: | |
continue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build stage | |
FROM node:lts-alpine as build | |
WORKDIR /app | |
COPY package*.json ./ | |
RUN npm install | |
COPY . . | |
ARG VERSION=1.0 | |
ENV VUE_APP_TAG_VERSION ${VERSION} | |
RUN npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Providers; | |
use App\Providers\Sso\TokenGuard; | |
use App\Providers\Sso\TokenUserProvider; | |
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; | |
use Illuminate\Support\Facades\Auth; | |
class AuthServiceProvider extends ServiceProvider |