Skip to content

Instantly share code, notes, and snippets.

View LosEcher's full-sized avatar

Hopkins LosEcher

  • Wuhan
  • 15:46 (UTC +08:00)
View GitHub Profile
@LosEcher
LosEcher / drive_global_blacklist.filter
Created May 21, 2020 02:21
synology drive exclude folders config
[Version]
major = 1
minor = 1
[Common]
black_dir_prefix = "@tmp", "@eaDir", ".SynologyWorkingDirectory", "#recycle", "desktop.ini", ".ds_store", "Icon\r", "thumbs.db", "$Recycle.Bin", "@sharebin", "System Volume Information", "Program Files", "Program Files (x86)", "ProgramData", "#snapshot"
max_length = 0
max_path = 0
[File]
@LosEcher
LosEcher / userchrome.css
Created May 20, 2020 03:36
Joplin custom css style
/**
* For styling the entire Joplin app (except the rendered Markdown, which is defined in `userstyle.css`)
* /Users/[your-userName]/.config/joplin-desktop/userchrome.css
*
**/
:root {
--general-font-size: 16px;
--general-font-family: "JetBrains Mono", Monaco, monospace;
--list-item-height: 32px;
@LosEcher
LosEcher / MySQL_macOS_Sierra.md
Created July 17, 2019 14:58 — forked from nrollr/MySQL_macOS_Sierra.md
Install MySQL on Sierra using Homebrew

Install MySQL on macOS Sierra

This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.

Install MySQL

At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :

@LosEcher
LosEcher / osx-for-hackers.sh
Created November 16, 2018 06:40 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
#!/bin/sh
###
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos
###
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx