This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = ["S", "O", "R", "T", "E", "X", "A", "M", "P", "L", "E"]; | |
for (let i = 0; i < a.length; i++) { | |
let f = i; | |
let low = f; | |
while (f < a.length) { | |
if (a[f] > a[low]) { | |
low = f; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// var a = ['S','O','R','T','E','X','A','M','P','L', 'E']; | |
var a = []; | |
function generateRandomData(){ | |
console.log("Generating dataset..."); | |
const alphabet = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]; | |
for(let i = 0; i < 100000; i++){ | |
let item = alphabet[Math.floor(Math.random() * alphabet.length)]; | |
a.push(item); | |
} | |
console.log("Dataset complete"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
console.log("Pre load bro:::::::::::::::::"); | |
document.addEventListener('unii:ticket:purchased', function (event) { | |
var guap = event.detail.subtotal; | |
fbq('track', 'Purchase', { | |
value: guap, | |
currency: 'USD' | |
}); | |
console.log(guap); | |
ga('ecommerce:addItem', { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ga('ecommerce:addTransaction', { | |
'id': 'random123', | |
'affiliation': 'Acme Clothing', | |
'revenue': '11.99', | |
'shipping': '5', | |
'tax': '1.29', | |
'currency': 'EUR' // local currency code. | |
}); | |
ga('ecommerce:send'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
516424128 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0: "0x2dda7f419728529422f2f4e99bb7e127840cd0ef" alain_the_creator | |
1: "0x6918a5b07c2f79a4b272bb7653a43438ca96cd3f" donutfan | |
2: "0x6918a5b07c2f79a4b272bb7653a43438ca96cd3f" donutfan | |
3: "0x6918a5b07c2f79a4b272bb7653a43438ca96cd3f" donutfan | |
4: "0x6918a5b07c2f79a4b272bb7653a43438ca96cd3f" donutfan | |
5: "0x6918a5b07c2f79a4b272bb7653a43438ca96cd3f" donutfan | |
6: "0x6918a5b07c2f79a4b272bb7653a43438ca96cd3f" donutfan | |
7: "0x6918a5b07c2f79a4b272bb7653a43438ca96cd3f" donutfan | |
8: "0x6918a5b07c2f79a4b272bb7653a43438ca96cd3f" donutfan | |
9: "0x6918a5b07c2f79a4b272bb7653a43438ca96cd3f" donutfan |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x0004e004aad32bc6a824ff73ccd13844ba3263bc spent => 0.95 | |
0x0017cb941a7459de4877336b0b4b071a9ece4e39 spent => 0.96 | |
0x0040963ed05b70a9d51ee5b31be0cc6bb75b8c8f spent => 0.94 | |
0x00778a211057c47a9f8885750bbf48226771bcdc spent => 0.91 | |
0x01a0f8f364c2fec07cfcdebd2980da3f950d0410 spent => 1.0 | |
0x02899bb6094c6dc4042a6679170acebb880f7265 spent => 0.92 | |
0x031a071adea8eee43e6dba2a5e73f4f494268037 spent => 0.98 | |
0x04fc7ab04e0d6e062a7f38dd6ccec9eb42101df1 spent => 0.93 | |
0x077b36323c12126e9271982a37e1ceb0d01c3782 spent => 1.0 | |
0x07c423f0ac87eaa76481dd86d446a2807cf27c82 spent => 0.91 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
informationSection = async () => { | |
if(!this.state.xx){ return; } | |
let etherianInfo = Api.getMonsterDefinition(this.state.xx); | |
return( | |
<div> | |
etherianInfo.name | |
</div> | |
); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# base image | |
FROM node:9.6.1 | |
# set working directory | |
RUN mkdir /usr/src/app | |
WORKDIR /usr/src/app | |
# add `/usr/src/app/node_modules/.bin` to $PATH | |
ENV PATH /usr/src/app/node_modules/.bin:$PATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript : | |
_sha3("abc", "def"); | |
= "0xb661a593b1b891c0068218d08abc26bafdfd7185bd4a59000911cb1dbbaa77c4" | |
solidity : | |
sha3("abc", "def"); | |
= "0xacd0c377fe36d5b209125185bc3ac41155ed1bf7103ef9f0c2aff4320460b6df" | |
solidity : | |
keccak256("abc", "def"); |