All I can say about this is that, these are the things a software engineer must make to be a real Engineer.
- Operating System
- Compiler
- Frontend Framework
- Plugin architecture software
- Game engine
All I can say about this is that, these are the things a software engineer must make to be a real Engineer.
The yield keyword in JavaScript is primarily associated with generators, which are a special type of function that can be paused and resumed. Generators are useful for working with sequences of data, asynchronous programming, and creating iterators. Here are some real-life use cases and examples:
Generators allow for lazy evaluation, meaning they produce values on-demand rather than generating them all at once. This is particularly useful when working with infinite sequences.
function* infiniteSequence() {
let i = 0;
while (true) {
yield i++;
const regex = /(\d)/gmi; | |
const regex2 = new RegExp(`(?=(?<digit>[0-9]|one|two|three|four|five|six|seven|eight|nine|zero))`, 'gmi') | |
const input = 'afsdone2f537826sdf5sixf'; | |
const letters = { | |
one: 1, | |
two: 2, | |
three: 3, |
<table | |
cellpadding="0" | |
cellspacing="0" | |
style="font-size: medium; font-family: Arial" | |
class="table__StyledTable-sc-1avdl6r-0 kAbRZI" | |
> | |
<tbody> | |
<tr> | |
<td> | |
<table |
const gulp = require("gulp"); | |
const comments = require("gulp-header-comment"); | |
const fileInclude = require("gulp-file-include"); | |
const bs = require("browser-sync"); | |
const path = { | |
src: { | |
html: "src/**/*.html", | |
}, | |
}; |
const gulp = require("gulp"); | |
const comments = require("gulp-header-comment"); | |
const fileInclude = require("gulp-file-include"); | |
const path = { | |
src: { | |
html: "src/**/*.html", | |
}, | |
}; |
You can add this command to you shell's confuguration file (.zshrc / .bashrc)
if the vte.sh is not avaible you can just google it
# including this ensures that new gnome-terminal tabs keep the parent `pwd` !
if [ -e /etc/profile.d/vte.sh ]; then
. /etc/profile.d/vte.sh
fi
Hello brothers,
What do you think I have come up with today. Indeed I am following the 100 things principle up until this day, I know what's good for me and indeed I am doing that.
For sure this is what I have learnt today
What?
The answer to What
is that it a terminal multiplexer, so basically you can have the feel of multiple terminals in a single terminal.
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH |
--[[ | |
lvim is the global options object | |
Linters should be | |
filled in as strings with either | |
a global executable or a path to | |
an executable | |
]] | |
-- THESE ARE EXAMPLE CONFIGS FEEL FREE TO CHANGE TO WHATEVER YOU WANT |