Skip to content

Instantly share code, notes, and snippets.

View charudatta10's full-sized avatar
🏠
Working from home

charudatta charudatta10

🏠
Working from home
View GitHub Profile
// This app initially started from Flavio Copes analytics example
// but diverged quite a bit to generate images as well as track views
// https://flaviocopes.com/count-visits-static-site/
const express = require('express')
const app = express()
// no db - so global var to keep track of count
let counter = 0
@charudatta10
charudatta10 / README-Template.md
Created May 15, 2024 17:29 — 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

.champ-moderator-badge-inner-wrapper {
position: relative;
.champ-moderator-badge-icon {
background: #333333;
color: white !important;
border-radius: 50px;
position: absolute;
right: 10px;
top: -5px;
font-size: 10px;
@charudatta10
charudatta10 / git-badges.html
Created March 19, 2024 05:33 — forked from soundstorm/git-badges.html
Pure CSS Git-Badges
<html>
<head>
<style>
div.badge {
display: inline-block;
border-radius: .75em;
font-family: 'Dejavu Sans','Arial';
}
div.badge div {
display: inline-block;
@charudatta10
charudatta10 / wikilinks-to-markdown-links.sh
Created January 29, 2023 19:29 — forked from CharlesSchimmel/wikilinks-to-markdown-links.sh
Convert WikiLinks to Markdown Links
@charudatta10
charudatta10 / run_powershell_cmdlet.py
Created January 29, 2023 18:33 — forked from kapb14/run_powershell_cmdlet.py
Run PowerShell commandlet or .ps1 file with parameters from python (2.7) script
#-*- coding: utf-8 -*- .
import subprocess, os, sys, json
MY_PROCESS = "chrome"
print("MY_PROCESS: %s" % MY_PROCESS)
p = subprocess.Popen([
"C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\powershell.exe",
"-ExecutionPolicy", "Bypass",
"-NoLogo",
@charudatta10
charudatta10 / README.md
Created December 18, 2022 05:42 — forked from ppoffice/README.md
Install Visual Studio Code (actually code-server) on Android
  1. Install Termux, an Android terminal emulator that provides a Linux execution environment and various tools.

  2. Update system packages in Termux:

    $ pkg update -y
@charudatta10
charudatta10 / diagrams.md
Created April 24, 2022 17:20 — forked from blackcater/diagrams.md
Markdown Diagrams

Diagrams

Markdown Preview Enhanced supports rendering flow charts, sequence diagrams, mermaid, PlantUML, WaveDrom, GraphViz, Vega & Vega-lite, Ditaa diagrams. You can also render TikZ, Python Matplotlib, Plotly and all sorts of other graphs and diagrams by using Code Chunk.

Please note that some diagrams don't work well with file exports such as PDF, pandoc, etc.

Flow Charts

This feature is powered by flowchart.js.

@charudatta10
charudatta10 / !README.md
Created April 1, 2022 09:29 — forked from darkliquid/!README.md
Script for setting up my windows install. Run setup-windows.ps1

This is my desktop setup scripts for Windows. It installs a number of apps using scoops (in preference) and failing that, via chocolatey. It also makes a number of customisations and streamlining operations to Windows itself via registry changes and various powershell scripts, the most notable of which is the [Windows 10 Debloater][3] script.

After that, It sets up my [WSL][4] environment, and uses my [linux dotfiles repo][5] to customise that. The aim of this setup is to be a reasonably dev-friendly, secure windows environment with a ready-to-go linux environment setup via WSL. More customisations will be made as things like 'controlled folder access exceptions' and other things get discovered through usage.

@charudatta10
charudatta10 / paytm_checksum.py
Created December 23, 2021 18:55 — forked from masterashu/paytm_checksum.py
Paytm Payment Gateway: Checksum Generator for Python3
import base64
import string
import random
import hashlib
from Crypto.Cipher import AES
IV = "@@@@&&&&####$$$$"
BLOCK_SIZE = 16