Skip to content

Instantly share code, notes, and snippets.

Avatar

Kikyou Akino bellflower2015

View GitHub Profile
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 Aug 19, 2018
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:
@bellflower2015
bellflower2015 / wavid.service
Last active Jul 17, 2018
/etc/systemd/system/wavid.service
View wavid.service
#
# /etc/systemd/system/wavid.service
# usage:
# systemctl daemon-reload
# systemctl enable wavid
# systemctl start wavid
#
[Unit]
Description=Wavi daemon
You can’t perform that action at this time.