This file contains 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
// 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; // ¯\\_(ツ)_/¯ |
This file contains 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 bash | |
# 2019 Michael de Gans | |
set -e | |
# change default constants here: | |
readonly PREFIX=/usr/local # install prefix, (can be ~/.local for a user install) | |
readonly DEFAULT_VERSION=4.5.3 # controls the default version (gets reset by the first argument) | |
readonly CPUS=$(nproc) # controls the number of jobs |
This file contains 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
# IDA (disassembler) and Hex-Rays (decompiler) plugin for Apple AMX | |
# | |
# WIP research. (This was edited to add more info after someone posted it to | |
# Hacker News. Click "Revisions" to see full changes.) | |
# | |
# Copyright (c) 2020 dougallj | |
# Based on Python port of VMX intrinsics plugin: | |
# Copyright (c) 2019 w4kfu - Synacktiv |
This file contains 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
import os | |
import sys | |
import datetime | |
from glob import glob | |
from argparse import ArgumentParser | |
# settings | |
projectNamePrefix = "vlog-" | |
presetName = "Default" # You have to define this preset by your self. <---- |
This file contains 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
#if UNITY_EDITOR | |
using System; | |
using System.Reflection; | |
using UnityEditor; | |
using UnityEngine; | |
/// <summary> | |
/// Little utility for opening a "Game" view in fullscreen. Will be opened on whatever Unity thinks is the "main" | |
/// monitor at the moment. The hotkey will toggle the window; however, if for some reason this breaks, fullscreen |
This file contains 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
## Unity ## | |
*.cs diff=csharp text | |
*.cginc text | |
*.shader text | |
*.mat merge=unityyamlmerge eol=lf | |
*.anim merge=unityyamlmerge eol=lf | |
*.unity merge=unityyamlmerge eol=lf | |
*.prefab merge=unityyamlmerge eol=lf |
This file contains 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
/* | |
* I needed a simple MJPEG Stream Decoder and I couldn't find one that worked for me. | |
* | |
* It reads a response stream and when there's a new frame it updates the render texture. | |
* That's it. No authenication or options. | |
* It's something stupid simple for readimg a video stream from an equally stupid simple Arduino. | |
* | |
* I fixed most of the large memory leaks, but there's at least one small one left. | |
*/ |
This file contains 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
@font-face { | |
font-family: SegoeUI; | |
src: | |
local("Segoe UI Light"), | |
url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.woff2) format("woff2"), | |
url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.woff) format("woff"), | |
url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.ttf) format("truetype"); | |
font-weight: 100; | |
} |
This file contains 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
// This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. | |
// To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/ | |
// or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Net.Sockets; | |
using System.Text; | |
using System.Threading; | |
using UnityEngine; |
This file contains 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
"Aalborg,Denmark,AAL" "Aarhus,Denmark,AAR" "Aasiaat,Greenland,JEG" "Abadan,Iran,ABD" "Abaiang Atoll Airport,Kiribati,ABF" "Abakan,Russia,ABA" "Abbotsford,Canada,YXX" "Abdul Rachman Saleh,Indonesia,MLG" "Abeche,Chad,AEH" "Abel Santamaria,Cuba,SNU" "Abemama Atoll Airport,Kiribati,AEA" "Aberdeen Regional Airport,United States,ABR" "Abha,Saudi Arabia,AHB" "Abidjan Felix Houphouet Boigny Intl,Cote d'Ivoire,ABJ" "Abilene Rgnl,United States,ABI" "Abraham Gonzalez Intl,Mexico,CJS" "Abraham Lincoln Capital,United States,SPI" "Abu Dhabi Intl,United Arab Emirates,AUH" "Abu Simbel,Egypt,ABS" "Acadiana Rgnl,United States,ARA" "Achmad Yani,Indonesia,SRG" "Achutupo Airport,Panama,ACU" "Adak Airport,United States,ADK" "Adams Fld,United States,LIT" "Adana,Turkey,ADA" "Adana-Incirlik Airbase,Turkey,UAB" "Addison,United States,ADS" "Adelaide Intl,Australia,ADL" "Aden Adde International Airport,Somalia,MGQ" "Aden Intl,Yemen,ADE" "Adi Sumarmo Wiryokusumo,Indonesia,SOC" "Adi Sutjipto,Indonesia,JOG" "Adirondack Regional Airport,Uni |
NewerOlder