Skip to content

Instantly share code, notes, and snippets.

View ashphy's full-sized avatar
😃
Happy Coding

Kazuki Hamasaki ashphy

😃
Happy Coding
View GitHub Profile
restore-cache:
image: plugins/s3-cache:1
pull: true
endpoint: http://minio:9000
access_key: DRONE
secret_key: DRONEDRONE
restore: true
path: '/org-name/repo-name/'
rebuild-cache:
pipeline:
restore-cache:
image: plugins/s3-cache:1
pull: true
endpoint: http://minio:9000
access_key: DRONE
secret_key: DRONEDRONE
restore: true
build:
minio:
image: minio/minio
ports:
- "9000:9000"
volumes:
- /var/lib/minio/data:/data
- /var/lib/minio/config:/root/.minio
command: server /data
environment:
- "MINIO_ACCESS_KEY=DRONE"
pipeline:
restore-cache:
image: drillster/drone-volume-cache
restore: true
mount:
- ./node_modules
volumes:
- /tmp/cache:/cache
build:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>title</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div id="wrapper">
<div id="header">HEADER</div>
# sudo yum install bsdtar qt5-qtwebkit-devel qt5-qtbase-devel xcb-util-keysyms-devel gtk2-devel libappindicator libappindicator-devel qt5-qtlocation-devel qt5-qtsensors-devel
# git clone https://github.com/jkozera/zeal.git
# cd zeal/zeal
# qmake-qt5
# make
# sudo make install
#version=RHEL7
# System authorization information
cmdline
install
auth --enableshadow --passalgo=sha512
ignoredisk --only-use=vda
# Use network installation
url --url="ftp://ftp.iij.ad.jp/pub/linux/centos/7/os/x86_64/"
# Run the Setup Agent on first boot
[root@kvm ashphy]# nc -l 0.0.0.0 6080
13:51:59,176 INFO rsyslogd: [origin software="rsyslogd" swVersion="7.4.7" x-pid="1194" x-info="http://www.rsyslog.com"] start
13:51:59,184 NOTICE kernel:[ 57.422600] type=1400 audit(1416491519.168:10): avc: denied { write } for pid=1075 comm="rsyslogd" name="/" dev="dm-0" ino=2 scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=dir
13:51:59,184 NOTICE kernel:[ 57.422605] type=1400 audit(1416491519.168:11): avc: denied { add_name } for pid=1075 comm="rsyslogd" name="xserver-statefile" scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=dir
13:51:59,179 INFO anaconda: /sbin/anaconda 19.31.79-1
13:51:59,337 INFO anaconda: 1048576 kB (1024 MB) are available
13:51:59,337 INFO anaconda: check_memory(): total:1024, needed:512, graphical:512
13:51:59,341 INFO anaconda: anaconda called with cmdline = ['/sbin/anaconda']
13:51:59,341 INFO anaconda: Default encoding = utf-8
13:51:59,378 WARNING anaconda: Not a
@ashphy
ashphy / changeset_r43481.diff
Created June 26, 2014 11:04
backport r41808(openssl build issue on fedora)
Index: ext/openssl/ossl_pkey_ec.c
===================================================================
--- ext/openssl/ossl_pkey_ec.c
+++ ext/openssl/ossl_pkey_ec.c
@@ -757,8 +757,10 @@
method = EC_GFp_mont_method();
} else if (id == s_GFp_nist) {
method = EC_GFp_nist_method();
+#if !defined(OPENSSL_NO_EC2M)
} else if (id == s_GF2m_simple) {