Skip to content

Instantly share code, notes, and snippets.

View Kaukov's full-sized avatar
🎯
Focusing

Kaukov

🎯
Focusing
View GitHub Profile
@agnoster
agnoster / README.md
Last active July 29, 2024 09:17
My ZSH Theme

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

@laptrinhcomvn
laptrinhcomvn / Sublime Text 3 cheating.md
Last active November 17, 2023 06:53
Sublime Text 3 patching

Ref: https://gist.github.com/vertexclique/9839383

Important Note

Please use built-in Terminal.app (of Mac OS X) to type and rune the command, do not use another tool (like iTerm2).

Common step after enter run the patch command:

  • After run the commands, start new Sublime Text app, go to Main Menu > Help > Enter License. On the popup type in any text (example "a") and click Use Licence .

Arch Linux btrfs install

0. Prerequisites

  1. Latest Arch Linux install iso because those have newer kernels and more bugfixes in btrfs.
  2. Have previous experience with installing Arch (like you can install arch with a blind fold).

1. Parititions

We will ne two of them, one for /boot and the other one will be a btrfs partition with subvolumes.

  1. /dev/sda1 - this will be /boot with vfat filesystem because UEFI or syslinux for legacy BIOS boot
@klingtnet
klingtnet / how-to-run-melodics-on-linux-using-wine.md
Created February 25, 2018 17:02
How to run melodics on Linux using Wine

How to run melodics on Linux using Wine

export PULSE_LATENCY_MSEC=5\
    && export WINEPREFIX="/home/alinz/.wine"\
    && wine "$USER/.wine/dosdevices/c:/Program Files/Melodics/Melodics.exe"

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@adrienbeau
adrienbeau / how-to-run-melodics-on-linux-using-bottles.md
Created January 7, 2024 10:55
How to run Melodics on Linux using Bottles

How to run Melodics on Linux using Bottles

TL;DR: Melodics runs out-of-the-box with the current version of Bottles and its default settings. However Melodics uses your browser to handle logins, and expects your browser to be able to call the Melodics app once logged-in. Read "Melodics Desktop Integration" below to set that up.

Versions tested:

@kikislater
kikislater / tlp.conf
Last active July 30, 2024 15:56
TLP for Lenovo Thinkpad P14s Gen 5 AMD (Works with T14 Gen 5 as well)
################################################################################
########### 2024 July 03 - TLP P14s Gen 5 AMD by Sylvain POULAIN ###############
################################################################################
# Content of /etc/tlp.d/tlp.conf for P14s Gen 5 AMD
# (Also works with T14 Gen 5 : same hardware, same motherboard)
################################################################################
# Complete harware list => https://linux-hardware.org/?probe=1c547a828f
################################################################################
# /!\ For better performance use "acpi.ec_no_wakeup=1" in Kernel option
# https://patchwork.kernel.org/project/linux-acpi/patch/ZnFYpWHJ5Ml724Nv@ohnotp/