This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Region to X clipboard | |
(defun paste-to-tmp-file(data) | |
(with-temp-buffer | |
(insert data) | |
(write-file "/tmp/clipboard"))) | |
(defun xclip-add-region() | |
(interactive) | |
(if (region-active-p) | |
(progn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir -p $HOME/var/container/arch | |
sudo pacstrap -i -c -d $HOME/container/arch base base-devel | |
sudo cp install_mozc.sh $HOME/var/container/arch/tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian | |
RUN apt-get update | |
RUN apt-get -y install emacs24 | |
RUN useradd -G sudo -u 1000 emacs | |
RUN mkdir -p /home/emacs/host_home | |
RUN chown -R emacs:emacs /home/emacs | |
ENV HOME /home/emacs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p $HOME/var/container/arch | |
sudo pacstrap -i -c -d $HOME/var/container/arch base base-devel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo pacman -S dmenu wmctrl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd | |
rm -f flash_chromebook_rom.sh | |
curl -O https://johnlewis.ie/flash_chromebook_rom.sh | |
sudo -E bash flash_chromebook_rom.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ag '[ぁ-ん|ァ-ヴ|一-龠|ー・、。]' /path/to/app/ | less |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq open-junk-file-find-file-function 'find-file) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo pacman -S android-tools | |
yaourt -S android-sdk android-sdk-platform-tools android-sdk-build-tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:5 | |
RUN yum -y update && yum -y upgrade | |
RUN yum -y install wget curl make gcc autoconf \ | |
libaio libaio-devel libxml2-devel libjpeg-devel libpng-devel curl-devel | |
# Install apache | |
RUN useradd apache | |
RUN cd /tmp && \ | |
wget http://ftp.meisei-u.ac.jp/mirror/apache/dist/httpd/httpd-2.2.31.tar.gz && \ |