Assignment | |
---|---|
Assign value to variable if variable is not already set, value is returned.Combine with a : no-op to discard/ignore return value . |
${variable="value"} : ${variable="value"} |
This file contains hidden or 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
{ | |
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", | |
"vcs": { | |
"enabled": false, | |
"clientKind": "git", | |
"useIgnoreFile": false | |
}, | |
"files": { | |
"ignoreUnknown": true, | |
"ignore": [] |
This file contains hidden or 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
# Using npm | |
FROM node:20-alpine AS development-dependencies-env | |
COPY . /app | |
WORKDIR /app | |
RUN npm ci | |
FROM node:20-alpine AS production-dependencies-env | |
COPY ./package.json package-lock.json /app/ | |
WORKDIR /app | |
RUN npm ci --omit=dev |
This file contains hidden or 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
const defaultTheme = require('tailwindcss/defaultTheme'); | |
module.exports = { | |
purge: [ | |
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php', | |
'./storage/framework/views/*.php', | |
'./resources/views/**/*.blade.php', | |
'./resources/js/**/*.vue', | |
], | |
This file contains hidden or 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
[ | |
{ | |
"state":"Alaska", | |
"latitude":61.3850, | |
"longitude":-152.2683 | |
}, | |
{ | |
"state":"Alabama", | |
"latitude":32.7990, | |
"longitude":-86.8073 |
I need to say something so here is a paragraph.
// let's see how pre formatted code turns out
This file contains hidden or 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
// react specific css modules | |
declare module '*.module.css' { | |
const content: Record<string, string>; | |
export default content; | |
} | |
// react specific for direct svg import | |
declare module '*.svg' { | |
import React = require('react'); | |
export const ReactComponent: React.FC<React.SVGProps<SVGSVGElement>>; |
Using Nuxt 3 RC 13 (latest as of Nov 9, 2022)
So far two major changes are the names of useBody changed to readBody and useCookies changed to parseCookies.
Still having issue with having to refresh page to get content to show or to get the correct tweetId from the url. Will update as soon as I figure it out.
I'll be documenting updated code changes here while going through the course. Once I finish the course I'll upload the complete project
This file contains hidden or 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\Console\Commands; | |
use Closure; | |
use Exception; | |
use Illuminate\Console\Command; | |
use Symfony\Component\Process\PhpExecutableFinder; | |
use Symfony\Component\Process\Process; |
This file contains hidden or 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
``` | |
selector: | |
app: auth-mongo | |
type: ClusterIP | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
skaffold.dev/run-id: c6b4d167-f7f4-4be2-b880-d0dfe04b6a59 |
NewerOlder