Skip to content

Instantly share code, notes, and snippets.

View aprius's full-sized avatar
⛱️
Nếu như lần đầu gặp mặt Ai sẽ vì ai mà quay đầu

Aprius aprius

⛱️
Nếu như lần đầu gặp mặt Ai sẽ vì ai mà quay đầu
View GitHub Profile
@hamzahamidi
hamzahamidi / open-cmder-here.md
Last active September 21, 2025 19:20
"Open Cmder Here" in context menu

"Open Cmder Here" in context menu

Edit 04/2021:

As of the lastest versions, just execute the following command .\cmder.exe /REGISTER ALL per Documentation.

Original Solution

To add an entry in the Windows Explorer context menu to open Cmder in a specific directory, paste this into a OpenCmderHere.reg file and double-click to install it.

/*
MIT License
Copyright (c) 2019 Yoshitaka Kimisaki
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@HAliss
HAliss / CurveDissolve.shader
Last active June 7, 2022 17:26
Creates a monochromatic texture with color values from a given animation curve
Shader "Custom/CurveDissolve"
{
Properties
{
_Color ("Color", Color) = (1,1,1,1)
_MainTex ("Albedo (RGB)", 2D) = "white" {}
_Noise("Noise", 2D) = "white" {}
_CurveTexture("Curve texture", 2D) = "white" {}
_Cutoff("Cutoff", Range(0,1)) = 0
_Glossiness ("Smoothness", Range(0,1)) = 0.5
@aprius
aprius / .gitignore
Last active November 5, 2022 10:21
Unity gitignore
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# =============== #
# Unity generated #
@yfakariya
yfakariya / MicrosoftExtensionsDependencyInjectionDeepDive.md
Created November 4, 2019 11:47
Deep dive of Microsoft.Extensions.DependencyInjection in Japanese

Microsoft.Extensions.DependencyInjection Deep Dive

そんなに深くない気がしますが。Microsoft.Extensions.DependencyInjection の DI についてざっくりまとめた記事です。なお、長いので、Microsoft.Extensions.DependencyInjectionM.E.DI と略します。

例によって、公式ドキュメント にすべて書いてある、はずですが、ここでは少し別の観点でまとめてみます。また、ドキュメントに書いてない(と思う)内部実装についてもいくつか書いてあります。

使い方

  • IServiceCollection の拡張メソッドを使用して、フレームワークやランタイムが提供する IServiceCollection の実装に対して登録していきます。
  • IServiceCollectionServiceDescriptor というサービスについてのスペックを表すオブジェクトのコレクションである。ServiceDescriptor はサービス型をキーにして、ライフタイムと実装を持ちます。
@aprius
aprius / upm
Last active February 1, 2023 07:06
-feat: new feature (minor increase ex: 1.0.0 to 1.1.0)
-fix: bug fix (patch increase ex: 1.0.0 to 1.0.1)
-add: add new file, script ...
-remove: remove file, remove method
-update: update name method, name file, name ....
@TigerHix
TigerHix / link.xml
Created March 29, 2020 19:25
Unity link.xml for LiteDB 5.0.5
@MeowKim
MeowKim / addressable_asset.md
Last active February 21, 2025 11:33
Guide for Unity Addressable Asset System.

📝 About

Guide for Unity Addressable Asset System.
Check out this sample code repo.

This guide supports languages below.

Created: 2020-07-03
Last updated: 2020-08-26 minor typo correction

marp theme class
true
default

Overlays API


@aprius
aprius / admob-mediation.json
Last active March 12, 2023 09:39
admob-mediation
[
{
"name": "ADCOLONY_NETWORK",
"displayName": "AdColony",
"versions": [
"2.6.1"
],
"path": "https://dl.google.com/googleadmobadssdk/mediation/unity/adcolony/AdColonyUnityAdapter-{0}.zip",
"dependenciesFilePath": "GoogleMobileAds/Editor/AdColonyMediationDependencies.xml",
"pluginFilePath": [