Skip to content

Instantly share code, notes, and snippets.

@yasuhito
yasuhito / README.md
Last active July 11, 2026 03:03
qa2-love2d: diamond SWAP 承認前試作(通常幅・最大幅比較)

diamond SWAP 試作

GitHub Issue「diamond SWAP の試作を確認する」用の承認前試作です。本実装ではありません。

  • 端点: 端点自体をファセット付きの X 形状にする
  • X の腕幅: 初版から 20% 縮小した細線版
  • 接続線の中心: X 正面中心と奥行きをそろえ、透視投影後も上下位置が一致する
  • 左右: 同寸・対称
  • 色: CNOT と同じオレンジ系。試作は簡易 PBR 材質で、本実装では専用 diamond_SWAP シェーダと独立色設定を追加する
  • 比較: 通常幅(2セル)と最大幅(6セル)
@yasuhito
yasuhito / qa2-1801-bg-score-fix-preview5.svg
Created July 3, 2026 03:54
QA2 PR 1801 leaderboard preview screenshot
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# タンテ右翼
https://soundcloud.com/turntablerw/tracks
# アライズバトル
DJ Shun
https://www.youtube.com/watch?v=aLvL9XooksA
DJ Kouji
https://www.youtube.com/watch?v=GR1ugHn8LAk
<%= link_to '無料で登録',
signup_path,
class: 'inline-block border-b-4 active:mt-1 active:border-b-0 bg-green-400 border-green-500 font-bold py-2 px-5 rounded-lg text-base text-white hover:text-white' %>
<%= link_to '無料で登録', library_index_path, class: 'primary-button' %>
.primary-button {
@apply bg-green-400;
@apply border-b-4 border-green-500;
@apply inline-block;
@apply py-2 px-5;
@apply rounded-lg;
@apply text-base text-white font-bold;
&:active {
@apply border-b-0;
<div class="flex content-end justify-center md:justify-start mb-12 md:mb-0">
<%= link_to '無料で登録', signup_path, class: 'primary-button' %>
<%= tag.a 'どんな仕組み?', class: 'stroked-button',
data: { controller: 'smooth-scroll',
smooth_scroll_anchor: 'learning-methods',
action: 'click->smooth-scroll#scroll' } %>
</div>
<%= link_to 'ライブラリを見る',
library_index_path,
class: 'inline-block border-b-4 active:mt-1 active:border-b-0 bg-green-400 border-green-500 font-bold py-2 px-5 rounded-lg text-base text-white hover:text-white' %>
@yasuhito
yasuhito / title_helper.rb
Created March 23, 2019 04:12
タイトルのヘルパ
module TitleHelper
def title(text: nil, size: nil, url: nil, spaced: false, &block)
body = text || capture(&block) || raise('Text is a mandatory.')
klass = CssClassString::Helper.new('title', "is-#{size}" => size, 'is-spaced' => spaced).to_s
if url
link_to body, url, class: klass
else
tag.__send__ "h#{size || 3}", body, class: klass
end
end
/home/yasuhito/.rvm/rubies/ruby-2.1.8/bin/ruby -I/home/yasuhito/.rvm/gems/ruby-2.1.8/gems/rspec-core-3.4.3/lib:/home/yasuhito/.rvm/gems/ruby-2.1.8/gems/rspec-support-3.4.1/lib /home/yasuhito/.rvm/gems/ruby-2.1.8/gems/rspec-core-3.4.3/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
You are using HTTP Gem 0.5.1. WebMock supports version >= 0.6.0.
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's default settings.
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
VNetAPIClient
has implemented and tested all routes in the OpenVNet WebAPI