For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
using System; | |
using UnityEngine; | |
public class Render : MonoBehaviour | |
{ | |
public static GUIStyle StringStyle { get; set; } = new GUIStyle(GUI.skin.label); | |
public static Color Color | |
{ | |
get { return GUI.color; } |
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
(() => { | |
const SHOW_SIDES = false; // color sides of DOM nodes? | |
const COLOR_SURFACE = true; // color tops of DOM nodes? | |
const COLOR_RANDOM = false; // randomise color? | |
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
const THICKNESS = 20; // thickness of layers | |
const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
@echo off | |
rem Requires Null Keyboard https://play.google.com/store/apps/details?id=com.wparam.nullkeyboard | |
rem Author: Sharun Kumar | |
setlocal ENABLEDELAYEDEXPANSION | |
for /F %%i in ('adb shell settings get system screen_brightness') do set brightness=%%i | |
for /F %%i in ('adb shell settings get secure default_input_method') do set ime=%%i | |
for /F "tokens=1,2,3,4,5,6,7,8" %%G in ('adb shell media volume --get') do ( | |
set vol=%%J |
Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.
Translations: (No guarantee that the translations are up-to-date)
// | |
// RSDimensionHuggingTextField.swift | |
// RSUIKit | |
// | |
// Created by Daniel Jalkut on 6/13/18. | |
// | |
import Cocoa | |
// You probably want to use one of RSHeightHuggingTextField or RSWidthHuggingTextField, below |
#!/usr/bin/env zsh | |
sudo rm -f /usr/bin/node | |
sudo rm -f /usr/bin/npm | |
sudo ln -s $(which node) /usr/bin/ | |
sudo ln -s $(which npm) /usr/bin/ |