Skip to content

Instantly share code, notes, and snippets.

View surajmandalcell's full-sized avatar
🏃‍♂️
Working

Suraj Mandal surajmandalcell

🏃‍♂️
Working
View GitHub Profile
@surajmandalcell
surajmandalcell / AdobeFixAMD
Created July 20, 2019 20:34 — forked from XLNCs/AdobeFixAMD
To fix adobe products crashes on AMD hackintosh
___ADOBE CRASH FIX BY XLNC___
USAGE : Open terminal and run the below commands as required.
Photoshop crash fix :-
#PS2018
sudo perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x5A\x00|\x90\x90\x90\x90\x56\xE8\x3A\x00|sg' /Applications/Adobe\ Photoshop\ CC\ 2018/Adobe\ Photoshop\ CC\ 2018.app/Contents/Required/Plug-ins/Extensions/MMXCore.plugin/Contents/MacOS/MMXCore
sudo perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x5A\x00|\x90\x90\x90\x90\x56\xE8\x3A\x00|sg' /Applications/Adobe\ Photoshop\ CC\ 2018/Adobe\ Photoshop\ CC\ 2018.app/Contents/Required/Plug-ins/Extensions/FastCore.plugin/Contents/MacOS/FastCore
#PS2019
sudo perl -i -pe 's|\x90\x90\x90\x90\x56\xE8\x6A\x00|\x90\x90\x90\x90\x56\xE8\x3A\x00|sg' /Applications/Adobe\ Photoshop\ CC\ 2019/Adobe\ Photoshop\ CC\ 2019.app/Contents/Required/Plug-ins/Extensions/MMXCore.plugin/Contents/MacOS/MMXCore

Set > about:config?filter=ui.key.menuAccessKeyFocuses to 'false' to disable alt key show menubar action

cl_crosshair_drawoutline "1"
cl_crosshair_dynamic_maxdist_splitratio "0.35"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.5"
cl_crosshair_dynamic_splitdist "7"
cl_crosshair_outlinethickness "1"
cl_crosshair_sniper_show_normal_inaccuracy "0"
cl_crosshair_sniper_width "1"
cl_crosshair_t "0"
cl_crosshairalpha "999"
@surajmandalcell
surajmandalcell / whitelist.md
Last active September 24, 2018 16:08
Proton Witelist

Computer Information: Manufacturer: Unknown Model: Unknown Form Factor: Desktop No Touch Input Detected

Processor Information: CPU Vendor: AuthenticAMD CPU Brand: AMD Ryzen 3 2200G with Radeon Vega Graphics
CPU Family: 0x17

@surajmandalcell
surajmandalcell / Chrome_flags.md
Created July 13, 2018 11:34
Collection of useful chrome flags

Useful chrome flags

chrome://flags/#enable-tab-audio-muting

Enables one click muting of tabs using the volume icon on tabs in chrome (set enabled <)

Enable chrome material refresh in chrome beta

chrome://flags/#top-chrome-md

Set refresh <

chrome://flags/#secondary-ui-md

Set enabled <

@surajmandalcell
surajmandalcell / gsettings_collection.md
Last active July 12, 2018 19:42
Collection of gsettings commands

Elementary OS Specific

Bring back minimize and maximize buttons

gsettings set org.pantheon.desktop.gala.appearance button-layout 'appmenu:minimize,maximize,close'

Set global dark theme (not gsettings)

To set the global dark theme from the command line, first navigate to a Terminal of your choice and then from within the shell emulator ...

Navigate to your home directory:

@surajmandalcell
surajmandalcell / gdm_to_lightdm.md
Last active July 12, 2018 16:39
Switch from gdm to lightdm

sudo dnf install -y lightdm
sudo systemctl status {lightdm,gdm}.service
sudo systemctl mask gdm.service
sudo systemctl enable lightdm.service

@surajmandalcell
surajmandalcell / LICENCE SUBLIME TEXT
Created July 9, 2018 13:59
Sublime Text 3 Serial key build is 3176
## Sublime Text 3 Serial key build is 3176
> * Added these lines into /etc/hosts
127.0.0.1 www.sublimetext.com
127.0.0.1 license.sublimehq.com
> * Used the license key
----- BEGIN LICENSE -----
@surajmandalcell
surajmandalcell / Restart Polybar Without Completely Killing It.md
Created June 5, 2018 17:38
Restart Polybar Without Completely Killing It

pkill -USR1 polybar