Skip to content

Instantly share code, notes, and snippets.

View cryptozeny's full-sized avatar

cryptozeny

View GitHub Profile
@cryptozeny
cryptozeny / doc.bash
Last active July 6, 2018 22:35
GPUMining NVIDIA 396 & CUDA 9.2
# Dependancies \
sudo apt-get install -y \
build-essential `# For building the driver` \
gcc-multilib `# For providing 32-bit support` \
dkms `# For providing dkms support` \
xorg xorg-dev `# On a workstation with GUI` && \
\
# Create Blacklist for Nouveau Driver \
sudo bash -c "> /etc/modprobe.d/blacklist-nouveau.conf" ; `# 파일비우기` \
sudo touch /etc/modprobe.d/blacklist-nouveau.conf && `# 파일만들기` \
@cryptozeny
cryptozeny / doc.md
Last active July 7, 2018 10:54
amd ryzen sensors on ubuntu 16.04-4

spec

AMD Ryzen 1700 ASUS B350-PLUS 4.13.0-45-generic

dep

sudo apt-get install \
lm-sensors psensor build-essential bison flex
@cryptozeny
cryptozeny / cuballoon_build_script-ubuntu1604.sh
Created July 7, 2018 22:46
cuballoon + nvidia-396+cuda-9.2+gpumining
# nvidia-396 \
sudo add-apt-repository ppa:graphics-drivers/ppa && \
sudo apt-get update && \
sudo apt-get install nvidia-396 && \
\
# cuda-9.2 \
cd && \
wget https://developer.nvidia.com/compute/cuda/9.2/Prod/local_installers/cuda_9.2.88_396.26_linux && \
wget https://developer.nvidia.com/compute/cuda/9.2/Prod/patches/1/cuda_9.2.88.1_linux && \
chmod +x cuda_9.2.88_396.26_linux && \
@cryptozeny
cryptozeny / create_ssh.sh
Last active December 11, 2021 04:16
create github SSH key
ssh-keygen -t rsa -b 4096 -C "[email protected]" && \
eval "$(ssh-agent -s)" && \
ssh-add ~/.ssh/id_rsa && \
echo "COPY to github ssh" ;\
echo "*******************" ; \
cat ~/.ssh/id_rsa.pub ; \
echo "*******************"
@cryptozeny
cryptozeny / yespower.c
Last active July 25, 2018 10:49
[test] yespower.c for ZNY & YTN & WAVI & KOTO
#include "miner.h"
#include "yespower.h"
#include "yespower-opt.c"
static const yespower_params_t yespower_BITZENY = {YESPOWER_0_5, 2048, 8, "Client Key", 10}; // ZNY
static const yespower_params_t yespower_YENTEN = {YESPOWER_0_5, 4096, 16, "Client Key", 10}; // YTN
static const yespower_params_t yespower_WAVI = {YESPOWER_0_5, 4096, 32, "WaviBanana", 10}; // WAVI
static yespower_params_t yespower_KOTO = {YESPOWER_0_5, 2048, 8, NULL, 80}; // KOTO: without const, because it obtains from loop: thanks twitter@WO01_
void yespower_hash( const char *input, char *output, uint32_t len )
@cryptozeny
cryptozeny / Makefile.am
Last active July 31, 2018 12:04
build error on bitzenyPlus
# Copyright (c) 2013-2016 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
DIST_SUBDIRS = secp256k1 univalue
AM_LDFLAGS = $(PTHREAD_CFLAGS) $(LIBTOOL_LDFLAGS) $(HARDENED_LDFLAGS)
AM_CXXFLAGS = $(HARDENED_CXXFLAGS) $(ERROR_CXXFLAGS)
AM_CPPFLAGS = $(HARDENED_CPPFLAGS)
EXTRA_LIBRARIES =
@cryptozeny
cryptozeny / gist:a7c04fe14dd60de8f1806451742bba83
Last active February 21, 2019 12:06
win64/32 crossbuild on ubuntu 16.04
@cryptozeny
cryptozeny / chainparams.cpp
Last active November 17, 2018 17:07
chainparams.cpp
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2018 The Sugarchain developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chainparams.h>
#include <consensus/merkle.h>
#include <tinyformat.h>
@cryptozeny
cryptozeny / sugarchain-copyright.txt
Created November 14, 2018 12:18
sugarchain-copyright.txt