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 c59e5732099af0a10a1e88dae624e232eb7ab7d4 Mon Sep 17 00:00:00 2001 | |
From: akagisho <akagisho@gmail.com> | |
Date: Mon, 9 Mar 2015 17:59:29 +0900 | |
Subject: [PATCH] ITS#6461 escape single-quotes in back-sql | |
--- | |
servers/slapd/back-sql/proto-sql.h | 2 ++ | |
servers/slapd/back-sql/search.c | 5 +++++ | |
servers/slapd/back-sql/util.c | 37 +++++++++++++++++++++++++++++++++++++ | |
3 files changed, 44 insertions(+) |
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
require 'serverspec' | |
require 'net/ssh' | |
set :backend, :ssh | |
if ENV['ASK_SUDO_PASSWORD'] | |
begin | |
require 'highline/import' | |
rescue LoadError | |
fail "highline is not available. Try installing it." |
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
diff -ur whois-5.1.1.orig/whois.c whois-5.1.1/whois.c | |
--- whois-5.1.1.orig/whois.c 2013-12-27 04:55:36.000000000 +0900 | |
+++ whois-5.1.1/whois.c 2014-04-10 14:31:18.000000000 +0900 | |
@@ -78,6 +78,7 @@ | |
{"server", required_argument, NULL, 'h'}, | |
{"host", required_argument, NULL, 'h'}, | |
{"port", required_argument, NULL, 'p'}, | |
+ {"src_addr",required_argument, NULL, 'S'}, | |
{NULL, 0, NULL, 0 } | |
}; |
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 ubuntu:12.04 | |
MAINTAINER akagisho <akagisho@gmail.com> | |
RUN echo "deb http://jp.archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list | |
RUN apt-mark hold initscripts udev plymouth mountall | |
RUN dpkg-divert --local --rename --add /sbin/initctl | |
RUN apt-get update | |
RUN apt-get upgrade -y | |
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y mysql-server mysql-client libmysqlclient-dev | |
RUN /usr/bin/mysqld_safe & |
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
d-i debian-installer/locale string en_US | |
d-i debian-installer/language string en | |
d-i debian-installer/country string US | |
d-i debian-installer/locale string en_US.UTF-8 | |
d-i console-setup/ask_detect boolean false | |
d-i console-setup/layoutcode string us | |
d-i netcfg/choose_interface select eth0 | |
d-i netcfg/dhcp_timeout string 30 |
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
# GITLAB | |
# Maintainer: @randx | |
# App Version: 5.0 | |
upstream gitlab { | |
server unix:/home/git/gitlab/tmp/sockets/gitlab.socket; | |
} | |
server { | |
listen YOUR_SERVER_IP:80 default_server; # e.g., listen 192.168.1.1:80; |
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 | |
# GitLab installer for CentOS 6.4 (64bit) | |
if [ $(whoami) != "root" ]; then | |
echo "You must be root to do!" 1>&2 | |
exit 1 | |
fi | |
[[ "$MYSQL_PASSWORD" == "" ]] && MYSQL_PASSWORD="Myp@ssword" |
NewerOlder