Address | Code | Amount ($) |
---|---|---|
0x0cbf655b0d22ae71fba3a674b0e1c0c7e7f975af | PVP | 6,848,836 |
0x05984fd37db96dc2a11a09519a8def556e80590b | OKTO | 610,807 |
0x1cc34f6af34653c515b47a83e1de70ba9b0cda1f | AXIOM | 339,061 |
0xc1f4d15c16a1f3555e0a5f7aefd1e17ad4aaf40b | KINTOHL | 246,641 |
0x49ae63056b3a0be0b166813ee687309ab653c07c | N/A | 60,741 |
0xe966a12bf7b93838096e4519a684519ab22df618 | HYPURRDASH | 55,756 |
0xbe622f92438ae55b12908b01eeace15d98ed1eec | VOOI | 10,947 |
0x055ba87dbff972e23bcf26ea4728c31e05240e66 | COPIN2 | 10,824 |
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
import pandas as pd | |
import requests | |
import numpy as np | |
from typing import Dict, Tuple | |
class LuckyDrawSelector: | |
def __init__( | |
self, | |
): |
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
"=== Memory when using `try` ===" | |
Total allocated: 40 bytes (1 objects) | |
Total retained: 0 bytes (0 objects) | |
allocated memory by gem | |
----------------------------------- | |
40 other | |
allocated memory by file | |
----------------------------------- |
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
version: 2.1 | |
orbs: | |
aws-cli: circleci/[email protected] | |
jobs: | |
test: | |
parallelism: 1 | |
working_directory: ~/src | |
docker: | |
- image: circleci/ruby:2.6-node-browsers | |
environment: |
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
#!/bin/sh | |
# Clean slate | |
echo "Cleaning up old assets and packs..." | |
rm -rf public/assets public/packs | |
# Precompile assets for production | |
echo "Precompiling assets..." | |
bundle exec rake assets:precompile RAILS_ENV=production PUBLISH_CLIENT=true |
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
# frozen_string_literal: true | |
require 'axlsx' | |
require 'rubyXL' | |
require 'rubyXL/convenience_methods/worksheet' | |
require 'memory_profiler' | |
rows = 1_000 | |
columns = 20 |
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
def print_memory_usage | |
memory_before = `ps -o rss= -p #{Process.pid}`.to_i | |
yield | |
memory_after = `ps -o rss= -p #{Process.pid}`.to_i | |
puts "Memory: #{((memory_after - memory_before) / 1024.0).round(2)} MB" | |
end |
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
#!/usr/bin/env ruby | |
# frozen_string_literal: true | |
require 'net/http' | |
require 'json' | |
require 'yaml' | |
unless ARGV.count == 0 || ARGV.count == 1 | |
puts "Usage #{$0} [--mappings]" | |
exit |