Skip to content

Instantly share code, notes, and snippets.

View sunghwan2789's full-sized avatar

Sunghwan Bang sunghwan2789

View GitHub Profile
안녕하세요. 저는 BMS 난이도표 "Stella"를 관리하고 있는 LUXURY입니다.
다름이 아니오라, BMS 플랫폼에서 만들어진 컨텐츠를 무단도용 한 건에 대해
osu의 관리자 peppy씨에게 저작권 침해 신고를 하였습니다.
이와 관련해 삭제를 승인한 상태입니다.
참고링크:
https://gist.githubusercontent.com/peppy/84402555f291eff47c257dde348e2090/raw
@sunghwan2789
sunghwan2789 / wiki-headings.css
Last active January 26, 2021 15:39
카테고리에 속하는 글을 위키 문서처럼 바꾸어 보아요 - 제목 태그 순번 매기기, 목차 만들기 를 자동으로 해드려요
.wiki-heading__collapsible {
cursor: pointer;
/* border-bottom: 1px solid #000; */
}
.wiki-heading__collapsible::before {
content: '^';
display: inline-block;
transform: translateY(-5%) rotate(180deg);
font-weight: 100;
filter: opacity(0.5);
@sunghwan2789
sunghwan2789 / 00 hosting-environment.md
Last active April 24, 2021 16:11
phpmyadmin hangs if host is '.' (NamedPipe on Windows) but it is resolved if host is '127.0.0.1' or 'localhost' (tcp/ip)
  • Windows Server 2019
  • Microsoft-IIS/10.0 - home directory: C:\inetpub\wwwroot
  • php-8.0.3-nts-Win32-vs16-x64 - install directory: C:\php
  • mariadb-10.5.9-winx64
  • phpMyAdmin-5.1.0-all-languages
BenchmarkDotNet=v0.13.2, OS=Windows 11 (10.0.22622.601)
AMD Ryzen 7 5800H with Radeon Graphics, 1 CPU, 16 logical and 8 physical cores
.NET SDK=6.0.401
  [Host]     : .NET 6.0.9 (6.0.922.41905), X64 RyuJIT AVX2
  DefaultJob : .NET 6.0.9 (6.0.922.41905), X64 RyuJIT AVX2

@sunghwan2789
sunghwan2789 / map-perf.js
Last active October 15, 2022 00:14 — forked from jung-kim/map-perf.js
es6 map vs array vs obj performance test
"use strict";
let looper = (callback) => {
let n = 2000000;
while (n > 0) {
callback(n);
n--;
}
};
using System.Linq.Expressions;
using Shouldly;
R a = new(
new int[] { 0 },
new uint[] { 1 },
new short[] { 2 },
new ushort[] { 3 },
new sbyte[] { 4 },
new byte[] { 5 }
[*.cs]
csharp_new_line_before_catch = false
csharp_new_line_before_else = false
csharp_new_line_before_finally = false
csharp_new_line_before_members_in_anonymous_types = false
csharp_new_line_before_members_in_object_initializers = false
csharp_new_line_before_open_brace = none
csharp_new_line_between_query_expression_clauses = false