This file contains hidden or 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
diff --git tmux.c tmux.c | |
index cf82110..d2c57b8 100644 | |
--- tmux.c | |
+++ tmux.c | |
@@ -193,12 +193,7 @@ main(int argc, char **argv) | |
int opt, flags, keys; | |
if (setlocale(LC_CTYPE, "en_US.UTF-8") == NULL) { | |
- if (setlocale(LC_CTYPE, "") == NULL) | |
- errx(1, "invalid LC_ALL, LC_CTYPE or LANG"); |
This file contains hidden or 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
diff --git a/data/charwidths.jl b/data/charwidths.jl | |
index bdcbc6c..25d8d9f 100644 | |
--- a/data/charwidths.jl | |
+++ b/data/charwidths.jl | |
@@ -111,7 +111,7 @@ for line in readlines(open("EastAsianWidth.txt")) | |
#Assign widths | |
for c in charstart:charend | |
- if width=="W" || width=="F" # wide or full | |
+ if width=="W" || width=="F" || width=="A" # wide or full |
This file contains hidden or 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
diff --git a/data/charwidths.jl b/data/charwidths.jl | |
index bdcbc6c..25d8d9f 100644 | |
--- a/data/charwidths.jl | |
+++ b/data/charwidths.jl | |
@@ -111,7 +111,7 @@ for line in readlines(open("EastAsianWidth.txt")) | |
#Assign widths | |
for c in charstart:charend | |
- if width=="W" || width=="F" # wide or full | |
+ if width=="W" || width=="F" || width=="A" # wide or full |
This file contains hidden or 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
# [13] pry(#<#<Class:0x007ffdce310d48>>)> puts (p self.class.ancestors) | |
[#<Class:0x007ffdce310d48>, | |
#<Module:0x007ffdcead5600>, | |
#<Module:0x007ffdce9c6f48>, | |
UsersHelper, | |
ApplicationHelper, | |
#<Module:0x007ffdcd741030>, | |
ActionDispatch::Routing::RouteSet::MountedHelpers, | |
#<Module:0x007ffdce310ca8>, | |
#<Module:0x007ffdcd1a8c68>, |
This file contains hidden or 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
# ~/.config/git/ignore | |
.DS_Store | |
*.swp |
This file contains hidden or 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
"Mounts": [ | |
{ | |
"Name": "98ef888300af713d65b6d7534d835c7bd2e95270ad5eb016da749bbbb5f6d409", | |
"Source": "/var/lib/docker/volumes/98ef888300af713d65b6d7534d835c7bd2e95270ad5eb016da749bbbb5f6d409/_data", | |
"Destination": "/var/jenkins_home", | |
"Driver": "local", | |
"Mode": "", | |
"RW": true, | |
"Propagation": "" | |
} |
This file contains hidden or 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
cat > /usr/lib/systemd/system/httpd.service << EOF | |
[Unit] | |
Description=The Apache HTTP Server | |
After=network.target remote-fs.target nss-lookup.target | |
Documentation=man:httpd(8) | |
Documentation=man:apachectl(8) | |
[Service] | |
Type=notify | |
#EnvironmentFile=/usr/local/apache2/conf/httpd.conf |
This file contains hidden or 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
[Unit] | |
Description=Redis persistent key-value database | |
After=network.target | |
[Service] | |
ExecStart=/usr/local/bin/redis-server /etc/redis.conf --daemonize no | |
ExecStop=/usr/local/bin/redis-cli -p 6379 shutdown | |
[Install] | |
WantedBy=multi-user.target |
This file contains hidden or 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
form_with(url: hoge_url, data: {remote: false}) |
This file contains hidden or 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
[3] pry(main)> RGhost::Convert.new(nil).to :jpeg | |
NoMethodError: undefined method `empty?' for nil:NilClass | |
from /Users/atton/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/bundler/gems/rghost-141a28abb655/lib/rghost/ruby_ghost_engine.rb:156:in `shellescape' | |
[5] pry(main)> RGhost::Convert.new(true).to :jpeg | |
NoMethodError: undefined method `empty?' for nil:NilClass | |
from /Users/atton/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/bundler/gems/rghost-141a28abb655/lib/rghost/ruby_ghost_engine.rb:156:in `shellescape' |