Skip to content

Instantly share code, notes, and snippets.

@f440
f440 / openresty-ubuntu-install.sh
Last active October 21, 2016 14:19 — forked from alex-roman/openresty-ubuntu-install.sh
Easy install openresty (used and tested on Ubuntu 14.04, 15.10 and 16.04)
#!/bin/bash
# apt-get -y update
apt-get -y install nginx-extras build-essential libpcre3-dev libssl-dev libgeoip-dev libpq-dev libxslt1-dev libgd2-xpm-dev
wget -c https://openresty.org/download/openresty-1.9.15.1.tar.gz
tar zxvf openresty-1.9.15.1.tar.gz
cd openresty-1.9.15.1
./configure \
--sbin-path=/usr/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
@f440
f440 / expand-input-maxlen.patch
Created February 21, 2012 15:53 — forked from yoshikaw/Screenx.rb
開発版GNU Screenにあてているパッチ
Patch: expand-input-maxlen.patch
Probrem: More than 100 characters cannot be set to the caption
Solution: expands the text buffer size to 255.
Author: Kazuhiro Yoshikawa <[email protected]>
Files: src/input.c
src/process.c
--- a/src/input.c 2010-02-27 02:30:55.000000000 +0900
+++ b/src/input.c 2010-06-21 00:19:43.000000000 +0900
@@ -43,7 +43,7 @@