Discover gists
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 outlines | |
import os | |
from pydantic import BaseModel, Field | |
from transformers import AutoTokenizer | |
model_str = 'Qwen/Qwen2.5-7B-Instruct-1M' | |
model = outlines.models.transformers( | |
model_str, | |
device='cuda' | |
) |
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
Pipeline still running ... | |
PipelineRun is still running: Tasks Completed: 24 (Failed: 0, Cancelled 0), Incomplete: 1, Skipped: 7 | |
[set-github-started-label : post-comment] + EXTRA_ARGS= | |
[set-github-started-label : post-comment] + [[ ! -z operator-release-pipeline/started ]] | |
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --add-labels operator-release-pipeline/started' | |
[set-github-started-label : post-comment] Editing GitHub labels to PR https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/5922 | |
[set-github-started-label : post-comment] + [[ ! -z pipeline/trigger-release ]] | |
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --remove-labels pipeline/trigger-release' | |
[set-github-started-label : post-comment] + [[ true == \t\r\u\e ]] | |
[set-github-started-label : post-comment] + EXTRA_ARGS+=' --remove-matching-namespace-labels' |
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
#include <Adafruit_GFX.h> | |
#include <Adafruit_ST7735.h> | |
#include <ChronosESP32.h> | |
// Button pins | |
#define BTN_UP 12 | |
#define BTN_DOWN 13 |
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
#!/bin/bash | |
# use tmux to output ping and tracepath to the same address on left and right panels or windows | |
# Pass the argument to the two scripts | |
HOST=$1 | |
tmux new-session \; split-window -h \; send-keys "ping -c 20 $HOST" C-m \; select-pane -t 0 \; send-keys "tracepath $HOST" C-m |
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
2025-02-07 20:02:08,958 5604 [DEBUG] - XmlConfiguration is now operational | |
2025-02-07 20:02:09,110 5604 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-07 20:02:09,110 5604 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2025-02-07 20:02:09,128 5604 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-07 20:02:09,128 5604 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco' | |
2025-02-07 20:02:09,128 5604 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2025-02-07 20:02:09,140 5604 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco' | |
2025-02-07 20:02:09,140 5604 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-07 20:02:09,140 5604 [DEBUG] - Adding new typ |
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
Option Explicit | |
Sub FindCombinationOptimized() | |
' --- Declare all variables at the procedure level --- | |
Dim ws As Worksheet | |
Dim targetSum As Double | |
Dim debitCredit As String | |
Dim lastRow As Long | |
Dim accountsColl As Collection, typesColl As Collection | |
Dim i As Long, cellVal As Variant |
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
2025-02-07 20:00:08,421 5604 [DEBUG] - XmlConfiguration is now operational | |
2025-02-07 20:00:08,559 5604 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-07 20:00:08,576 5604 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2025-02-07 20:00:08,576 5604 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-07 20:00:08,576 5604 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco' | |
2025-02-07 20:00:08,576 5604 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2025-02-07 20:00:08,593 5604 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco' | |
2025-02-07 20:00:08,593 5604 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-07 20:00:08,593 5604 [DEBUG] - Adding new typ |
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
id | station | stationid | value | unit | obstime | date | |
---|---|---|---|---|---|---|---|
0 | 流浮山 | RF001 | 0 | mm | 2025-02-08T03:45:00+08:00 | 2025-02-08 | |
1 | 湿地公园 | RF002 | 0 | mm | 2025-02-08T03:45:00+08:00 | 2025-02-08 | |
2 | 水边围 | N12 | 0 | mm | 2025-02-08T03:45:00+08:00 | 2025-02-08 | |
3 | 石岗 | RF003 | 0 | mm | 2025-02-08T03:45:00+08:00 | 2025-02-08 | |
4 | 大美督 | RF004 | 0 | mm | 2025-02-08T03:45:00+08:00 | 2025-02-08 | |
5 | 大埔墟 | RF005 | 0 | mm | 2025-02-08T03:45:00+08:00 | 2025-02-08 | |
6 | 北潭涌 | RF006 | 0 | mm | 2025-02-08T03:45:00+08:00 | 2025-02-08 | |
7 | 滘西洲 | RF007 | 0 | mm | 2025-02-08T03:45:00+08:00 | 2025-02-08 | |
8 | 西贡 | N15 | 0 | mm | 2025-02-08T03:45:00+08:00 | 2025-02-08 |
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
<h1>I am beautiful 3</h1> | |
<button onclick="console.log(1)">neener</button> |