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; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
[InitializeOnLoad] | |
// 大草原クラス | |
class WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW | |
{ |
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; | |
public class ProjectionMatrixSetter : MonoBehaviour { | |
Camera main; | |
[SerializeField] | |
float nearClip = 0.01f; | |
[SerializeField] | |
float farClip = 500.0f; |
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 UnityEngine.EventSystems; | |
//by Ralph Barbagallo | |
//www.flarb.com | |
//www.ralphbarbagallo.com | |
//@flarb | |
public class VRInputModule : BaseInputModule { |
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
override public func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) { | |
guard let touch = touches.first else { | |
return | |
} | |
UIGraphicsBeginImageContextWithOptions(bounds.size, false, 0.0) | |
let context = UIGraphicsGetCurrentContext() | |
image?.draw(in: bounds) | |
var touches = [UITouch]() |
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
#MicroXplorer Configuration settings - do not modify | |
File.Version=6 | |
KeepUserPlacement=false | |
Mcu.Family=STM32F1 | |
Mcu.IP0=NVIC | |
Mcu.IP1=RCC | |
Mcu.IP2=RTC | |
Mcu.IP3=SYS | |
Mcu.IP4=USB | |
Mcu.IPNb=5 |
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
diff -r 1/linux-z7213/.gitignore 2/linux-z7213/.gitignore | |
100a101,106 | |
> | |
> # for yocto recipes-kernel build | |
> arch/arm/boot/vmlinux | |
> oe-logs | |
> oe-workdir | |
> source | |
diff -r 1/linux-z7213/arch/arm/include/asm/uaccess.h 2/linux-z7213/arch/arm/include/asm/uaccess.h | |
162c162 |
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
// ==UserScript== | |
// @name ChatGPT Enter Fix (GPT4) | |
// @name:ja ChatGPT Enter Fix (GPT4) | |
// @namespace http://tampermonkey.net/ | |
// @description This Chrome/Safari extension addresses the issue where ChatGPT sends text even when the Enter key is pressed during Japanese conversion. | |
// @description:ja ChatGPTにおいて日本語IMEで変換中にEnterを押した時に送信されてしまうの問題を阻止します。 Safariにも対応。 | |
// @version 2.1 | |
// @author satosh1suzuk1, d-engine | |
// @match https://chat.openai.com | |
// @match https://chat.openai.com/* |
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
// flutter pub add nostr | |
import 'dart:convert'; | |
import 'dart:io'; | |
import 'package:nostr/nostr.dart'; | |
//自分の公開鍵(16進数。https://damus.io/key/ で変換できる) | |
const yourPubKeyHex = | |
"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"; |
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 <Arduino.h> | |
#include <M5StickC.h> | |
#include <utility/MPU6886.h> // used for accessing MPU constants | |
#include <driver/rtc_io.h> | |
void mpu6886_wake_on_motion_isr(void); // declaration of ISR | |
void mpu6886_wake_on_motion_setup(void); // declaration of setup | |
// lifted from https://github.com/m5stack/M5StickC/blob/master/src/utility/MPU6886.cpp | |
// if integrated with M5StickC library, use internal class function instead |
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
find_package(Git REQUIRED) | |
function(add_git_submodule dir) | |
# add a Git submodule directory to CMake, assuming the | |
# Git submodule directory is a CMake project. | |
# | |
# Usage: in CMakeLists.txt | |
# | |
# include(AddGitSubmodule.cmake) | |
# add_git_submodule(mysubmod_dir) |
OlderNewer