This file contains hidden or 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 <iostream> | |
#include <string> | |
#include <cmath> | |
#include <iomanip> | |
long double e = 1.0; | |
long double term = 1.0; | |
int i = 1; | |
long double precision = 1.0e-10; | |
bool flag_found = false; |
This file contains hidden or 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 serial | |
import time | |
import logging | |
import sys | |
logging.basicConfig(level=logging.DEBUG, | |
format='%(asctime)s - %(levelname)s - %(message)s', | |
handlers=[ | |
logging.StreamHandler(sys.stdout), | |
logging.FileHandler('switch_config.log') |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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) 1993-2009 Microsoft Corp. | |
# | |
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows. | |
# | |
# This file contains the mappings of IP addresses to host names. Each | |
# entry should be kept on an individual line. The IP address should | |
# be placed in the first column followed by the corresponding host name. | |
# The IP address and the host name should be separated by at least one | |
# space. | |
# |
This file contains hidden or 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
https://arduino.esp8266.com/stable/package_esp8266com_index.json, https://espressif.github.io/arduino-esp32/package_esp32_index.json, https://mcudude.github.io/MightyCore/package_MCUdude_MightyCore_index.json, https://github.com/SpenceKonde/DxCore, http://drazzy.com/package_drazzy.com_index.json, https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json, https://adafruit.github.io/arduino-board-index/package_adafruit_index.json |
This file contains hidden or 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 <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <fcntl.h> | |
#include <linux/i2c-dev.h> | |
#include <sys/ioctl.h> | |
#include <ncurses.h> | |
#define NUNCHUCK_ADDR 0x52 // Wii Nunchuck I2C address |
This file contains hidden or 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
Add this line to your environment | |
- "EXTENSIONS_GALLERY={\"serviceUrl\": \"https://marketplace.visualstudio.com/_apis/public/gallery\", \"cacheUrl\": \"https://vscode.blob.core.windows.net/gallery/index\", \"itemUrl\": \"https://marketplace.visualstudio.com/items\"}" | |
Docker compose up and all of the official extensions will appear! |
This file contains hidden or 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
{ | |
"bookmarks": { | |
"CB 1": { | |
"bandwidth": 12500, | |
"frequency": 476425000, | |
"mode": 2 | |
}, | |
"CB 2": { | |
"bandwidth": 12500, | |
"frequency": 476450000, |
This file contains hidden or 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
;===== machine: P1S ======================== | |
;===== date: 20231107 ===================== | |
;===== turn on the HB fan & MC board fan ================= | |
M104 S75 ;set extruder temp to turn on the HB fan and prevent filament oozing from nozzle | |
M710 A1 S255 ;turn on MC fan by default(P1S) | |
;===== reset machine status ================= | |
M290 X40 Y40 Z2.6666666 | |
G91 | |
M17 Z0.4 ; lower the z-motor current | |
G380 S2 Z30 F300 ; G380 is same as G38; lower the hotbed , to prevent the nozzle is below the hotbed |
This file contains hidden or 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
{ | |
"bookmarks": { | |
"SYDNEY CENTRE 124.55": { | |
"bandwidth": 7025.76112412178, | |
"frequency": 124550000.0, | |
"mode": 2 | |
}, | |
"SYDNEY CENTRE 125.8": { | |
"bandwidth": 7025.76112412178, | |
"frequency": 125800000.0, |