Skip to content

Instantly share code, notes, and snippets.

View luncliff's full-sized avatar
🥰
I love G3(Girls' Frontline)!

PARK DongHa luncliff

🥰
I love G3(Girls' Frontline)!
View GitHub Profile
@thesamesam
thesamesam / xz-backdoor.md
Last active July 21, 2024 05:59
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Background

On March 29th, 2024, a backdoor was discovered in xz-utils, a suite of software that

@justinyoo
justinyoo / README.md
Created April 18, 2023 01:58
애저 OpenAI 서비스 배워보기
@rkttu
rkttu / Microsoft.PowerShell_profile.ps1
Last active June 6, 2023 09:18
PowerShell 7 Profile Code for macOS
# Apply this code to the path pointed to by the $PROFILE variable.
# Introduction
# This code includes asdf and oh-my-posh support in addition to brew.
# Requirements
# You must have the latest version of the PSReadLine module installed. Use the Install-Module -Name PSReadLine -AllowClobber -Force command.
# Also, you need to go to Nerd Font (https://www.nerdfonts.com/) and change the font to display the oh-my-posh prompt normally.
# Troubleshooting
@Bananamilk452
Bananamilk452 / frontend_browser_test.md
Last active September 2, 2022 01:00
프론트엔드 웹 브라우저 크로스 테스트하기

이 브라우저에선 되고 저 브라우저에선 안되는 우리 사이트를 살려주세요

테스트에 사용할 브라우저

  • Chrome (Chromium)
  • Firefox
  • Safari (Webkit)
  • Opera
  • Edge
  • 네이버 웨일 (한국 한정)
@rkttu
rkttu / README.md
Last active November 7, 2020 04:57
KCD 2020 Online Code Sample {WSLHUB]

프로그래밍 방식으로 WSL 배포판 안의 사용자를 조회하는 방법

이 코드 샘플은 프로그래밍 방식으로 WSL 배포판 안의 사용자를 조회할 수 있는 방법을 설명합니다. Win32 API를 주로 사용하였고, 일부 편의를 위하여 C# 코드를 이용했지만, C++ 코드에서도 같은 기능을 구현할 수 있습니다.

프로그램 코드를 테스트해보기 위해서는 .NET 5 이상의 SDK를 설치해야 합니다. 그 다음, 이 Gist 리포지터리를 Git으로 체크아웃하고 dotnet run 명령으로 실행해봅니다.

@MattPD
MattPD / cpp.std.coroutines.draft.md
Last active July 18, 2024 08:19
C++ links: Coroutines (WIP draft)
@caiorss
caiorss / Doxyfile
Last active March 8, 2021 17:11
C++ Doxygen Detailed Example
# Doxyfile 1.8.14
# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project.
#
# All text after a double hash (##) is considered a comment and is placed in
# front of the TAG it is preceding.
#
# All text after a single hash (#) is considered a comment and will be ignored.
# The format is:
@raffienficiaud
raffienficiaud / ios_helper.cmake
Created October 1, 2018 23:17
A helper CMake file for iOS for specifying the CODESIGN identity and PROVISIONING profile
# ============================================================================
# Copyright 2018, Raffi Enficiaud.
# All rights reserved.
#
# Distributed under the OSI-approved Boost Software License 1.0. See
# https://www.boost.org/users/license.html for details.
#
# ============================================================================
# This file contains several utilities for iOS developments
@suzumura-ss
suzumura-ss / Shaders.metal
Last active July 21, 2022 12:37
Offscreen Metal rendering
#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
typedef struct
{
float4 position [[position]];
float2 texCoord;
} Vertex;
@sjones6
sjones6 / circleci_merge_target_branch.md
Created August 2, 2018 19:34
How to Merge Target Branch in CircleCI Job

Problem statement: you want to make sure that the PR branch is up-to-date with the target branch before running your CI job against it.

As a secondary concern, you don't want to run the job if there are conflicts with the target branch.

Solution:

# setup the github user
git config --global user.email $( git log --format='%ae' $CIRCLE_SHA1^! )
git config --global user.name $( git log --format='%an' $CIRCLE_SHA1^! )