What do the terms “presale” and “presale wallet” mean in Ethereum?
admin | 区块链 | 2018-01-25
https://ethereum.stackexchange.com/questions/15918/what-does-presale-mean-in-ethereum
The presale ran from 22nd of July 2014 to 2nd September 2014. This was before the general public launch of the network.
For the first couple of weeks, 2000 ETH cost 1 BTC. Thereafter, your 1 BTC gradually got you fewer ETH. See:
What ... [阅读全文]
以太坊客户端geth命令行选项汇总
admin | 区块链 | 2018-01-25
geth --help
https://github.com/ethereum/go-ethereum/wiki/Command-Line-Options%20wiki
Shell
NAME:
geth - go-ethereum命令行接口
USAGE:
geth [options] command [command options] [arguments...]
VERSION:
1.4.11-stable
COMMANDS:
import 引入一个区块链文件
export 导出区块链到文件... [阅读全文]
v3升级到v3.2后,多PHP版本共存的安装方法
admin | 未分类 | 2018-01-05
自v3.2开始,wdcp支持多PHP版本共存共用和切换,可根据需求灵活选择和使用
从v3.0/3.1升级的用户,还需要再安装下多版本的PHP环境,才可完全正常使用和切换
安装方法如下:
wget http://down.wdlinux.cn/in/phps.sh
sh phps.sh
(共支持7个版本的PHP,如5.2.17/5.3.29/5.4.45/5.5.38/5.6.30/7.0.18/7.1.4)
默认安装使用版本,可以针对或选择性安装某... [阅读全文]
android Listview 滚动条 一直显示
admin | 未分类 | 2017-12-07
XHTML
android:scrollbarFadeDuration="0"
android:fadeScrollbars="false"
12
android:scrollbarFadeDuration="0"android:fadeScrollbars="false"
[阅读全文]
ws2def.h(206) : error C2011: “sockaddr”: “struct”类型重定义
admin | win32 | 2017-10-13
参考来源:
http://www.cnblogs.com/tonyyang132/archive/2009/10/14/1583110.html
https://social.msdn.microsoft.com/Forums/vstudio/en-US/671124df-c42b-48b8-a4ac-3413230bc43b/dll-compilationredefinition-error?forum=vclanguage
现象:使用winsock2后,出现许多重定义错误。原因是:头文件包含顺序错误,这两个头文件是:#include <winsock2... [阅读全文]
解决NGINX PHP "No input file specified"
admin | Php | 2017-09-27
Shell
1. 更改php.ini
首先php.ini的配置中把
;cgi.fix_pathinfo=0 改为
cgi.fix_pathinfo=1
2. 在nginx/conf/nginx.conf 找到:
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; 改为:
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
12345... [阅读全文]
让EXE导出函数
admin | Windows api | 2017-08-18
C++
初步搞定。
问题来源:
偶然发现OllyDBG.exe导出了一堆函数,这些函数都是供其插件调用的。对这种体系结构很感
兴趣,想弄清楚它的实现原理。后来又看到梁肇新的书《编程高手箴言》第278页提到的调用
门,觉得都应该差不多。
三种不同的解决办法(原理可能是一样的,:)):
1)在导出函数声明之前加上__declsp... [阅读全文]
vs2013 静态编译Qt和配置方法
admin | Qt Gui | 2017-08-17
编译方法很简单,请看文章:
http://wenku.baidu.com/view/6749dbab700abb68a982fba6
需要主要的是:
1:opengl 支持,如文章
2:opengl不支持,如下:
configure -confirm-license -opensource -platform win32-msvc2013 -debug-and-release -static -prefix “E:\Qt\5.3.2-static-vs2013″ -qt-sql-sqlite -qt-sql-odbc -plugin-s... [阅读全文]
win7下默认显示托盘图标的
admin | Windows api | 2017-08-17
C++
#include "stdafx.h"
#include <conio.h>
#include <windows.h>
#include <Shlwapi.h>
#pragma comment(lib, "shlwapi.lib")
typedef struct tagNOTIFYITEM
{
PWSTR pszExeName;
PWSTR pszTip;
HICON hIcon;
HWND hWnd;
DWORD dwPreference;
UINT uID;
... [阅读全文]