Skip to content

Instantly share code, notes, and snippets.

View Code-Crash's full-sized avatar
🏁
{building [.......]}

Pravin Tiwari Code-Crash

🏁
{building [.......]}
  • Pune
View GitHub Profile
/**
* @author code-crash
* @description - This file contains the basic question and solutions for the JavaScript language
*
*/
/**
* @type - 1
* @description - Make array 4000 of each 4000 array, tell the three approaches.
*
@shkesar
shkesar / .vimrc
Last active June 19, 2019 00:00
set expandtab
set shiftwidth=2
set softtabstop=2
set hlsearch
set wildignore+=*/node_modules/*
set wildignore+=*/dist/*
set wildignore+=*/build/*
set listchars=tab:▸\ ,eol:¬,trail:▫
set encoding=utf-8
@anthonyray
anthonyray / gist:398fde676a7704c03d6624155ba0011e
Last active July 4, 2023 12:57
Set up OhMyZsh on Amazon EC2 instance running Ubuntu Server 14.04
  1. Connect to your EC2 instance
  2. Install zsh : sudo apt-get update && sudo apt-get install zsh
  3. Edit your passwd configuration file to tell which shell to use for user ubuntu : sudo vim /etc/passwd
  4. Look for ubuntu user, and replace bin/bash by bin/zsh
  5. Install OhMyZsh : sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
  6. Disconnect from your instance and reconnect it.
@lalkmim
lalkmim / codility_solutions.txt
Last active April 25, 2024 21:47
Codility Solutions in JavaScript
Lesson 1 - Iterations
- BinaryGap - https://codility.com/demo/results/trainingU2FQPQ-7Y4/
Lesson 2 - Arrays
- OddOccurrencesInArray - https://codility.com/demo/results/trainingFN5RVT-XQ4/
- CyclicRotation - https://codility.com/demo/results/trainingSH2W5R-RP5/
Lesson 3 - Time Complexity
- FrogJmp - https://codility.com/demo/results/training6KKWUD-BXJ/
- PermMissingElem - https://codility.com/demo/results/training58W4YJ-VHA/