Skip to content

Instantly share code, notes, and snippets.

View Prakash4844's full-sized avatar
💭
Probably bingeing something.

Prakash Prakash4844

💭
Probably bingeing something.
View GitHub Profile
@Prakash4844
Prakash4844 / CrossOver.sh
Created November 12, 2023 16:52 — forked from santaklouse/CrossOver.sh
unlimited CrossOver trial (MacOS)
#!/usr/bin/env bash
# checck if pidof exists
PIDOF="$(which pidof)"
# and if not - install it
(test "${PIDOF}" && test -f "${PIDOF}") || brew install pidof
# find app in default paths
CO_PWD=~/Applications/CrossOver.app/Contents/MacOS
test -d "${CO_PWD}" || CO_PWD=/Applications/CrossOver.app/Contents/MacOS
@Prakash4844
Prakash4844 / iterm2.md
Created October 16, 2023 09:26 — forked from squarism/iterm2.md
An iTerm2 Cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
@Prakash4844
Prakash4844 / How to Setup endeavourOS for Gaming.md
Last active May 23, 2023 04:07
how to set up EndeavourOS for gaming on Linux.

How to set up EndeavourOS for gaming on Linux.

EndeavourOS

EndeavourOS styles itself as Terminal-centric Arch based Linux distribution, which means that you will be expected to use the Terminal for installation of everything from drivers, software, and kernels.

Step 1. Update The System.

Since EndeavourOS is classed as a rolling release distribution, this does mean that your system will be frequently updated, and from a gaming perspective, this will give you access to drivers and bug fixes faster than other distributions such as Ubuntu.

@Prakash4844
Prakash4844 / How to fix a .gitignore that is not working.md
Created January 18, 2023 13:51
This Gist Try to to fix a .gitignore that is not working.

How to fix a .gitignore that is not working

Sometimes, your .gitignore suddenly stops working as in even though you have added files and folder in it, they are not actually being ignored by git and is still getting tracked.

it might happen due to you have added the .gitignore after you added these files(That are not being ignored) to the repo.

it happens because, the files are already added to the repo before it could be ignored as .gitignore was created after the actual files in the repo.