Skip to content

Instantly share code, notes, and snippets.

View WassimBenzarti's full-sized avatar
💭
Creative

Wassim Benzarti WassimBenzarti

💭
Creative
  • Germany
View GitHub Profile
@WassimBenzarti
WassimBenzarti / okteto-code.bat
Last active March 16, 2021 23:35
Okteto up with VSCode
@echo off
if not exist okteto.yml (echo No okteto.yml file in this directory. Try to okteto init first. && exit /b)
for /f "tokens=* delims=" %%a in (okteto.yml) do (
set "firstline=%%~a"
goto continue
)
:continue
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
JNDI name: mail/<name>
Mail Host: smtp.gmail.com
Default User: <email>
Default Return Address: <email>
The JNDI name must be prefixed with "mail/". Use your GMail email address in last two fields.
Skip the Advanced settings and create additional properties at the bottom of the screen:
mail.smtp.socketFactory.port: 465
@WassimBenzarti
WassimBenzarti / now.json
Created March 29, 2019 15:36
Now configuration of Create-React-App
{
"version": 2,
"alias": "",
"public": false,
"builds": [
{
"src": "package.json",
"config": { "distDir": "build" },
"use": "@now/static-build"
}