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 React from "react"; | |
import Head from "next/head"; | |
import Script from "next/script"; | |
import { Partytown } from "@builder.io/partytown/react"; | |
export interface GoogleAnalyticsProps { | |
measurementId: string; | |
} | |
export const GoogleAnalytics: React.FC<GoogleAnalyticsProps> = ({ |
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
// Parallax Manager made by SushiWaUmai | |
// Check out the gist at https://gist.github.com/SushiWaUmai/cd5c014755f68683558642b1cf479942 | |
// Also checkout my account on GitHub https://github.com/SushiWaUmai | |
using UnityEngine; | |
namespace Parallax | |
{ | |
#if UNITY_EDITOR | |
using UnityEditor; | |
public class IsSortingLayerAttribute : PropertyAttribute { } |
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 random | |
import time | |
from art import text2art | |
import argparse | |
import math | |
def create_problem(min_num, max_num): | |
# choose a random operator | |
op = random.choice(['+', '-']) |
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 FirstPersonController : MonoBehaviour | |
{ | |
[SerializeField] private float _speed = 5; | |
[SerializeField] private float _sensitivity = 1; | |
[SerializeField] private float _clampRot = 85; | |
[SerializeField] private bool _lockCursor = true; | |
[SerializeField] private float _cameraSmoothing = 0.25f; |
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
const createWidget = (img, url) => { | |
let w = new ListWidget(); | |
w.backgroundImage = img; | |
w.url = url; | |
return w; | |
}; | |
const main = async () => { | |
const type = args.widgetParameter ?? "sfw/waifu"; |