Skip to content

Instantly share code, notes, and snippets.

View parag60288's full-sized avatar

Parag Patil parag60288

View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Screen recorder</title>
</head>
<body>
<button id="recording-toggle">Start recording</button>
<script defer>
@parag60288
parag60288 / pagination.php
Created July 16, 2023 19:10 — forked from james2doyle/pagination.php
Simple pagination element with dot separation when large counts
<div class="pagination size1of1 unit">
<?php if($paged == 1): ?>
<span class="current"><?php echo $paged ?></span>
<?php else: ?>
<a class="prev" href="?page=<?php echo ($current_page - 1) ?>">Prev</a>
<?php if ($current_page > 2): ?>
<a href="?page=1">1</a>
<?php endif ?>
<?php if ($current_page > 3): ?>
<span class="dots">...</span>
@parag60288
parag60288 / ts-boilerplate.md
Created March 10, 2023 17:10 — forked from silver-xu/ts-boilerplate.md
Setup a Node.js project with Typescript, ESLint, Prettier, Husky

Setup a Node.js project with Typescript, ESLint, Prettier, Husky

1_D8Wwwce8wS3auLAiM3BQKA

Starting a personal node project could be easy; starting a team node project could be challenging.

I am a developer currently working in SEEK Australia.

In my experience, common mistakes developer make when starting a projects are:

  • No Linting
@parag60288
parag60288 / workaround.md
Created February 27, 2023 18:01 — forked from Diogo-Rossi/workaround.md
Workaround to make a VSCode settings sync to a regular GitHub repository

Requirements:

  • git
  • python
  • code (cli of VSCode)

All reachable from the PATH of the system
Also, the default terminal profile may be set to bash or powershell (not cmd)

Steps: (9 steps)

@parag60288
parag60288 / GetWindowsProductKey.vbs
Created November 29, 2022 18:51 — forked from craigtp/GetWindowsProductKey.vbs
Retrieve Windows Product Key
Option Explicit
Dim objshell,path,DigitalID, Result
Set objshell = CreateObject("WScript.Shell")
'Set registry key path
Path = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\"
'Registry key value
DigitalID = objshell.RegRead(Path & "DigitalProductId")
Dim ProductName,ProductID,ProductKey,ProductData
'Get ProductName, ProductID, ProductKey
@parag60288
parag60288 / Install_Extensions.sh
Created November 11, 2022 00:25 — forked from mkuchak/Install_Extensions.sh
Backup of VSCode settings
# To export the Visual Studio Code extension list, run
code --list-extensions | xargs -L 1 echo code --install-extension
# To install, just open or copy and paste to run on terminal
code --install-extension adpyke.vscode-sql-formatter &&
code --install-extension anseki.vscode-color &&
code --install-extension BeardedBear.beardedicons &&
code --install-extension BeardedBear.beardedtheme &&
code --install-extension bradlc.vscode-tailwindcss &&
code --install-extension bungcip.better-toml &&
@parag60288
parag60288 / README-Template.md
Created October 15, 2022 04:52 — forked from DomPizzie/README-Template.md
A simple README.md template

Project Title

Simple overview of use/purpose.

Description

An in-depth paragraph about your project and overview of use.

Getting Started

@parag60288
parag60288 / gist.md
Created September 28, 2022 06:25 — forked from DannyWhyte/gist.md
Cross-Platform AES-GCM-256 Encryption & Decryption using JAVA to encrypt and NODE to decrypt

This snippet is about cross-platform AES-GCM-256 encryption & decryption, Where payload is being encrypted using JAVA and decrypted using NODE

sample config :

{
    "masterKey": "sfcpnnjFG6dULJfo1BEGqczpfN0SmwZ6bgKO5FcDRfI=",
    "iterations": 2333,
    "keyLength": 32,

"digest": "sha512"

@parag60288
parag60288 / terminal-commands.md
Created September 14, 2022 17:54 — forked from bradtraversy/terminal-commands.md
Common Terminal Commands

Common Terminal Commands

Key Commands & Navigation

Before we look at some common commands, I just want to note a few keyboard commands that are very helpful:

  • Up Arrow: Will show your last command
  • Down Arrow: Will show your next command
  • Tab: Will auto-complete your command
  • Ctrl + L: Will clear the screen
@parag60288
parag60288 / bootstrap-breakpoint.css
Created August 20, 2022 17:55 — forked from WebDevSimplified/bootstrap-breakpoint.css
This stylesheet adds text describing the current Bootstrap Breakpoint in the top right corner of the screen.
body {
margin-top: 40px; /* This margin just makes the text easier to read. You can remove it if you want since it can mess with your other styles. */
}
body::before {
content: "XS";
color: red;
font-size: 2rem;
font-weight: bold;
position: fixed;