Skip to content

Instantly share code, notes, and snippets.

View dogelabshokyu's full-sized avatar

Hokyu Kim dogelabshokyu

View GitHub Profile
#define VENDOR_NONE 0
#define VENDOR_SKT 1
#define VENDOR_KT 2
#define VENDOR_LGU 4
#define VENDOR_DOMESTIC 7
#define VENDOR_OTHERS 8
#define VENDOR_ALL 0xff
static const int MODEL_SKT = VENDOR_SKT;
Mozilla/5.0 (Linux; Android 5.1.1; CT1101 Build/LMY48W)
AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0
Chrome/39.0.0.0 Safari/537.36

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@dogelabshokyu
dogelabshokyu / wattman on Ubuntu 20.04
Created September 2, 2020 05:39
Enable AMD GPU power control (wattman) on Ubuntu 20.04
edit /etc/default/grub
replace GRUB_CMDLINE_LINUX_DEFAULT as GRUB_CMDLINE_LINUX_DEFAULT="text amdgpu.ppfeaturemask=0xffffffff"
and update grub
sudo update-grub && sudo update-grub2
now you can control Radeon GPU settings on CoreCtrl like Wattman

Keybase proof

I hereby claim:

  • I am dogelabshokyu on github.
  • I am sapcedoge (https://keybase.io/sapcedoge) on keybase.
  • I have a public key ASA8tdh9nX0nWQJl-6gLFuAUSdVCowe-VWLRuYwU7U9yJAo

To claim this, I am signing this object: