For Ubuntu and other Debian-based distros
This gist is deprecated. You can find the latest instructions here.
1: Enable Japanese Locale
Check whether it's already enabled:
$ locale -a | grep ja
# UTF-8 (Unicode) compose sequence | |
# {keys...} : "{glyph}" {unicode number} # {unicode name} | |
# Dashes & spaces {{{ | |
<Multi_key> <asciicircum> <underscore> : "¯" U00AF # MACRON | |
<Multi_key> <minus> <minus> <period> : "–" U2013 # EN DASH | |
<Multi_key> <minus> <minus> <minus> : "—" U2014 # EM DASH | |
<Multi_key> <minus> <minus> <space> : "" U00AD # SOFT HYPHEN | |
<Multi_key> <space> <space> : " " U00A0 # NO-BREAK SPACE | |
<Multi_key> <minus> <underscore> <minus> : "⍽" U237D # SHOULDERED OPEN BOX |
#!/bin/bash | |
if [[ -z $1 ]]; then | |
printf '[Webhook]: ERROR! Missing webhook URL argument.\n' | |
exit 1 | |
fi | |
if [[ -n $2 ]]; then | |
LANG_VAL="$2" | |
LANG_REF="TRAVIS_${2^^}_VERSION" |
from xml.etree import cElementTree as et | |
from django.core.exceptions import ValidationError | |
from django.forms import ImageField | |
class SVGImageField(ImageField): | |
"""A Django ImageField that accepts SVG images.""" | |
def to_python(self, data): | |
""" |
/* Dark new tab */ | |
@-moz-document url("about:newtab") { | |
body { | |
background-color: #2A2A2E !important; | |
} | |
.top-site-outer .title span { | |
color: #F9F9FA !important; | |
} | |
.collapsible-section .section-title.grey-title, | |
.collapsible-section .section-title span { |
#!/bin/bash -e | |
### | |
# Semantic version comparison using semver specification http://semver.org/ | |
# This bash script compares pre-releases alphabetically as well | |
# | |
# returns 1 when A greater than B | |
# returns 0 when A equals B | |
# returns -1 when A lower than B | |
# |
This gist is deprecated. You can find the latest instructions here.
Check whether it's already enabled:
$ locale -a | grep ja
This Gist contains simple instructions on how to install, update, and uninstall BetterDiscord on Linux.
For more thorough documentation,
take a look at betterdiscordctl
's README.
Do NOT submit issues here as I don't check the comments. You should submit them here instead.
This gist is deprecated. You can find the latest instructions here.
Japanese locale should be enabled by default on Mac.
You can check by running:
/** | |
* To apply the theme: | |
* 1) Open dev tools with CTRL + SHIFT + I | |
* 2) Go to the console | |
* 3) Paste the following code | |
* Note: You will have to do this again whenever Github Desktop updates | |
*/ | |
const fs = require('fs'); | |
const path = require('path'); |