Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Tak Nishigori nishigori

🏠
Working from home
  • CARTA HOLDINGS, Inc.
  • Tokyo, Japan
  • Twitter @_nishigori
View GitHub Profile
@nishigori
nishigori / fedora-not-requires-gcc10.patch
Created Aug 6, 2021
Patch of kernel-5.10.50-44.132.amzn2.src.rpm
View fedora-not-requires-gcc10.patch
--- source/kernel.spec 2021-08-06 05:35:19.202753004 +0000
+++ nishigori/kernel.spec 2021-08-06 06:09:24.573573006 +0000
@@ -707,10 +707,12 @@ AutoReqProv: no\
%if ! 0%{?fedora}\
Requires(pre): %{_bindir}/find\
Requires(post): %{_sbindir}/hardlink\
+Requires: gcc\
+%else\
+Requires: gcc10\
%endif\
@nishigori
nishigori / CI.md
Last active Aug 29, 2015
CI Server Introduction
View CI.md

求めるCI Server像

必須:

  • Branch / PR作成時の自動テスト
  • Web hook
  • チャット/IRCへのNotification
  • 複数言語サポート
  • 並列ビルド
  • 高サービス稼働率
View gitflow.spec
%define gitflowver 1.6.1
Name: gitflow
Version: %{gitflowver}
Release: 1%{?dist}
Summary: Extensions providing operations for V. Driessen's branching model
Group: Development/Tools
License: BSD
@nishigori
nishigori / build.xml
Created Jun 30, 2012
build.xml for Symfony2.1
View build.xml
<?xml version="1.0" encoding="UTF-8"?>
<project name="symfony" default="main">
<property name="appdir" value="${basedir}/app" />
<available file="${basedir}/php-cs-fixer.phar" property="php-cs-fixer-exist" />
<available file="${basedir}/composer.phar" property="composer-exist" />
<target name="main"
description="Run almost task"
@nishigori
nishigori / vim-build.sh
Last active Sep 26, 2015 — forked from tyru/build
Vim's build script.
View vim-build.sh
#!/bin/sh
# Remove previous configure cache
if [ "$1" = "-f" ]; then
make distclean || rm src/auto/config.cache
fi
# configure & make
./configure \
--prefix=/usr/local \