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
@Code-Crash
Code-Crash / A-Pen-by-Pravin.markdown
Last active August 29, 2015 13:56
A Pen by Pravin.
var readline = require('readline');
var rl = readline.createInterface({
input: process.stdin,
output: process.stdout
});
var r = null;
var rTimes = [];
var winArray = [];
@Code-Crash
Code-Crash / .vimrc
Created March 27, 2018 16:53 — forked from shkesar/.vimrc
set expandtab
set shiftwidth=2
set softtabstop=2
syntax on
call plug#begin()
Plug '/usr/local/opt/fzf'
Plug 'junegunn/fzf.vim'
/**
* @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.
*
@Code-Crash
Code-Crash / gist:930e0584167034cef662b87c79cc3ad4
Created April 10, 2019 06:43 — forked from anthonyray/gist:398fde676a7704c03d6624155ba0011e
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.

Keybase proof

I hereby claim:

  • I am code-crash on github.
  • I am codecrash (https://keybase.io/codecrash) on keybase.
  • I have a public key ASBCnEDsfZO1tONUv3HmkMovjmrKWYCtOt6qgUkcjKgiIwo

To claim this, I am signing this object:

@Code-Crash
Code-Crash / .gitignore
Last active June 9, 2022 08:02
Script Development Snippet
## General Files/Folder to ignore
!README.md
*.properties
!example.properties
!example-logger.properties
logs
*.log
*.txt
.lastrun
@Code-Crash
Code-Crash / rrweb-zoom-issue-events.json
Created July 6, 2022 07:25
rrweb-zoom-issue-events
This file has been truncated, but you can view the full file.
[
{
"type": 4,
"data": {
"href": "http://localhost:4100/",
"width": 1310,
"height": 1001
},
"timestamp": 1657090987775,
"v": "v1"
@Code-Crash
Code-Crash / iframe-zoomed-in-issue-vercel.json
Created July 6, 2022 07:51
iframe-zoomed-in-issue-vercel
This file has been truncated, but you can view the full file.
[
{
"type": 4,
"data": {
"href": "https://iframe-poc-react-app.vercel.app/",
"width": 1728,
"height": 1001
},
"timestamp": 1657093530743,
"v": "v1"
@Code-Crash
Code-Crash / iframe-zoomed-in-issue-latest-version.json
Created July 13, 2022 10:12
iframe-zoomed-in-issue-latest-version
This file has been truncated, but you can view the full file.
[
{
"type": 0,
"data": {},
"timestamp": 1657707035212
},
{
"type": 1,
"data": {},
"timestamp": 1657707035443