You want to import file A.py
in file B.py
, these two files are in the same folder, like this:
.
├── A.py
└── B.py
const Discord = require("discord.js"); | |
const client = new Discord.Client(); | |
const config = require("./config.json"); // config from file | |
/* example config.json: | |
{ | |
"token": "abcdefghijklmnopqrstuvwxyz", // user or bot token, | |
"listenTo": ["167423382697148416", "353615025589714946", "210321071511961600"], // list of channel OR guild id's |
// ==UserScript== | |
// @name noVNC Paste for Proxmox | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2a | |
// @description Pastes text into a noVNC window (for use with Proxmox specifically) | |
// @author Chester Enright | |
// @match https://* | |
// @include /^.*novnc.*/ | |
// @require http://code.jquery.com/jquery-3.3.1.min.js | |
// @grant none |
<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); | |
/* load the MX_Router class */ | |
require APPPATH."third_party/MX/Router.php"; | |
class MY_Router extends MX_Router { | |
function _set_routing() | |
{ | |
// Are query strings enabled in the config file? Normally CI doesn't utilize query strings |
-enable-experimental-feature NoncopyableGenerics
# Version 2.4 | |
# 05/02/2024 | |
# Adjust as needed. | |
input-ar-delay = 500 | |
input-ar-rate = 20 | |
keep-open = yes | |
keep-open-pause = no | |
osd-duration = 1500 |
#!/bin/bash | |
set -e | |
brew install llvm libomp python@3.11 | |
export CC=$(brew ls --verbose llvm | grep -e 'bin/clang$') | |
export CXX=$(brew ls --verbose llvm | grep -e 'bin/clang++$') | |
git clone https://github.com/comfyanonymous/ComfyUI.git | |
cd ComfyUI | |
python3.11 -m venv venv |
#if UNITY_EDITOR | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
using System.Reflection; | |
public class EditorFontSize : EditorWindow | |
{ | |
// enable resize on launch to set a default font size , using this option will disable the ability to have the window accassible |
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk | |
index 18f8b0bbfc..4ef3e230e4 100644 | |
--- a/builddefs/common_features.mk | |
+++ b/builddefs/common_features.mk | |
@@ -878,6 +878,10 @@ ifeq ($(strip $(JOYSTICK_ENABLE)), yes) | |
endif | |
endif | |
+ifeq ($(strip $(APPLE_FN_ENABLE)), yes) | |
+ OPT_DEFS += -DAPPLE_FN_ENABLE |
UPDATED: 2024-05-02