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
# https://blender.stackexchange.com/a/158902 | |
def srgb_to_linearrgb(c): | |
if c < 0: return 0 | |
elif c < 0.04045: return c/12.92 | |
else: return ((c+0.055)/1.055)**2.4 | |
# https://blender.stackexchange.com/a/158902 | |
def hex_to_rgb(h,alpha=1): | |
r = (h & 0xff0000) >> 16 | |
g = (h & 0x00ff00) >> 8 |
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
@echo off | |
powershell.exe -NoProfile -ExecutionPolicy RemoteSigned -File .\adb_connect.ps1 |
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
module github.com/uptrace/bun/example/rel-belongs-to | |
go 1.18 | |
replace github.com/uptrace/bun => ../.. | |
replace github.com/uptrace/bun/extra/bundebug => ../../extra/bundebug | |
replace github.com/uptrace/bun/dialect/sqlitedialect => ../../dialect/sqlitedialect |
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:(function(){Array.from(document.getElementsByClassName("blob-wrapper-embedded")).forEach(e=>{e.style.maxHeight="initial"});})(); |
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
!define event enum | |
skinparam backgroundColor #f0fefe | |
skinparam class { | |
BackgroundColor #fffcfa | |
BorderColor #433 | |
ArrowColor #433 | |
ArrowFontSize 14 | |
ArrowFontColor #433 | |
ArrowFontStyle bold | |
ArrowThickness 0.7 |
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
div[data-testid="cellInnerDiv"]:not(:has(div[data-testid="tweetText"]>span:not([dir="ltr"])+span:not([dir="ltr"]))) { | |
opacity: 0.15; | |
height: 53px; | |
overflow: hidden; | |
} | |
/* | |
Twitter(a.k.a x)の検索結果の中で、ユーザー名からヒットしたツイートを(不完全ながら)隠すStylus CSSです。 | |
2023年8月頃にチャレンジして、誤判別する課題が取り除けず1度断念したものだけど、そこを許容できればある程度は使えるかもしれません。 | |
あと、高度な検索を使うと破綻する場合もあった気がしますが、よく覚えてません。 |
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
if (newCondition) | |
{ | |
doSomethingElse(); | |
} |
OlderNewer