Skip to content

Instantly share code, notes, and snippets.

View Raikir-i-sh's full-sized avatar
💭
Just check{}out.format('in')

Raikir-i-sh Raikir-i-sh

💭
Just check{}out.format('in')
  • Kathmandu, Nepal
View GitHub Profile
@Raikir-i-sh
Raikir-i-sh / markdown_cheatsheet.md
Last active January 18, 2022 03:03
[Markdown Cheat Sheet] #cheatsheet

Basic Syntax

These are the elements outlined in John Gruber’s original design document. All Markdown applications support these elements.

Heading

H1

H2

H3

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@Raikir-i-sh
Raikir-i-sh / flash
Created December 26, 2020 13:31
[Flash or blink] uses - turning renderer on/off 4 time per seconds to show blink or flash-like animation. this continues for long time coz of i=1000 . the object using blink is meant to be destroyed. #manyuses
/// <summary>
/// flash the product renderer to help player pick up this object asap.
/// </summary>
private bool isFlashing = false;
IEnumerator flash() {
if(isFlashing)
yield break;
isFlashing = true;