Skip to content

Instantly share code, notes, and snippets.

Avatar

Kikyou Akino bellflower2015

View GitHub Profile
View eb989be4081cf996bd7e7eb6a529bbc1dc483a59.patch
From eb989be4081cf996bd7e7eb6a529bbc1dc483a59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= <ondra@mistotebe.net>
Date: Mon, 1 Nov 2021 17:12:35 +0000
Subject: [PATCH] ITS#9733 Only use libltdl when SLAPD_MODULES is defined
---
servers/slapd/overlays/ppolicy.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/servers/slapd/overlays/ppolicy.c b/servers/slapd/overlays/ppolicy.c
View sandego-qt-win.bash
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive
sudo apt-get -y update
sudo apt-get -y install build-essential libtool automake pkg-config mingw-w64
sudo update-alternatives --set i686-w64-mingw32-gcc \
$(update-alternatives --list i686-w64-mingw32-gcc | grep -- -posix)
sudo update-alternatives --set i686-w64-mingw32-g++ \
$(update-alternatives --list i686-w64-mingw32-g++ | grep -- -posix)
@bellflower2015
bellflower2015 / 20190704.Dockerfile
Created Jul 4, 2019
20190704: Apache2.4 + HTTPS(443) + mod_rewrite + PHP7.3 + MySQL5.5 + phpMyAdmin
View 20190704.Dockerfile
FROM php:7.3-apache
RUN docker-php-ext-install pdo_mysql
RUN apt-get update && apt-get install -y \
libssl-dev \
openssl \
ssl-cert \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& a2enmod ssl \
&& a2enmod rewrite \
View SanDeGo-qt.pro.patch
diff --git a/SanDeGo-qt.pro b/SanDeGo-qt.pro
index 640f993..97fd98d 100644
--- a/SanDeGo-qt.pro
+++ b/SanDeGo-qt.pro
@@ -45,7 +45,7 @@ QMAKE_LFLAGS *= -fstack-protector-all --param ssp-buffer-size=1
}
# for extra security on Windows: enable ASLR and DEP via GCC linker flags
win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat
-win32:QMAKE_LFLAGS += -static-libgcc -static-libstdc++
+win32:QMAKE_LFLAGS += -static -static-libgcc -static-libstdc++
View SanDeGo-depends.patch
diff --git a/depends/packages/bdb.mk b/depends/packages/bdb.mk
index 6c9876c..2f62094 100644
--- a/depends/packages/bdb.mk
+++ b/depends/packages/bdb.mk
@@ -1,8 +1,8 @@
package=bdb
-$(package)_version=4.8.30
+$(package)_version=5.3.28
$(package)_download_path=http://download.oracle.com/berkeley-db
$(package)_file_name=db-$($(package)_version).NC.tar.gz
@bellflower2015
bellflower2015 / vagrant-provision-bionic-mingw64.bash
Created Jun 19, 2019
vagrant-provision-bionic-mingw64.bash
View vagrant-provision-bionic-mingw64.bash
#!/bin/bash
#
# config.vm.provision "shell", :path => "vagrant-provision-bionic-mingw64.bash", :privileged => false
#
export DEBIAN_FRONTEND=noninteractive
SUDO='sudo -E'
@bellflower2015
bellflower2015 / chainparams.cpp
Last active Oct 6, 2021
Calculating Genesis Block
View chainparams.cpp
// ... snip ...
#include <arith_uint256.h>
// ... snip ...
class CMainParams : public CChainParams {
public:
CMainParams() {
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/bionic64"
config.vm.provider "virtualbox" do |vb|
vb.name = "wallet-builder"
vb.memory = 8192
vb.cpus = 4
vb.customize [
@bellflower2015
bellflower2015 / Dockerfile
Last active Aug 6, 2018
bitzenyplus-yespower-0.5:xenial Dockerfile
View Dockerfile
#
# docker build --tag bitzenyplus-yespower-0.5:xenial --cpuset-cpus="0,1" -f Dockerfile .
#
FROM ubuntu:xenial
RUN apt update -qq \
&& apt upgrade -qq -y \
&& apt install -qq -y \
build-essential \
@bellflower2015
bellflower2015 / docker-compose-nginx-php-mysql-phpmyadmin.yml
Created Aug 4, 2018
docker-compose.yml (nginx/php/mysql/phpmyadmin)
View docker-compose-nginx-php-mysql-phpmyadmin.yml
version: '2'
services:
# mysql
mysql:
container_name: "mysql"
image: mysql:5.7
ports:
- '3306:3306' #デバッグ用
environment: