Skip to content

Instantly share code, notes, and snippets.

View show555's full-sized avatar

Shogo Kato show555

  • Akita-shi Akita, JAPAN
View GitHub Profile
@show555
show555 / osmc-jp-font-replace.sh
Created March 30, 2018 14:32 — forked from mzyy94/osmc-jp-font-replace.sh
OSMC Japanese font replace
#!/bin/sh
URL="https://gist.github.com/mzyy94/15ee1b3880107e9d7ece/download"
TMP="/tmp/mplusfonts"
FONTSDIR="/usr/share/kodi/addons/skin.osmc/fonts/"
FONTCONF="/usr/share/kodi/addons/skin.osmc/16x9/Font.xml"
set -x
mkdir -p ${TMP}
@show555
show555 / wordmove_with_localbyflywheel.sh
Last active January 31, 2018 02:26 — forked from k4zuki02h4t4/wordmove_with_localbyflywheel.sh
Enable Wordmove with "Local by Flywheel".
#!/usr/bin/env bash
set -xu
RUBY_VERSION=2.4.3
LIBSSL_VERSION=$(dpkg -s libssl1.0.0 | grep -i ^version | awk '{print $2;}')
apt-get update -y
apt-get upgrade -y
apt-get install -y software-properties-common python-software-properties vim build-essential git python-setuptools ruby-build libssl-dev=${LIBSSL_VERSION}
@show555
show555 / .htaccess
Created March 15, 2012 01:05
Basic認証下でWP Cronを動かす
# Exclude the file upload and WP CRON scripts from authentication
<FilesMatch "(async-upload\.php|wp-cron\.php|xmlrpc\.php)$">
Satisfy Any
Order allow,deny
Allow from all
Deny from none
</FilesMatch>