Skip to content

Instantly share code, notes, and snippets.

View laziu's full-sized avatar
🏠
Working from home

Geonu Kim laziu

🏠
Working from home
View GitHub Profile
@rondhi
rondhi / README.md
Last active May 7, 2024 06:55
How to stream games from OBS directly from Steam Deck's Gaming Mode

How to stream games from OBS directly from Steam Deck's Gaming Mode (as of 2023-02-26)

DISCLAIMER: As with any guide, please make sure to read through and understand everything before following the steps in this guide. I'm not responsible for you breaking anything on your own device. This guide assumes you have a little background with the linux command line as well as the text editor nano. If not, please educate yourself


Description: It's possible to stream Vulkan and OpenGL games from Gaming Mode on your Steam Deck. This guide is heavily based on robertkirkman's guide, which is linked multiple times throughout this guide. Much thanks to them


@alper111
alper111 / vgg_perceptual_loss.py
Last active April 10, 2024 02:21
PyTorch implementation of VGG perceptual loss
import torch
import torchvision
class VGGPerceptualLoss(torch.nn.Module):
def __init__(self, resize=True):
super(VGGPerceptualLoss, self).__init__()
blocks = []
blocks.append(torchvision.models.vgg16(pretrained=True).features[:4].eval())
blocks.append(torchvision.models.vgg16(pretrained=True).features[4:9].eval())
blocks.append(torchvision.models.vgg16(pretrained=True).features[9:16].eval())
@xnuk
xnuk / 아희.md
Last active September 5, 2019 22:42

아희 유형 A 프로그래밍 언어 설명 문서 - draft 버전 1.2.0

한국어

한국어는 애매합니다. 정확히는 명료한 언어 설명 문서를 적기에는 부족한 점이 좀 있습니다. 따라서, 본론에 들어가기 전 몇 가지 표현을 미리 명료히 하겠습니다.

  • A에서 B까지 / A부터 B까지: A와 B 사이에 있는 구간에서 A와 B를 포함한 구간을 칭합니다.
  • (U+AC00) 이상 (U+D7A3) 이하: 유니코드의 문자 번호가 십육진수 표기로 AC00 이상 D7A3 이하에 속하는 모든 유니코드 문자를 칭합니다.
  • 이 문서에서의 숫자 표기는 별도로 정의하지 않는 이상 십진수 표기를 사용합니다.
    • U+AC00U+ 뒤에 바로 따라 나오는 네 자리 문자는 십육진수 표기를 사용합니다.
  • 받침종성은 동의어로 봅니다.