I hereby claim:
- I am tim-hub on github.
- I am tim2015 (https://keybase.io/tim2015) on keybase.
- I have a public key ASAkuXIMMGoiZXV11RGTv80nYCiBgKTCNLWG11nEXNKpdAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
The contacts and profile information are collected for authentication by Google Firebase Authentication. |
// CryptoKitties Source code | |
// Copied from: https://etherscan.io/address/0x06012c8cf97bead5deae237070f9587f8e7a266d#code | |
pragma solidity ^0.4.11; | |
/** | |
* @title Ownable | |
* @dev The Ownable contract has an owner address, and provides basic authorization control | |
* functions, this simplifies the implementation of "user permissions". | |
*/ |
#define _XOPEN_SOURCE 500 /* Enable certain library functions (strdup) on linux. See feature_test_macros(7) */ | |
#include <time.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <limits.h> | |
#include <string.h> | |
#include <assert.h> | |
struct avl_node_s { |
A 256-bit hash which proves, combined with the nonce, that a sufficient amount of computation has been carried out on this block: the Proof-of-Work (PoF).
The combination of nonce and mixhash must satisfy a mathematical condition described in the Yellowpaper, 4.3.4. Block Header Validity, (44). It allows to verify that the Block has really been cryptographically mined, thus, from this aspect, is valid.
The value is a reduced representation (using a simple Fowler–Noll–Vo hash function) of the set of values selected from the DAG data file during mining calculation. This selection pick follows the implemented Estah' Hashimoto algorithm, which depends on the given Block header. The applied mixhash is re-determined for each hash operation that a Miner performs while searching for the correct Block nonce (cf. ASIC resistance, high IO). The final Block mixhash is the value leading to the valid Block. The reason why this value is part of the Block descriptor is tha
-- Assignment Data Warehouse Sql To test get data from northwind 3 and 4 | |
use northwind3 -- or 4 | |
go | |
SELECT TOP(100) c.city, sum((1-od.Discount) * od.UnitPrice * Quantity) as Amount | |
From [Order Details] od, Orders o, Customers c | |
Where od.OrderID = o.OrderID and o.CustomerID = c. CustomerID | |
GROUP BY c.CITY; |
Vue.component('coupon', { | |
props: ['code'], | |
template: ` | |
<input type="text" | |
:value="code" | |
@input="updateCode($event.target.value)" | |
ref="input"> | |
`, |
This impliments a redis cluster backend for Flask-Cache as the standard redis cache cannot handle a redis cluster.
class Config(object):
// Unity C# Cheat Sheet | |
// I made these examples for students with prior exerience working with C# and Unity. | |
// Too much? Try Unity's very good tutorials to get up to speed: https://unity3d.com/learn/tutorials/topics/scripting |
export FLASK_APP=wsgi.py | |
export FLASK_DEBUG=1 | |
flask run |