Skip to content

Instantly share code, notes, and snippets.

View ekazakov's full-sized avatar

Evgenii Kazakov ekazakov

  • Berlin
  • 06:30 (UTC -12:00)
View GitHub Profile
# Has your OS/FS/disk lost your data?
# cd to the directory containing your project repositories and run the command
# below. (It's long; make sure you get it all.) It finds all of your git repos
# and runs paranoid fscks in them to check their integrity.
(set -e && find . -type d -and -iname '.git' | while read p; do (cd "$(dirname "$p")" && (set -x && git fsck --full --strict)); done) && echo "OK"
# I have 81 git repos in my ~/proj directory and had no errors.
@ekazakov
ekazakov / Parallel_Tools_fix_for_Ubuntu_19.04.md
Created December 17, 2019 22:19 — forked from mag911/Parallel_Tools_fix_for_Ubuntu_19.04.md
Parallel Tools fix for Ubuntu 19.04, 19.10, 18.04

First off, credit goes to github.com/rudolfratusinski for leading the way here.

https://gist.github.com/rudolfratusinski/a4d9e3caff11a4d9d81d2e84abc9afbf

In a very similar approach, copy the files from the Parallels installation media and drop them in a folder somewhere (eg. ~/parallels_fixed)

Go to the kmods directory (cd ~/parallels_fixed/kmods) and extract the files (tar -xzf prl_mod.tar.gz)

Remove prl_mod.tar.gz file from that directory (rm prl_mod.tar.gz)

@ekazakov
ekazakov / index.html
Created January 17, 2022 14:44 — forked from idahopotato1/index.html
Resize, Drag, Snap
<div id="pane">
<div id="title">Resize, Drag or Snap Me!</div>
</div>
<div id="ghostpane"></div>