Skip to content

Instantly share code, notes, and snippets.

View pnchinmay's full-sized avatar
:shipit:

Chinmay Manas pnchinmay

:shipit:
View GitHub Profile

This is a list of list of resources.

  1. awesome-math (A curated list of awesome mathematics resources)
  2. free-for-dev
  3. awesome-for-beginners (A list of awesome beginners-friendly projects.)
  4. awesome (😎 Awesome lists about all kinds of interesting topics)
  5. nodebestpractices (The Node.js best practices list)
  6. javascript-questions
  7. wtfjs (A list of funny and tricky JavaScript examples)
  8. awesome-selfhosted (List of Free Software network services and web applications which can be hosted locally)
  9. awesome-sysadmin (A curated list of amazingly awesome open sour
@pnchinmay
pnchinmay / softwareengineeringexcel.md
Created May 13, 2021 13:51 — forked from arttuladhar/softwareengineeringexcel.md
Software Engineering Competency Checklist

Software Engineering Excellency

DATA STRUCTURES
  • Doesn’t know the difference between Array and LinkedList
  • Able to explain and use Arrays, LinkedLists, Dictionaries etc in practical programming tasks
  • Knows space and time tradeoffs of the basic data structures, Arrays vs LinkedLists, Able to explain how hashtables can be implemented and can handle collisions, Priority queues and ways to implement them etc.
  • Knowledge of advanced data structures like B-trees, binomial and fibonacci heaps, AVL/Red Black trees, Splay Trees, Skip Lists, tries etc
ALGORITHMS
  • Unable to find the average of numbers in an array
@pnchinmay
pnchinmay / batteryfull.sh
Last active July 10, 2021 16:59
Battery notification
#!/bin/bash
TOKEN="*****************************************************************"
ID_CHAT="*******************"
URL="https://api.telegram.org/bot$TOKEN/sendMessage"
URL1="https://api.telegram.org/bot$TOKEN/sendPhoto"
sout=$(sh ~/.config/autostart/checkheadphones.sh)
XDG_RUNTIME_DIR=/run/user/1000 #check with command "id -u"
export DISPLAY=:1 #check with command "echo $DISPLAY"
battery_percent=$(acpi -b | grep -P -o '[0-9]+(?=%)')
set nocompatible
set cmdheight=1
filetype off
nnoremap <SPACE> <Nop>
let g:mapleader="\<Space>"
let g:maplocalleader="\<Space>"
call plug#begin()
@pnchinmay
pnchinmay / i3wm-tricks.md
Created October 7, 2021 05:42 — forked from kdevo/i3wm-tricks.md
i3wm: Tricks to assign "problematic" applications to a specific workspace/layout.

i3 Window Manager Tips and Tricks

...to assign applications to a specific workspace/layout.

i3wm makes it easy to assign applications to workspaces and save and restore layouts - which is e.g. useful for auto-starting always needed software. To make these assignments, you need specific window properties so that you can tell i3 to assign [class="Your-app"] → 1 (in this example, Your-app will be assigned to workspace 1).

In many cases this just works. However, there are also many popular programs that do not initially set the correct window class or other properties on startup, which can be frustrating. This cheat sheet aims to show the problems and possible resolutions (or worse: workarounds) for more or less problematic applications.


@pnchinmay
pnchinmay / scaling.md
Last active October 8, 2021 10:00 — forked from tlnagy/scaling.md
Fix UI scaling in Snap apps

On Ubuntu 20.04, snap apps install here:

/var/lib/snapd/desktop/applications

To fix UI scaling, I just add the following flag to each of the .desktop files for Electron apps in that folder

--force-device-scale-factor=1.2
@pnchinmay
pnchinmay / modern_js.md
Created October 8, 2021 13:31 — forked from gaearon/modern_js.md
Modern JavaScript in React Documentation

If you haven’t worked with JavaScript in the last few years, these three points should give you enough knowledge to feel comfortable reading the React documentation:

  • We define variables with let and const statements. For the purposes of the React documentation, you can consider them equivalent to var.
  • We use the class keyword to define JavaScript classes. There are two things worth remembering about them. Firstly, unlike with objects, you don't need to put commas between class method definitions. Secondly, unlike many other languages with classes, in JavaScript the value of this in a method [depends on how it is called](https://developer.mozilla.org/en-US/docs/Web/Jav
@pnchinmay
pnchinmay / selectfile
Created November 12, 2021 15:50 — forked from thingsiplay/selectfile
Use rofi to select file or folder until file is selected, then print it.
#!/usr/bin/env bash
# selectfile
# Use rofi to select file or folder until file is selected, then print it.
# Arguments
# $1=directory to start, defaults to "." (specified in variable default_dir)
# Source directory with systems folders.
default_dir="."
@pnchinmay
pnchinmay / project-ideas01.md
Created November 16, 2021 11:01 — forked from MWins/project-ideas01.md
Back end Projects - list

Project Ideas

Ok. I'm going to list off some ideas for projects. You will have to determine if any particular idea is good enough to include in a portfolio. These aren't creative ideas. They likely already exist. Some are way too advanced while others are simplistic.

I will recommend to post any project you make to github and make a github project page for it. Explain in as much detail as possible how you made it, how it can be improved etc. Document it.

If you pick an advanced idea, setup a development roadmap and follow it. This will show some project management skills.

Another piece of advice for those who are design challenged. Use different front end frameworks and use different themes for those frameworks to provide appealing designs without looking like yet another bootstrap site.