Skip to content

Instantly share code, notes, and snippets.

View tomonari-t's full-sized avatar

tomonari_takahashi tomonari-t

View GitHub Profile
@with-heart
with-heart / channels.md
Created May 10, 2022 23:29
Dev Guild Channels
  • Channels
    • List
      • 42 channels total
      • Grouped by Discord category
      • Legend
        • 🟢 = keep
        • 🟡 = keep if someone takes ownership
        • 🟠 = keep but move
        • 🔴 = archive
  • ❓ = not sure

明日の下書き


これはなに

  • 高円寺.dev #3 用の資料 https://koenji.connpass.com/event/160886/
  • フロントエンド専門じゃない人向けの、フロントエンドの最先端〜やや未来の話です
  • このレイヤーでは Node.js を使うべき/使うと強いという部分がありますが、他言語を否定しているわけではありません。むしろ他言語でこのアーキテクチャを模倣してほしいという話です。
let state = [];
let setters = [];
let firstRun = true;
let cursor = 0;
function createSetter(cursor) {
return function setterWithCursor(newVal) {
state[cursor] = newVal;
};
}

Ethereumのトークンが可能にするゲーム化された世界観の構築

68747470733a2f2f707261676d612d63757272792e636f6d2f77702f77702d636f6e74656e742f75706c6f6164732f323031382f30372f457468657265756d2e706e67

Ethereumは、今最もDapps開発で利用されているプラットフォームです。Dappsとは分散型アプリケーションの略称で、ブロックチェーン上にアプリケーションを配置する(デプロイする)ことで、中央管理者が不要なシステム構築を可能にしています。例えば、"トークン"と呼ばれる仮想通貨は、Ethereum上のDappsとして作成されているケースが多いです。

なぜEthereum上のDappsで多くの通貨が作成されているのでしょうか。それは、ERCと呼ばれる共通規格が他のプラットフォームに先んじて整備されていることが理由の1つでしょう。

ERCとはEthereum Request for Commentsの略称で、Ethereumに関連する技術仕様の提案書を指します。Ethereumのコミュニティは他のブロックチェーンコミュニティに比べ活発であるため、現在までに多くのERCが議論されています。

#define __WAIT 0xf1
#define __EXT 0xe0
#define __MAKE(code) code
#define __BREAK(code) 0xf0, code
#define __TYPE(code) __MAKE(code), __BREAK(code), __WAIT
#define __TYPE_EXT(code) __EXT, __MAKE(code), __EXT, __BREAK(code), __WAIT
#define __SCANCODE_SHIFT 0x12
#define __SCANCODE_CTRL 0x14
#define __SCANCODE_ALT 0x11

devp2p

Components

  • Distributed Peer Table (DPT) / Node Discovery
  • RLPx Transport Protocol
  • Ethereum Wire Protocol (ETH) / Application Layer

RLPx v4

  • v4 is currently the most widely used - (besides LES which uses v5)
  • v5 adoption is coming soon (check felix lange's devcon video below)
  • This summary based on geth implementation (~ 70% of ethereum nodes)
@voluntas
voluntas / gae_go.rst
Last active March 15, 2019 16:31
GAE/Go コトハジメ

GAE/Go コトハジメ

日時:2017-07-21
作:@voluntas
バージョン:0.6.0
URL:https://voluntas.githu.io/

突っ込みは Twitter @voluntas まで。

@robertpainsi
robertpainsi / commit-message-guidelines.md
Last active September 19, 2024 14:00
Commit message guidelines

Commit Message Guidelines

Short (72 chars or less) summary

More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).

Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
@albertorestifo
albertorestifo / propdiff.js
Created April 12, 2017 15:55
Logs the diff between current and previous props on a react element
componentDidUpdate(prevProps) {
console.log('Rrow update diff:');
const now = Object.entries(this.props);
const added = now.filter(([key, val]) => {
if (prevProps[key] === undefined) return true;
if (prevProps[key] !== val) {
console.log(`${key}
- ${JSON.stringify(val)}
@ziadoz
ziadoz / install.sh
Last active April 20, 2024 10:18
Install Chrome, ChromeDriver and Selenium on Ubuntu 16.04
#!/usr/bin/env bash
# https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/
# https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c
# https://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver
# https://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception
# https://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal
# https://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04
# Versions
CHROME_DRIVER_VERSION=`curl -sS https://chromedriver.storage.googleapis.com/LATEST_RELEASE`