- Remove duplicates from an array of numbers/strings
- A simple search (case-sensitive)
- A simple search (case-insensitive)
- Check if any of the users have admin rights
- Flattening an array of arrays
- Create an object that contains the frequency of the specified key
- Indexing an array of objects (lookup table)
- Extract the unique values for the given key of each item in the array
set nocompatible " be iMproved, required | |
filetype off " required | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'sheerun/vim-polyglot' | |
Plugin 'morhetz/gruvbox' |
I'm soon going to join Amazon Dublin from India and got opportunities to interview with Meta London, Zalando Berlin, Klarna & some other companies. I extensively researched about companies hiring internationally which support visa & relocation for SDE1/2 and above. So sharing list of companies with all of you:
Do consider to UPVOTE, if it helped you.
London
Link to the actual while
loop which is the Event Loop in Node.js source code
https://github.com/nodejs/node/blob/main/deps/uv/src/unix/core.c#L378-#L417
Link to official Node.js documentation for phases of Event Loop https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/
You need to provide some classes and decorators yourself to maintain the same style as [email protected]
.
@EntityRepository(UserEntity)
export class UserRepository extends Repository<UserEntity> {}
↓
# Intial Setup | |
Output lolcat-cmd.gif | |
Set FontSize 32 | |
Set Width 1200 | |
Set Height 900 | |
# VHS uses bash by default which will open WSL/Git Bash | |
# we can start cmd/powershell from there ;) |
Read the overview document first.
Lenovo laptop series using the ideapad_laptop
driver have a feature called
'battery conservation mode', basically a fixed stop charge threshold at 60%.
The hardware behaviour is:
- Connected to the charger, charging stops when the charge level reaches the stop threshold
Here we create the master key. We want only Certify
capability: we use the master key only to create the subkeys, Sign - Encrypt - Authenticate
capabilities will be assigned to the subkeys.
Run the following command to start the master key generation process. Select the set your own capabilities
creation process (type 8
)
▶ gpg --full-generate-key --expert
gpg (GnuPG) 2.2.9; Copyright (C) 2018 Free Software Foundation, Inc.
:root:not([data-color]), :root[data-color=none] { | |
--color-base-00: rgb(var(--ctp-crust)); | |
--color-base-10: rgb(var(--ctp-mantle)); | |
--color-base-20: rgb(var(--ctp-base)); | |
--color-base-30: rgb(var(--ctp-surface0)); | |
--color-base-40: rgb(var(--ctp-surface1)); | |
--color-base-50: rgb(var(--ctp-surface2)); | |
--color-base-60: rgb(var(--ctp-overlay0)); | |
--color-base-70: rgb(var(--ctp-overlay1)); | |
--color-base-80: rgb(var(--ctp-overlay2)); |
// multiple producers, multiple consumers | |
package main | |
import ( | |
"fmt" | |
"sync" | |
) | |
// producers sends the value to the channel | |
func producers(id int, ch chan<- int, wg *sync.WaitGroup) { |