Discover gists
void main() async { | |
WidgetsFlutterBinding.ensureInitialized(); | |
await Firebase.initializeApp( | |
options: DefaultFirebaseOptions.currentPlatform, | |
); | |
await NotificationService.instance.initialize(); | |
//YOUR OTHER CODE CAN COME IN HERE | |
runApp(const MyApp()); |
For typical use cases, I prefer using nvitop
to view detailed information. This script offers a dependency-free implementation.
The script enhances the functionality of nvidia-smi
and provides the following info:
Username
full process Command
GPU ID
PID
This is useful on multi-user servers and can be used to quickly identify which user is using the GPU and running what kind of program.
#define STOP_EXTRACTION_WHEN_WINDOW_CLOSED | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.IO.Compression; | |
using System.Reflection; | |
using System.Text; | |
using System.Threading; | |
using UnityEditor; |
""" | |
A micro event loop library implementation from scratch. | |
This library provides a minimal but feature-complete asynchronous event loop | |
implementation for educational purposes. It demonstrates the core concepts of | |
asynchronous programming including: | |
- Task scheduling and management | |
- I/O multiplexing with non-blocking sockets | |
- Timeouts and sleep functionality |
╭────────────────────────────────────────────╮ | |
│ ✻ Welcome to Claude Code research preview! │ | |
│ │ | |
│ /help for help │ | |
│ │ | |
│ cwd: /Users/v/vic/dev/IC │ | |
╰────────────────────────────────────────────╯ | |
! cat InteractionCalculus.md |
- First, you need to open cmd in the admin mode, then run all commands below one by one.
- For x86 and x64
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
cd /d %ProgramFiles%\Microsoft Office\Office16
<!DOCTYPE html> | |
<html lang="zh-CN"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>笔记卡片生成器</title> | |
<!-- Tailwind CSS CDN --> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<!-- HTML2Canvas 导出功能 --> | |
<script src="https://html2canvas.hertzen.com/dist/html2canvas.min.js"></script> |
ONLY do this if you understand what this script does and when you are sure that this method is applicable to your card!!!
I'm not responsible for your doings! You are flashing the firmware of your ethernet card, in the worst case you endup with a soft- or even hardbricked card! Also this might void your warrenty.
Having said this, if you are uncertain if this will work for your card be sure to dump the ROM with a RPI, RPI Pico or 3.3v moded SPI-Flash Programmer: