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

@charudatta10
charudatta10 / powershell_profile.ps1
Last active March 26, 2024 15:59
PowerShell, profile files are scripts that run automatically when you start a PowerShell session. They allow you to customize your environment, load modules, define aliases, and set preferences.
"""
Certainly! Let's delve into the details of **PowerShell profile files**, their relevance in the context of **Git**, and how they can be used effectively for **Gist READMEs**.
## **PowerShell Profile Files**
In PowerShell, profile files are scripts that run automatically when you start a PowerShell session. They allow you to customize your environment, load modules, define aliases, and set preferences. There are different types of profile files, each serving a specific purpose:
1. **`$PROFILE`**: This is the most common profile file. It is specific to the current user and host (console or ISE). You can find it by running `$PROFILE` in your PowerShell session. Common locations include:
- **Current User, Current Host**: `$Home\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1`

Reusable embeddable HTML components

Banner

This is my fancy banner! 🐱 🍀

Buttons \ Badges

.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;

Charudatta Gurudas Korde

@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