Skip to content

Instantly share code, notes, and snippets.

View himanshurajora's full-sized avatar

Himanshu Jangid, हिमांशु जाँगिड़ himanshurajora

View GitHub Profile
@himanshurajora
himanshurajora / angular-notifier.md
Last active May 13, 2021 08:04
Answer For Queries 1 Like: Setup Angular Notifier 2. Angular Notifier Not Stylink Fix 3. Angualr Notifier From Scratch 4. Angular Notifier For Angular 5. Simple Notifier For Angular

Answer For Queries Like:

  1. Setup Angular Notifier
  2. Angular Notifier Not Styling Fix
  3. Angualr Notifier From Scratch
  4. Angular Notifier For Angular
  5. Simple Notifier For Angular

Step to do it:

1. npm i angular-notifier //install the anglar-notifier

People who need a better css framework

You should try the bulma framework

Wait?

Have you already tried it but you want different flavors of it

try : https://jenil.github.io/bulmaswatch/

syntax on
set noerrorbells
set tabstop=4 softtabstop=4
set shiftwidth=4
set expandtab
set smartindent
set nu
set nowrap
@himanshurajora
himanshurajora / vsc-extensions.tsx
Last active June 21, 2022 06:21
My VS Code extensions list
aaron-bond.better-comments
Angular.ng-template
aslamanver.vsc-export
bar9.stories
BeardedBear.beardedicons
BeardedBear.beardedtheme
benawad.VSinder
bmewburn.vscode-intelephense-client
brapifra.phpserver
burkeholland.simple-react-snippets
@himanshurajora
himanshurajora / videos.md
Created January 6, 2022 17:28
How can we manage multiple github account on a single device
@himanshurajora
himanshurajora / killnodemods.md
Last active January 31, 2022 15:50
How to delete all Unused old node_modules directories from pc

Delete All Unused old node_modules folders from your pc at once.

Just Use npx npkill for removing node modules

and for searching unused packages npx depcheck

I Found This Solution at It's an HashNode Blog

@himanshurajora
himanshurajora / HostedProjects.md
Last active April 6, 2024 06:34
The Hosted Project Links

Projects Gist:

I am creating this gist because I often wonder how many web projects I have created that are hosted live but perhaps not accessible to the public. Or Sometimes even I forget about them.

So this is the solution for me. I will put almost every link of my projects in this gist. (It's hard to find them all because I have a lot of projects hosted that I don't even know about.)

Okey Let's Start:

  1. https://himanshujangid.com
  2. https://himanshurajora.github.io/minipoint/
@himanshurajora
himanshurajora / useUsername.tsx
Last active January 24, 2022 18:10
This can get the username from the url, for eg: if the format is : https://host.com/someusername, then if this hook is used lke const username = useUsername(); then the output will be : someusername, as a string
// My react hook getting username from router params
// I don't need a hook in this case, but I'll make one anyway, because it looks cool
// its the most simple react hook ever, technically it's not even a hook
export default function useUsername() {
const url = new URL(window.location.href)
const username = url.pathname.split('/')[1]
return username
}