Skip to content

Instantly share code, notes, and snippets.


S.Cherepanov sergeycherepanov

View GitHub Profile
sergeycherepanov /
Created Nov 8, 2020 — forked from naveenkrdy/
To fix adobe products crashes on AMD hackintosh

Adobe Crash Fix XLNC


  1. Install needed adobe apps from adobe creative cloud.

  2. Open Terminal.

  3. Copy-paste the below command to your terminal and run it (enter password if asked).

sergeycherepanov / AdobeFixAMD
Created May 10, 2020 — forked from XLNCs/AdobeFixAMD
To fix adobe products crashes on AMD hackintosh
View AdobeFixAMD
USAGE : Open terminal and run the below commands as required.
NOTE: File path changes in each version release. So if the file is not found you can find the specified file manually and replace the path in the below commands.
You can also use this command to find the location of a specific adobe file :
eg:- if you want to search for MMXCore then run this command :
find /Applications/Adobe* -type f -name "MMXCore" | sed 's/ /\\ /g'
Photoshop crash fix :-
sergeycherepanov /
Created May 5, 2020 — forked from novemberborn/
OS X Redirect ports 80 and 443 to 8080 and 8443 respectively

Changes with .dev domains in mind.

Create /etc/pf.anchors/dev, containing:

rdr pass inet proto tcp from any to any port 80 -> port 8080
rdr pass inet proto tcp from any to any port 443 -> port 8443

View KVM OSX Guest SMC
sergeycherepanov /
Created Sep 21, 2016 — forked from yuanying/
How to use vagrant-kvm

Install Vagrant

sudo su
apt-get update && apt-get install -y libvirt-dev ruby-all-dev apparmor-utils
curl -O -L
dpkg -i vagrant_1.6.5_x86_64.deb 
aa-complain /usr/lib/libvirt/virt-aa-helper # workaround

Install vagrant-kvm as user

sergeycherepanov /
Created Mar 4, 2016 — forked from marek-saji/
Configure local DNS server to serve #dev #TLD #ubuntu #linux

Configure local wildcard DNS server

  1. Install Dnsmasq: sudo apt-get install dnsmasq
  2. Since Ubuntu's NetworkManager uses dnsmasq, and since that messes things up a little for us, open up /etc/NetworkManager/NetworkManager.conf and comment out (#) the line that reads dns=dnsmasq. Restart NetworkManager afterwards: sudo restart network-manager.
  3. Make sure Dnsmasq listens to local DNS queries by editing /etc/dnsmasq.conf, and adding the line listen-address=
  4. Create a new file in /etc/dnsmasq.d (eg. /etc/dnsmasq.d/dev), and add the line address=/dev/ to have dnsmasq resolve requests for *.dev domains. Restart Dnsmasq: sudo /etc/init.d/dnsmasq restart.


sergeycherepanov / fingerprint.php
Created Feb 3, 2016 — forked from Xeoncross/fingerprint.php
Generate a fingerprint from and RSA SSH public key
View fingerprint.php
print "\n";
$rsa = file_get_contents('');
$ssh = file_get_contents('');
// For reference
print $rsa . "\n\n";
print $ssh . "\n\n";