原创 ubuntu16.04 eos 智能合約(1)創建用戶,發佈一個hello合約

1.下載eos源碼, sudo ./eosio_build.sh 2.啓動nodeos,第一次啓動, 指定文件目錄, 生成config.ini ./nodes -d data --config-dir data -c config.in

原创 windows 配置mysql

配置文件: [client] port=3306 default-character-set=utf8 [mysqld] port=3306 character_set_server=utf8 skip-grant-tables #解壓目

原创 eos 智能合約 , 代幣發行。

1.eos智能合約代幣發行。使用官方智能合約下面的代碼。 2.創建錢包, 創建用戶test1, test2, 導入key, 否則會報錯。 3.部署智能合約 ./cleos set contract test1 /eos/build/co

原创 iOS 檢測設備靜音狀態

1.使用的庫爲github上面的, 比較簡單, 在此記錄一下。 2.地址:Go_Go_Go 3. 4.內容簡單翻譯一下, 需要加入的RBDMuteSwitch.h, RBDMuteSwitch.m and detection.aiff

原创 解決macos 終端命令不可用

first. export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin second: source ~/.bash_profile

原创 boost 文件內容讀寫

    1使用boost::filesystem::fstream    #include <boost/filesystem.hpp> using namespace boost::filesystem; struct history{

原创 筆記:iOS動畫

1.翻轉 [UIView beginAnimations:@"boardViewFlip" context:nil]; [UIView setAnimationDuration:1.0f]; [UIView set

原创 crontab 定時任務

1.crontab# Edit this file to introduce tasks to be run by cron.## Each task to run has to be defined through a single l

原创 筆記:boost:: multi_index_container

boost::multi_index_container 作用:創建一種提供索引的數據結構,快速查詢。ordered_unique,索引。唯一值composite_key, 排序的key,composite_key_comare,排序方式