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
// NOTE: For an actively-maintained version of this script, see https://github.com/mminer/consolation. | |
using System.Collections.Generic; | |
using UnityEngine; | |
/// <summary> | |
/// A console to display Unity's debug logs in-game. | |
/// </summary> | |
public class Console : MonoBehaviour | |
{ |
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
fizz = function f() { | |
fizz = function () { | |
fizz = function () { | |
fizz = f | |
return "Fizz" | |
} | |
} | |
} | |
buzz = function f() { |
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
using UnityEngine; | |
using System.Collections; | |
using UnityEditor; | |
using System.IO; | |
/// <summary> | |
// ScriptableObjectをプレハブとして出力する汎用スクリプト | |
/// </summary> | |
// <remarks> | |
// 指定したScriptableObjectをプレハブに変換する。 |
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
--- DAP_config.h.orig 2013-04-02 16:54:01.248627100 +0900 | |
+++ DAP_config.h 2013-03-31 13:48:38.999248900 +0900 | |
@@ -38,6 +38,7 @@ | |
//#include <LPC43xx.H> // Debug Unit Cortex-M Processor Header File | |
#include <LPC11Uxx.h> | |
+#include "gpio.h" | |
/// Processor Clock of the Cortex-M MCU used in the Debug Unit. | |
/// This value is used to calculate the SWD/JTAG clock speed. |
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
#nowarn "9" | |
module private Internals = | |
open System.Runtime.InteropServices | |
type CRED_TYPE = | |
| GENERIC = 1 | |
| DOMAIN_PASSWORD = 2 | |
| DOMAIN_CERTIFICATE = 3 |
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
/*************************************************************************** | |
* Copyright (C) 2013 Cosmin Gorgovan * | |
* cosmin [at] linux-geek [dot] org * | |
* * | |
* This program is free software; you can redistribute it and/or modify * | |
* it under the terms of the GNU General Public License as published by * | |
* the Free Software Foundation; either version 2 of the License, or * | |
* (at your option) any later version. * | |
* * | |
* This program is distributed in the hope that it will be useful, * |
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 sys,os | |
import curses | |
def draw_menu(stdscr): | |
k = 0 | |
cursor_x = 0 | |
cursor_y = 0 | |
# Clear and refresh the screen for a blank canvas | |
stdscr.clear() |
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
[ | |
{ | |
"name": "Z70 Pro (ANSI 3.0/3.0)" | |
}, | |
[ | |
"Esc", | |
"!\n1\n\n\nf1", | |
"@\n2\n\n\nf2", | |
"#\n3\n\n\nf3", | |
"$\n4\n\n\nf4", |
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 numpy as np | |
import random | |
import math | |
import cv2 | |
from PIL import Image | |
import sys | |
def detect_markers(im): | |
markers = [] | |
# 輪郭線抽出のための二値化 |
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
#include <M5Stack.h> | |
#include <WiFiClientSecure.h> | |
WiFiClientSecure client; | |
const char* ssid = "your SSID"; // WiFi SSID | |
const char* password = "your WiFi password"; // WiFi PW | |
const char* host = "host name (e.g. example.azurewebsites.net)"; | |
const char* path = "url (e.g. /api/EnvMonitor?code=AAA==)"; |
OlderNewer