HashFlare
IT圈子 - IT CONSULTANT

official site: Google GSuite, click to have a look and have a 7 days free trial

it is the cheapest on the market, compare with Microsoft domain email, QQ email, 163 email
google always offer you the best product experience

here are some tips of using GSuite:

for example, my domain is meesilk.com, so I want to take the $5 per user per month plan, and I intend to create only one user account for $5 per month, at the same time create multiple domain email addresses like admin@meesilk.com, support@meesilk.com, etc,  here is how and some resolution for the issues you may encounter:

Domain ownership verification failed

if you failed to verify your domain owership when you click next next following the register steps, then you can try other ways like adding headers to the index.html file on your hosts, there are many ways to do, check on the link https://support.google.com/a/answer/1071480?hl=en

Add an email alias in G Suite (up to 30 alias)

https://support.google.com/domains/answer/6304345?hl=en

https://support.google.com/a/answer/33327?hl=en

during the steps popup for you, set the Reply-to address if you want to specify it

Send emails from a different address or alias

https://support.google.com/mail/answer/22370?hl=en

now you can enjoy with your domain email, choose sender by selecting from the address list

Cancel your business email

https://support.google.com/work/mail/answer/6268517?hl=en

 

special promo code for GSuite

G Suite Basic Plan

R4TVYRQJYE9LUJP

G Suite Business Plan

R7DG7QEV4XR9QGT

Each promotion code provides 20% off the first year on either G Suite Basic plan or G Suite Business plan*.

 

refer:

https://productforums.google.com/forum/#!topic/apps/QFW6bWqfJko

 

official site:. decred.org

GUI setup: https://docs.decred.org/getting-started/user-guides/decrediton-setup/

CLI setup: https://docs.decred.org/getting-started/user-guides/cli-installation/

stats: https://dcrstats.com/

stakepool: https://decred.org/stakepools/

questions on stake: https://stakepool.dcrstats.com/faq

ultrapool pool stats: https://www.ultrapool.eu/stats

Decred PoS process explained

1) If you are completely new to Decred, read this first: decredible.com/mining/pos

2) Download one of the wallets from Decred’s download page. Recommended wallets are Decrediton or the Command-Line wallet. Your wallet will need time to sync itself to the latest block. This may take some time. It will do so automatically in the background.

3) Send your DCR to your wallet. Funds will show up if the wallet is synced to the latest block (sometimes a restart is required).

4) Pick a stakepool and sign up on the pool’s website. Copy the API key they will provide to you. A list of stakepools and their websites can be found at the bottom of the Decred website. They charge a small fee (5% or less) to be used. The pool API key can be found in the settings page on their website.

5) Go to the Tickets tab located within the Decredition wallet. Click Import Script and input your API key and password. Now you are connected to the pool.

6) Enter the number of tickets you would like to buy. The default transaction fee of 0.001 DCR is fine (it’s the minimum). The default Expiry of 16 blocks is fine too. Click Purchase. You will be asked to enter your password to complete the transaction. You should now see a ‘Success!’ message and the ticket hash.

7) Your ticket will enter the mempool and wait there to be mined.

8) After your ticket is mined it will go to immature status. You can see this in the Tickets tab. You will have to wait 256 blocks (about 21 hours) for your ticket to mature and go live. Once the ticket is live, you wait for your ticket to vote.

9) After a vote, your funds will need another 256 blocks to become spendable again. You receive the original ticket price plus the PoS reward of ~1.4 DCR minus the pool fee.

10) On average, live tickets vote within 28 days, but it can take as long as 142.22 days (40960 blocks) to vote. If a ticket does not vote within this window, it expires, and the ticket fee is lost (don’t worry, the cost price of the ticket is refunded). There is a chance of less than 0.5% that this will happen to you.

The estimated ROI is ~2% per ticket, depending on the ticket price and the PoS reward.

The importance of voting

The term vote is used because you will be voting on different proposals to change and improve Decred. It is the heart of the Decred governance model. You will notice there are Voting Preferences in the Tickets tab. This is where you can decide on your vote. Apart from voting, the PoS process is used to validate blocks from the PoW miners.

