画像アップローダーとほぼ同じ。
- 削除可能
- 編集履歴
- NIP-98 認証 → フォローユーザーに限定することで鍵垢の実装が可能
vec2 uvCover (vec2 uv, vec2 size, vec2 resolution) { | |
vec2 coverUv = uv; | |
vec2 s = resolution; // Screen | |
vec2 i = size; // Image | |
float rs = s.x / s.y; | |
float ri = i.x / i.y; | |
vec2 new = rs < ri ? vec2(i.x * s.y / i.y, s.y) : vec2(s.x, i.y * s.x / i.x); | |
vec2 offset = (rs < ri ? vec2((new.x - s.x) / 2.0, 0.0) : vec2(0.0, (new.y - s.y) / 2.0)) / new; | |
{"destruct": false, | |
"pool-checker": true} |
type Set struct { | |
list map[int]struct{} //empty structs occupy 0 memory | |
} | |
func (s *Set) Has(v int) bool { | |
_, ok := s.list[v] | |
return ok | |
} |
package io.github.sandornemeth.spring; | |
import java.util.Arrays; | |
import java.util.stream.StreamSupport; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.context.event.ContextRefreshedEvent; | |
import org.springframework.context.event.EventListener; | |
import org.springframework.core.env.AbstractEnvironment; |
Trainee | |
Ayo Agboola; Practice Your C# Level 1 | |
Junior | |
Ali Asad; The C# Programmer’s Study Guide (MCSD): Exam: 70-483 | |
Jon Skeet; C# in Depth 4th Edition | |
Roy Osherove; The Art of Unit Testing: with examples in C# 2nd Edition | |
Stephen Cleary; Concurrency in C# Cookbook: Asynchronous, Parallel, and Multithreaded Programming 2nd Edition | |
Fanie Reynders; Modern API Design with ASP.NET Core 2: Building Cross-Platform Back-End Systems | |
Bill Wagner; More Effective C# (Includes Content Update Program): 50 Specific Ways to Improve Your C# (Effective Software Development Series) |
# initializers/factory_bot.rb | |
# This needs to be extended in any factory you want its methods in, e.g.: | |
# factory :my_factory do | |
# extend FactoryBotEnhancements | |
# change_factory_to_find_or_create | |
# end | |
# FactoryBot.create(:my_factory) # creates with default attributes | |
# FactoryBot.create(:my_factory) # finds with the same default attributes |
https://www.powershellgallery.com/packages/PSWindowsUpdate
> Install-Module -Name PSWindowsUpdate
> Import-Module PSWindowsUpdate
Scan availables AP :
airodump-ng wlx7cdd903f7fe1
Capture an AP traffic to get handshake :
airodump-ng -c <channel> --bssid <AP mac> -w <output name> wlx7cdd903f7fe1
Deauthentication attack to get client handshake in the top command :
aireplay-ng -0 100 -a -c wlx7cdd903f7fe1
A couple of weeks ago I played (and finished) A Plague Tale, a game by Asobo Studio. I was really captivated by the game, not only by the beautiful graphics but also by the story and the locations in the game. I decided to investigate a bit about the game tech and I was surprised to see it was developed with a custom engine by a relatively small studio. I know there are some companies using custom engines but it's very difficult to find a detailed market study with that kind of information curated and updated. So this article.
Nowadays lots of companies choose engines like Unreal or Unity for their games (or that's what lot of people think) because d