This tutorial describes the basic usage of DDSKK Japanese input method for Emacs.
Install ddskk
package.
Turn on skk-mode
minor mode to write Japanese. It is recommended that you should bind a key to this command:
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
# Google Compute Engine asia-east-a micro | |
❯ ping -c 9 107.167.188.160 | |
PING 107.167.188.160 (107.167.188.160) 56(84) bytes of data. | |
64 bytes from 107.167.188.160: icmp_seq=1 ttl=60 time=11.4 ms | |
64 bytes from 107.167.188.160: icmp_seq=2 ttl=60 time=11.1 ms | |
64 bytes from 107.167.188.160: icmp_seq=3 ttl=60 time=11.1 ms | |
64 bytes from 107.167.188.160: icmp_seq=4 ttl=60 time=11.0 ms | |
64 bytes from 107.167.188.160: icmp_seq=5 ttl=60 time=11.1 ms | |
64 bytes from 107.167.188.160: icmp_seq=6 ttl=60 time=13.1 ms |
#!/bin/bash | |
python <<PYTHON | fzf -m | xargs -d'\n' calibredb add | |
import os.path | |
import glob | |
root = os.path.expanduser('~/Dropbox/Apps/Manning Books') | |
files = glob.glob(os.path.join(root, '**/*.epub')) | |
result = sorted(list(map(lambda f: (f, os.path.getctime(f)), files)), key=lambda t: t[1], reverse=True) | |
candidates = list(map(lambda f: f[0], result)) | |
for c in candidates: |
(setq custom-file "~/.custom.el") | |
;; Install straight.el | |
;; Just pasted from https://github.com/raxod502/straight.el#getting-started | |
(let ((bootstrap-file (concat user-emacs-directory "straight/repos/straight.el/bootstrap.el")) | |
(bootstrap-version 3)) | |
(unless (file-exists-p bootstrap-file) | |
(with-current-buffer | |
(url-retrieve-synchronously | |
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el" |
system-type | |
windows-nt | |
(getenv "HOME") | |
"C:\\Users\\IEUser\\AppData\\Roaming" | |
user-login-name | |
"IEUser" | |
(expand-file-name "~IEUser") |
#!/bin/sh | |
# This script will setup Evm (Emacs Version Manager) and Cask on | |
# Travis to use for Emacs Lisp testing. | |
# | |
# In .travis.yml, add this: | |
# | |
# - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh | |
# | |
# Emacs 24.3 is installed in the above script because Cask requires |
import posix | |
from system import `$` | |
proc mkdtemp*(tmpl: cstring): cstring {.importc, header: "<stdlib.h>".} | |
proc createTempDirectory*(tmpl: string): string = | |
var s = newString(tmpl.len) | |
s = tmpl | |
if mkdtemp(s.cstring()) == nil: | |
raise newException(IOError, "mkdtemp returns null") |
FROM fedora | |
MAINTAINER Akira Komamura, [email protected] | |
# Add RPM Fusion | |
RUN dnf -y install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \ | |
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm | |
# Install packages | |
RUN dnf -y install nim | |
# git is required by nimble to download a package | |
RUN dnf -y install git |
(require 'lemonbar) | |
(setq lemonbar-options `("-b" ; Dock the bar at the bottom of the screen | |
"-g" "1920x20+0+0" | |
"-p" | |
"-f" "Hack-9")) | |
(setq lemonbar-output-template '(akirak/lemonbar-exwm-buffer-list | |
lemonbar-align-right | |
akirak/lemonbar-i3status)) |