.
└── src
└── features
├── orders
│ ├── Orders.tsx
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
{ | |
"version": "0.0.8", | |
"name": "@marcobiedermann/resume.json", | |
"main": "resume.json" | |
} |
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
function maxChar(str: string): string { | |
const map = new Map<string, number>(); | |
let maxValue; | |
let maxCount = 0; | |
for (let char of str) { | |
const newCount = (map.get(char) || 0) + 1; | |
if (newCount > maxCount) { | |
maxValue = char; |
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
// your existing code … | |
console.log(legalFollowUpSalesLiableProcessViewDtoList); | |
console.log(userName); | |
console.log(userId); | |
console.log(userCity); | |
// please add these lines and try if this shows something | |
legalFollowUpSalesLiableProcessViewDtoList.legalFollowUpProcessViewDto.push({ | |
authorityOfficeName: 'volkantest', | |
}); |
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
import React, { ReactNode } from 'react' | |
interface ProjectProps { | |
children: ReactNode; | |
name: string; | |
} | |
function Project(props: ProjectProps): JSX.Element { | |
const { children, name } = props; |
Stop all Docker container
docker stop $(docker ps -aq)
Remove all Docker container
docker rm $(docker ps -aq)
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
// https://gist.github.com/rosszurowski/67f04465c424a9bc0dae | |
function lerpColor(a, b, amount) { | |
var ah = parseInt(a.replace(/#/g, ""), 16), | |
ar = ah >> 16, | |
ag = (ah >> 8) & 0xff, | |
ab = ah & 0xff, | |
bh = parseInt(b.replace(/#/g, ""), 16), | |
br = bh >> 16, | |
bg = (bh >> 8) & 0xff, | |
bb = bh & 0xff, |
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
// await must only be used if you want to execute something after promise to await the result | |
const createdUser = await createUser(); | |
const user = await getUser(); | |
// async must be used in function if you want to await something | |
(async () => { | |
await foo(); | |
})() |
Search in URL
inurl:
Seach in Title
intitle:
Get status
git status
Add file to staging area
git add FILE
NewerOlder