This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate unicode_segmentation; | |
use unicode_segmentation::UnicodeSegmentation; | |
use regex; | |
struct EmojiFinder { | |
re: regex::Regex, | |
} | |
impl EmojiFinder { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*{ | |
pixelRatio:0.5, | |
}*/ | |
precision mediump float; | |
uniform float time; | |
uniform vec2 resolution; | |
#define PI 3.141593 | |
vec2 rot(vec2 uv, float t) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ ❯ 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*{ | |
IMPORTED: { | |
img: { PATH: 'shit.jpg' }, | |
}, | |
}*/ | |
precision highp float; | |
uniform float time; | |
uniform vec2 resolution; | |
uniform sampler2D img; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/exec" | |
"path/filepath" | |
"runtime" |
NewerOlder