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
<!DOCTYPE html> | |
<html lang="zh-CN"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Qwen3-Coder-30B-A3B vs Qwen3-Coder-480B-A35B Performance Comparison</title> | |
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
<style> | |
* { |
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 os | |
from datetime import datetime | |
from urllib.request import urlopen | |
import boto3 | |
import re | |
CLAIM_PAGE = os.environ['claim_page'] | |
SNS_TOPIC = os.environ['topic_arn'] | |
EMAIL = os.environ['email'] |
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
#!/usr/bin/env python3 | |
import gi | |
import threading | |
gi.require_version('Gst', '1.0') | |
gi.require_version('GstBase', '1.0') | |
gi.require_version('Gtk', '3.0') | |
from gi.repository import GObject, Gst | |
# Initialize threads | |
GObject.threads_init() |
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
#!/usr/bin/env python3 | |
import sys | |
from PyQt4 import QtGui | |
class SystemTrayIcon(QtGui.QSystemTrayIcon): | |
def __init__(self, icon, parent=None): | |
self.event_play_click = None | |
self.event_pause_click = None | |
self.event_exit_click = None |
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
#!/usr/bin/env python3 | |
import os | |
import sys | |
import time | |
from daemonize import Daemonize | |
def main(): | |
while True: | |
time.sleep(10) |
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
#!/usr/bin/env python3 | |
import signal | |
import daemon | |
import lockfile | |
import time | |
def start(): | |
print("Initial setup") |
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
#!/usr/bin/env python3 | |
import gi | |
gi.require_version('Gst', '1.0') | |
gi.require_version('GstBase', '1.0') | |
gi.require_version('Gtk', '3.0') | |
from gi.repository import GObject, Gst | |
# Initialize threads | |
GObject.threads_init() |
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
#!/usr/bin/env python3 | |
import gi | |
import threading | |
gi.require_version('Gst', '1.0') | |
gi.require_version('GstBase', '1.0') | |
gi.require_version('Gtk', '3.0') | |
from gi.repository import GObject, Gst | |
# Initialize threads | |
GObject.threads_init() |
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
#!/usr/bin/env python3 | |
import gi | |
import threading | |
gi.require_version('Gst', '1.0') | |
gi.require_version('GstBase', '1.0') | |
gi.require_version('Gtk', '3.0') | |
from gi.repository import GObject, Gst | |
# Initialize threads | |
GObject.threads_init() |
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
#!/usr/bin/env python3 | |
def main( | |
someoption: ('Optional argument', 'option', 'o'), # Optional argument with abbreviation | |
someflag: ('Boolean flag - True if set', 'flag', 'f'), # Boolean flag | |
someint: ("Integer argument",'positional', None, float), # Explicit positional with number type | |
somestring:"String argument"='hello' # Implicit positional with default value | |
): | |
"""Example for parsing arguments with plac""" | |
print('someint value: %d' % someint) |
NewerOlder