from https://www.decredible.com/how-to-stake-decred-beginners-guide/

SparkContext

The SparkContext allows your Spark driver application to access the cluster through a resource manager. The resource manager can be YARN, or Spark’s cluster manager.

Spark SQL and DataFrame

Spark introduces a programming module for structured data processing called Spark SQL. It provides a programming abstraction called DataFrame and can act as distributed SQL query engine.

A DataFrame can be constructed from an array of different sources such as Hive tables, Structured Data files, external databases, or existing RDDs. This API was designed for modern Big Data and data science applications taking inspiration from DataFrame in R Programming and Pandas in Python.

SQLContext and SparkSession

SQLContext is a class and is used for initializing the functionalities of Spark SQL. SparkContext class object (sc) is required for initializing SQLContext class object.

In Spark 1.3.1, SparkSQL implements dataframes and a SQL query engine. SparkSQL has a SQLContext and a HiveContext.

and from Spark 2.0.0

SparkSession is introduced as the new entry point of Spark that replaces the old SQLContext and HiveContext. Note that the old SQLContext and HiveContext are kept for backward compatibility.

Spark Standalone deployment:

https://spark.apache.org/docs/latest/spark-standalone.html

Spark SQL:

https://spark.apache.org/docs/latest/sql-programming-guide.html

 

by LIU YUE

-2018.4.12

official website: press.one

blog: https://blog.press.one

explain:

你该如何证明你是你? https://mp.weixin.qq.com/s/f9I7d2mGKyWLstp-WOYPEA

https://press.one/p/address/v?s=02112035d679bc6ab479f1bed0fe83783c1ca1ab3f4a742fa1b1fa00c9b0e0ccfc747334bac858399573c7f8705b6b3df6f42dc96960618ed5032a347f393cbe0&h=c8a2c4fdc2df9b762b0c7bc4377066744db5aadc10c66b741bf8a1c9c9125cd0&a=20984de7c9c35174eb8cef497174ecb0b36fe687&f=P1&v=2

 

0 410

sample: spark shell, scala repl, python shell

Read–eval–print loop https://en.wikipedia.org/wiki/Read–eval–print_loop

Difference between a REPL and interactive shell https://softwareengineering.stackexchange.com/questions/168285/difference-between-a-repl-and-interactive-shell

REPL: This is a procedure that just loops, accepts one command at a time, executing it, and printing the result.

The three steps at each iteration of the loop are:

Calling read to read the characters that make up a textual expression from the keyboard input buffer, and construct a data structure to represent it,
Calling eval to evaluate the expression–intuitively, eval “figures out what the expression means,” and “does what it says to do,” returning the value of the expression–and
Calling write to print a textual representation of the resulting from eval, so that the user can see it.
You can write your own read-eval-print loop for your own programs, so that users can type in expressions, and you can interpret them any way you want. You can start up your read-eval-print loop (by typing in (rep-loop)), and it will take over from the normal Scheme read-eval-print loop, interpreting expressions your way.

Here’s a very simple read-eval-print loop:

(define (rep-loop)
(display "repl>") ; print a prompt
(write (eval (read))) ; read expr., pass to eval, write result
(rep-loop)) ; loop (tail-recursive call) to do it again

Notice that the expression (write (eval (read))) does things in the proper read-eval-print order, because the argument to each procedure call is computed before the actual call.

Interactive Shell : An interactive shell reads commands from user input on a terminal. Among other things, such a shell reads startup files on activation, displays a prompt, and enables job control by default. The user can interact with the shell.That’s how the interactive shell name came into being . Let us consider this bash script :

#!/bin/bash
echo -n "Enter the value of variable 'var1': "
read var1
echo "var1 = $var1"
echo

echo -n "Enter the values of variables 'var2' and 'var3' "
echo =n "(separated by a space or tab): "
read var2 var3
echo "var2 = $var2 var3 = $var3"
# If you input only one value,
#+ the other variable(s) will remain unset (null).

exit 0

Now the script above interacts with the user, it asks the user to enter inputs based on which it does its calculations. That’s why it behaves like an interactive shell.

Similary, the python interpreter which most people use to learn python is an interactive one as it communicates with its user.

0 343

