Check font metrics (unitsPerEm, ascent, descent and lineGap) of the font files in the specified directory.
Only works for .ttf
and .otf
(.ttc
not supported).
- Deno
- ttx (fonttool)
- dasel
extern crate unicode_segmentation; | |
use unicode_segmentation::UnicodeSegmentation; | |
use regex; | |
struct EmojiFinder { | |
re: regex::Regex, | |
} | |
impl EmojiFinder { |
/*{ | |
pixelRatio:0.5, | |
}*/ | |
precision mediump float; | |
uniform float time; | |
uniform vec2 resolution; | |
#define PI 3.141593 | |
vec2 rot(vec2 uv, float t) { |
~ β― brew install deno | |
Updating Homebrew... | |
==> Downloading https://homebrew.bintray.com/bottles/deno-1.0.0.mojave.bottle.tar.gz | |
==> Downloading from https://akamai.bintray.com/db/db9f2a4dbacb6ce16a7264ca42c7daf8ace896d9a6e05f4a01f139abddc8c2b7?__gda__=exp=1589443285~hmac=81b0bd11f99f42b4007edad1b43452439d181a92cefc1acde754149da997614b&response-content-disposition=attachment%3Bfile | |
######################################################################## 100.0% | |
==> Pouring deno-1.0.0.mojave.bottle.tar.gz | |
==> Caveats | |
Bash completion has been installed to: | |
/usr/local/etc/bash_completion.d |
#!/usr/bin/env node | |
const net = require('net'); | |
const dgram = require('dgram'); | |
if (process.argv.length !== 4) { | |
console.error(` | |
Usage: | |
node tcp2udp.js <TCP_SRC_PORT> <UDP_DST_PORT> | |
`); | |
process.exit(-1); |
Shader "Custom/DepthFade" | |
{ | |
Properties | |
{ | |
_Color ("Color", Color) = (1,1,1,1) | |
_MainTex ("Albedo (RGB)", 2D) = "white" {} | |
_Glossiness ("Smoothness", Range(0,1)) = 0.5 | |
_Metallic ("Metallic", Range(0,1)) = 0.0 | |
_DepthNear ("Depth Near", Range(0, 1000)) = 10 | |
_DepthFar ("Depth Far", Range(0, 1000)) = 200 |
Shader "Custom/SurfaceShadowCaster" | |
{ | |
Properties | |
{ | |
_Color ("Color", Color) = (1,1,1,1) | |
_MainTex ("Albedo (RGB)", 2D) = "white" {} | |
_Glossiness ("Smoothness", Range(0,1)) = 0.5 | |
_Metallic ("Metallic", Range(0,1)) = 0.0 | |
_Cutout ("Cutout", Range(0, 1)) = 0.5 | |
} |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
[ExecuteInEditMode] | |
public class Replicator : MonoBehaviour | |
{ | |
[SerializeField] Transform _prefab; | |
[SerializeField, Range(1, 300)] int _count = 1; |
/*{ | |
IMPORTED: { | |
img: { PATH: 'shit.jpg' }, | |
}, | |
}*/ | |
precision highp float; | |
uniform float time; | |
uniform vec2 resolution; | |
uniform sampler2D img; |