property | property-label | category | |
---|---|---|---|
color | text | color | |
background-color | bg | color | |
border-color | border | color | |
border-radius | radius | shape | |
box-shadow | shadow | elevation | |
fill | fill | color | |
font-family | face | type | |
font-size | size | type | |
font-weight | weight | type |
using System.Collections.Generic; | |
using UnityEngine; | |
using LiteNetLib; | |
using LiteNetLibManager; | |
using LiteNetLib.Utils; | |
using Cysharp.Threading.Tasks; | |
using UnityEngine.Networking; | |
using System; | |
namespace MultiplayerARPG.MMO |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class Projectile : MonoBehaviour | |
{ | |
[SerializeField] private GameObject target = null; | |
private const float TURN_RATE = 0.5f; |
name: Publish a gatsby project with SFTP | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build project | |
run: | |
I created a crude comparison of the syntax of the various common Markdown extensions to have a better view on what are the most common extensions and what is the most widely accepted syntax for them. The list of Markdown flavors that I looked at was based on the list found on CommonMark's GitHub Wiki.
Flavor | Superscript | Subscript | Deletion* Strikethrough |
Insertion* | Highlight* | Footnote | Task list | Table | Abbr | Deflist | Smart typo | TOC | Math | Math Block | Mermaid |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
GFM |
body{ | |
margin: 0; | |
} | |
.grid { | |
display: grid; | |
/* # of grid rows. This will be set by JS */ | |
grid-template-rows: var(--grid-rows); | |
/* # of grid columns. This will be set by JS */ | |
grid-template-columns: var(--grid-cols); |
This is a simple bookmarklet that captures any webpage and save as png image using HTML5 technologies. Under the hood it uses HTML2Canvas to capture the webpage to canvas, then we convert the content inside this canvas element to image file.
You may copy the text below and save as bookmark. `javascript:!function()%7Bfunction%20e()%7Bthis&&this.parentNode&&this.parentNode.removeChild(this),html2canvas(document.body).then(function(e)%7Breturn%20new%20Promise(function(t)%7Be.toBlob(t)%7D)%7D).then(function(e)%7Bvar%20t=document.createElement(%22a%22);return%20t.href=URL.createObjectURL(e),t.download=document.title.replace(/%5B/%5C%7C%5C%5C%60~!@#%5C$%25%5C%5E&%5C*%5C+%5C-='%22%5C,%5C.:;%5D+/g,%22%22)+%22_%22+(new%20Date).getTime()+%22.png%22,t.click(),new%20Promise(function(e)%7BsetTimeout(10,e,t)%7D)%7D).then(function(e)%7B0===e.href.indexOf(%22blob:%22)&&(URL.revokeObjectURL(e.href),e.href=%22###%22)%7D).catch(function(e)%7Bconsole.error(e)
using UnityEngine; | |
using DunGen; | |
[RequireComponent(typeof(RuntimeDungeon))] | |
public class DoSomethingOnDungeonComplete : MonoBehaviour | |
{ | |
private RuntimeDungeon runtimeDungeon; | |
private void Awake() |