List of mergers and acquisitions by Alphabet
https://en.wikipedia.org/wiki/List_of_mergers_and_acquisitions_by_Alphabet

List of mergers and acquisitions by Microsoft
https://en.wikipedia.org/wiki/List_of_mergers_and_acquisitions_by_Microsoft

List of mergers and acquisitions by Alibaba
https://www.crunchbase.com/search/acquisitions/field/organizations/num_acquisitions/alibaba

List of mergers and acquisitions by IBM
https://en.wikipedia.org/wiki/List_of_mergers_and_acquisitions_by_IBM

List of mergers and acquisitions by Apple
https://en.wikipedia.org/wiki/List_of_mergers_and_acquisitions_by_Apple

List of mergers and acquisitions by Amazon
https://en.wikipedia.org/wiki/List_of_mergers_and_acquisitions_by_Amazon

List of mergers and acquisitions by Facebook
https://en.wikipedia.org/wiki/List_of_mergers_and_acquisitions_by_Facebook

List of mergers and acquisitions by SAP
https://www.crunchbase.com/search/acquisitions/field/organizations/num_acquisitions/sap

today I identified an issue when install OneBase.org php framework( which is based on Thinkphp 5.0)

the root cause is callling of php internal function parse_url, when your password includes special character like #, the parse_url function wrongly split the string,

work around is by adding a / at the tail of $url

small issue, but may waste plenty of time investigating it because of layering and encapsulation

parse_url

very simple solution :

click on max/average whatever column you want to sort, click it once or twice until the result is sorted in your expected order, then save, so next time when you open it, it will display in expected sort order,

actually what happens is the grafana json file will change to for example:

“legend”: {
“alignAsTable”: true,
“avg”: true,
“current”: true,
“max”: true,
“min”: false,
“rightSide”: true,
“show”: true,
“sideWidth”: 300,
“sort”: “max”,
“sortDesc”: true,
“total”: true,
“values”: true
},

ppl asking and discussing it here

https://community.grafana.com/t/grafana-did-not-display-the-records-in-the-expected-order-in-table/4564

and

https://groups.io/g/grafana/topic/prometheus_data_not_sorted/4314229?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,0,0,4314229

ThinkPHP Framework

sourcecode: https://github.com/top-think

tutorial: https://www.kancloud.cn/special/thinkphp5_quickstart

Issues:

# URL rewrite
the small trick here is the ? mark, 注意加上?号可能就解决了你的404问题,甩掉index.php
IIS:

<?xml version=”1.0″ encoding=”UTF-8″?>

<configuration>

<system.webServer> <rewrite> <rules> <rule name=”OrgPage” stopProcessing=”true”> <match url=”^(.*)$” /> <conditions logicalGrouping=”MatchAll”> <add input=”{HTTP_HOST}” pattern=”^(.*)$” /> <add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” /> <add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” /> </conditions>

<action type=”Rewrite” url=”index.php?/{R:1}” /> </rule> </rules> </rewrite>

</system.webServer>

</configuration>

.htaccess

Options +FollowSymlinks -Multiviews
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]

Extension:

 

PHP >= 5.4.0
PDO PHP Extension
MBstring PHP Extension
CURL PHP Extension

PSR-2 PSR-4 Composer

 

适用于bootstrap的ace的ThinkPHP框架分页

http://www.ichasem.com/?p=364

对于币圈外面的人来说,炒币好像很神秘或很麻烦,这里帮你揭开炒币的神秘面纱,一步步教你入门,以此为基础,对于初入币圈的朋友们是很有益的参考,有了基础,其他的问题都可以展开讨论

一、准备篇

这一段需要认真看

1.准备一个笔记本或者移动硬盘创建一个文件夹,

记录下下面的关键信息:

交易所名字、用户名/密码/交易密码;

绑定的银行卡或信用卡或第三方支付方式(支付宝/xfers);

绑定的手机号(以防以后换手机);

绑定的邮箱;

谷歌验证码密钥或二维码(以防手机丢了或坏了,可以重新导入)

2.当然最好也尽量清楚每个交易所的持有的币数量或借贷的数量

