Skip to content

Instantly share code, notes, and snippets.

@zvuc
zvuc / replace-dsm-font.md
Created January 16, 2023 03:37
Replace DSM (Synology) font with System Font

0. Enable SSH

You need to enable SSH access in your DSM settings first. Remember the port number here. image

1. Log in to SSH

Open terminal, run the following command:

@zvuc
zvuc / ko-en-fast-switch-disable-capslock.json
Created February 5, 2021 14:27
[Karabiner] KO-EN Fast Switcher
{
"title": "Kor-Eng Fast Switcher (Caps Lock)",
"rules": [
{
"description": "Kor ↔︎ Eng (Disabled default Caps Lock behavior)",
"manipulators": [
{
"type": "basic",
"conditions": [
{
@zvuc
zvuc / ja-fast-switch.json
Created February 5, 2021 14:27
[Karabiner] JA fast switcher
{
"title": "Fast switch to/from JA",
"rules": [
{
"description": "Fast switch to JA (Opt+Cmd+Space)",
"manipulators": [
{
"type": "basic",
@zvuc
zvuc / ongekisummer-summerplus-diff.txt
Created February 20, 2020 02:19
Ongeki Summer -> Summer Plus Level Changes
This game
MAS: 11 → 11+
君の知らない物語
MAS: 10+ → 11
Gate of Doom
EXP: 11 → 10+
The Formula
@zvuc
zvuc / gist:f1e2772d6875dc1abd112dc056af162d
Created August 22, 2019 02:04
Ongeki Plus -> Ongeki Summer LV Changes
GO!GO!ラブリズム♥
EXP 9 -> 8+
MAS 12 -> 11+
回レ!雪月花
EXP 9 -> 8
MAS 12 -> 11+
This game
EXP 8+ -> 8
@zvuc
zvuc / keychron-k1-siri-to-eject.json
Created January 19, 2019 05:58
Karabiner Complex Mod JSON config for Keychron K1 (Change Siri button to Eject)
{
"title": "Keychron K1 : Replace Siri button with Eject",
"rules": [
{
"description": "Keychron K1 : Change Siri button (Fn+Spacebar) to Eject.",
"manipulators": [
{
"from": {
"key_code": "spacebar",
"modifiers": {
@zvuc
zvuc / st3-ng2-html-highlighting.md
Last active March 28, 2018 01:22
Proper Syntax Highlighting for Angular2 HTML in Sublime Text 3

Note:

The latest version of this gist now lives in its own repository: https://github.com/zvuc/HTML-ng2.sublime-package Download the package file from the repo.

Fix ng2 attributes not being highlighted like other HTML attributes correctly

ADD: You can also install PackageResourceViewer from Package Control to open up and modify the package contents directly without having to manually rename, unpackage and copy.

  1. Find Sublime Text 3.app in Applications, View Package Contents
  2. Open Contents/MacOS/Packages/HTML.sublime-package (Rename to .zip, unpackage it)