Skip to content

Instantly share code, notes, and snippets.

View krishnaTORQUE's full-sized avatar
💤
Dreaming ...

Krishna Torque krishnaTORQUE

💤
Dreaming ...
View GitHub Profile
@krishnaTORQUE
krishnaTORQUE / parallet-check.js
Last active March 2, 2021 12:03
Nodejs parallel check
/**
* Long Function
* It will take 2 seconds to resolve
*/
const longFunc = async () => {
const second = 2;
return new Promise((solve) => {
setTimeout(() => {
console.log('Hello World');
solve(true);
@krishnaTORQUE
krishnaTORQUE / quik.sh
Last active November 21, 2019 14:56
Quick Maintain Shell Linux System
#!/bin/bash
# :: Commands :: | :: Descriptions ::
# :
# update : Update & Upgrade All
# clean : Clean & Empty & Remove Apps, Packages, Trash, Temp, Old Kernel
# both : Update & Clean
# fix : Fixing Installed Apps & Configuration
# all : Run All (Update, Clean & Fix)
# superclean : Remove Root / System Cache, Unnecessary Files + 'Clean'