3.注意留意交易所公告,尤其是网站维护或钱包维护公告,等你成为老手之后会懂得这个的重要性

二、注册登录实名认证

重要的事情:不要去小交易所,小交易所安全性低,交易量低,套路多,很容易造成损失;

交易所分为中心化交易所和去中心化交易所,中心化交易所即传统的交易所,交易所帮你管理钱包,你在交易所的钱基本都是打白条,只有当你真正的提出来,钱或虚拟币才是你的,可以这样理解,支付宝里面的钱其实是白条,只要你不提到银行卡,你是无法直接从用atm机从支付宝把钱取出的,支付宝是靠信誉来打白条,信誉越低,白条的风险就越大;

而去中心化的交易所就不存在这个问题,去中心化的交易所中,钱包是你自己的,所以你除了上面要备份的信息,还需要备份下你的私钥/助记词等信息,因为这是基于区块链的,你的信息直接存在区块链上,私钥由你自己掌管,私钥丢了,交易所也无法帮你找回

建议新手先主要玩中心化交易所,

中心化交易所注册登录之后,一般需要开通谷歌验证码(记得一定要备份二维码或谷歌代码),然后一定要先做KYC,国内的交易所一般都只是要身份认证,不然有的交易所不做身份认证可以充值,但是不可以提现/提币,这样会造成你在紧急状况下耽误事情;

国外的交易所会比较麻烦一点,有的还需要提供水电费单或者其他银行的statement,只要上面有你姓名和地址就可以,因为笔者在新加坡很容易验证,国内的朋友可以先试着自己验证,如果实在不行再淘宝找相应的服务

   1. 主流中心化交易所:

国内交易所

1)重点推荐最安全的交易所-火币

        官网地址 https://www.huobi.pro

教程:点击看视频教学

点击看图文教学

2)BIANCE

官网地址:https://www.binance.com/

        教程:币安binance交易图文说明

3)BIG.ONE

官网地址 https://big.one

        教程:BIG.ONE交易图文说明

4)AEX

官网地址 https://www.aex.com

        教程:AEX交易步骤图文说明

国外交易所

1)COINBASE

官网地址    https://www.coinbase.com

2)POLONIEX

官网地址  https://poloniex.com

    2.主流去中心化交易所:

1)bitshare

官网地址 https://wallet.bitshares.org/

        教程:比特股内盘注册充提币交易详细图文教程

2)dew

官网地址 dew.one

教程:D网使用教程

三、充值通道

由于监管原因,不可以法币交易,所以基本上上面的交易所都没有法币入口,推荐法币入口:

OTCBTC最靠谱的场外交易平台

四、充币、提币

不管是充币还是提币都千万看清楚币的地址,不要乱充提,币要对应

有的币比如nxt、bts可能需要提供memo信息,千万不要忽略掉了

充币提币根据网络拥堵或者交易所的情况,有时候几分钟导致,有的则要几天,要持续关注,超过一天尽量提工单找客服,拖的久了就很难追回

如果实在是充提错误,请参考我的另外一篇文章《虚拟币转账问题》,还有一线生机

五、借贷业务和期货玩法

火币和poloniex都有借贷业务,简言之,就是将自己的某种币以某种利息,设置借贷时间(短到一天,长到数月),挂单,如果有人来借,成交后,坐收利息,不过要清楚其中的风险,不要以为平台为你担保就高枕无忧,所以可以少量尝试,不要投入过多资金

小D哥:教你比特币期货对冲套利

六、币圈准则

这是我另一篇文章《币圈准则》

友情链接:

1. 最安全的交易所

2.最靠谱的场外交易平台

3.下载app领取,火爆币链圈的BeeChat放大招了!每个人送出1500 Bee Dots,邀请一位再送1500个,满6人变6倍,满10人变10倍,时间有限赶紧邀请,邀请的人越多,你的Bee Dots将呈指数级增长,BeeChat新增王者币种CHAT,下一个百倍币. 量子链帅初,火星人鼎力支持. Qtum,Hcash上的交易所如大小B网都会上

RANDOM POSTS

0 1345
Although this Articles simply collects and gathers links for all front-end developer's or designer's reference, but it's really important to introduce or remind us...