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 | |
SCRIPT_DIR="$PWD/$(dirname $0)" | |
if [[ ! -e ${SCRIPT_DIR}/env/bin/activate ]]; then | |
python3 -m venv ${SCRIPT_DIR}/env | |
fi | |
source ${SCRIPT_DIR}/env/bin/activate |
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
#!/usr/bin/env bash | |
set -e | |
declare -A counts | |
for file in $(git ls-files) | |
do | |
count=$(git shortlog -s -n --all --no-merges $file | wc -l) | |
counts[$file]=$count | |
done |
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
--- old.cmake.1 2020-03-24 14:16:23.000000000 +0900 | |
+++ cmake.1 2020-03-24 14:15:43.000000000 +0900 | |
@@ -226,7 +226,7 @@ | |
.B \fB\-B <path\-to\-build>\fP | |
Path to directory which CMake will use as the root of build directory. | |
.sp | |
-If the directory doesn’t already exist CMake will make it. | |
+If the directory doesn't already exist CMake will make it. | |
.TP | |
.B \fB\-C <initial\-cache>\fP |
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
^#h::^#Left | |
^#l::^#Right | |
#`::!` |
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
(defmacro my-defun (name arglist &rest body) | |
(declare (debug defun) (doc-string 3) (indent 2)) | |
`(if (fboundp ',name) | |
(error "`%s' is already defined" ',name) | |
(defun ,name ,arglist ,@body))) | |
(my-defun car (lst) | |
(nth 0 lst)) ;; car is already defined |

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
Contacting host: melpa.org:443 | |
Making version-control local to dash-autoloads.el while let-bound! | |
Generating autoloads for dash.el...done | |
Saving file /home/syohei/.cpanm/latest-build/test/elpa/dash-20160820.501/dash-autoloads.el... | |
Wrote /home/syohei/.cpanm/latest-build/test/elpa/dash-20160820.501/dash-autoloads.el | |
(No files need saving) | |
Checking /home/syohei/.cpanm/latest-build/test/elpa/dash-20160820.501... [2 times] | |
Compiling /home/syohei/.cpanm/latest-build/test/elpa/dash-20160820.501/dash-pkg.el...done | |
Wrote /home/syohei/.cpanm/latest-build/test/elpa/dash-20160820.501/dash-pkg.elc | |
Checking /home/syohei/.cpanm/latest-build/test/elpa/dash-20160820.501... |
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
# perl -V | |
Summary of my perl5 (revision 5 version 22 subversion 1) configuration: | |
Platform: | |
osname=netbsd, osvers=netbsd, archname=amd64-netbsd | |
uname='netbsd 7.0 netbsd 7.0 (generic.201509250726z) amd64 ' | |
config_args='-des -Dprefix=/root/local/perl' | |
hint=recommended, useposix=true, d_sigaction=define | |
useithreads=undef, usemultiplicity=undef | |
use64bitint=define, use64bitall=define, uselongdouble=undef |
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
syohei@ubuntu64:~/.cpanm/latest-build/alchemist.el$ make test | |
Clean *.elc files: | |
rm -f *.elc | |
make unit | |
make[1]: Entering directory '/home/syohei/.cpanm/work/1473146396.37496/alchemist.el' | |
Run tests: |
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
#!/usr/bin/env bash | |
set -e | |
mv vendor _vendor | |
mkdir -p _vendor/src | |
cd _vendor | |
for dir in * |