Skip to content

Instantly share code, notes, and snippets.

View dAAAb's full-sized avatar
🇹🇼

Ju Chun Ko dAAAb

🇹🇼
View GitHub Profile
@dAAAb
dAAAb / EP233-YT.srt
Created April 7, 2024 16:42
寶博朋友說 EP233 YT SUB https://youtu.be/BCVjIihkyeY
1
00:00:00,000 --> 00:00:02,000
雖然我們剛剛聊得很愉快
2
00:00:02,000 --> 00:00:04,000
但是上了質詢台
3
00:00:04,000 --> 00:00:06,000
@dAAAb
dAAAb / 179a
Last active May 23, 2023 13:58
0
00:00:00,000 --> 00:00:00,960
[SPEAKER_00]: Sound On
1
00:00:00,251 --> 00:00:00,909
[SPEAKER_01]: Sound on
2
00:00:04,520 --> 00:00:12,941
0
00:00:00,000 --> 00:00:00,960
[SPEAKER_00]: Sound On
1
00:00:00,251 --> 00:00:00,909
[SPEAKER_01]: Sound on
2
00:00:04,520 --> 00:00:12,941
@dAAAb
dAAAb / .deps...npm...@manifoldxyz...libraries-solidity...contracts...access...AdminControl.sol
Created December 6, 2021 07:33
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.9+commit.e5eed63a.js&optimize=true&runs=300&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @author: manifold.xyz
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./IAdminControl.sol";
<!DOCTYPE html>
<html>
<head>
<title>AR Library</title>
</head>
<body>
<a href="https://daaab.github.io/ar/egg.usdz" rel="ar">
<img src="https://daaab.github.io/ar/egg.png" width=200>
</a>
@dAAAb
dAAAb / Multisend-ERC20.sol
Created December 27, 2019 17:46
Multisend-ERC20
contract ERC20 {
function transfer(address _recipient, uint256 amount) public;
}
contract MultiTransfer {
function multiTransfer(ERC20 token, address[] _addresses, uint256 amount) public {
for (uint256 i = 0; i < _addresses.length; i++) {
token.transfer(_addresses[i], amount);
}
}
}

Keybase proof

I hereby claim:

  • I am daaab on github.
  • I am daaab (https://keybase.io/daaab) on keybase.
  • I have a public key ASA63vx90obkhcGIg5A7s2cpzVkvitxLO4ouKix0QpyMoQo

To claim this, I am signing this object:

pragma solidity ^0.4.25;
contract MultiTransfer {
function multiTransfer(address[] _addresses, uint256 amount) payable {
for (uint256 i = 0; i < _addresses.length; i++) {
_addresses[i].call.value(amount).gas(21000)();
}
}
function() payable {}
}
<html>
<head>
<title>網頁標題</title>
</head>
<body>
<div class='layout style-scope blockchain-certificate'><section class='image' style='margin-top:12px'><section style='width:100%;display:inline-block;'><img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABIYAAAOtCAYAAAD0I257AAAACXBIWXMAAAsTAAALEwEAmpwYAAAFIGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG
using Nethereum.Contracts;
using Nethereum.JsonRpc.UnityClient;
using Nethereum.RPC.Eth.DTOs;
using Nethereum.Hex.HexConvertors.Extensions;
using Nethereum.Hex.HexTypes;
using System;
using System.Numerics;
using System.Globalization;
using System.Collections;
using UnityEngine;