Skip to content

Instantly share code, notes, and snippets.

类别 药品通用名 原研品牌
抗生素类 头孢克洛 希刻劳
头孢呋辛 西力欣
左氧氟沙星 可乐必妥
莫西沙星 拜复乐
阿奇霉素 希舒美
头孢妥仑匹酯 美爱克
抗真菌类 盐酸特比萘芬 兰美抒
奥美拉唑 洛赛克
# KiKit API: https://yaqwsx.github.io/KiKit/latest/panelization/python_api/#panel-class
import argparse
import shlex
from kikit.plugin import FiducialsPlugin, Preset
from kikit.panelize import Panel
from kikit.units import mm
from pcbnewTransition.pcbnew import VECTOR2I
@JakubPetriska
JakubPetriska / quotes.csv
Last active January 21, 2025 03:23
Motivational quotes
Author Quote
Thomas Edison Genius is one percent inspiration and ninety-nine percent perspiration.
Yogi Berra You can observe a lot just by watching.
Abraham Lincoln A house divided against itself cannot stand.
Johann Wolfgang von Goethe Difficulties increase the nearer we get to the goal.
Byron Pulsifer Fate is in your hands and no one elses
Lao Tzu Be the chief but never the lord.
Carl Sandburg Nothing happens unless first we dream.
Aristotle Well begun is half done.
Yogi Berra Life is a learning experience, only if you learn.
@bahadiraraz
bahadiraraz / Git_Commit_Freeze_Solution.md
Last active January 21, 2025 03:19
Git Commit Freeze Due to GPG Lock Issues (Solution)

Git Commit Freeze Due to GPG Lock Issues

If you encounter a problem where you cannot commit changes in Git – neither through the terminal nor via the GitHub Desktop application – the issue might be a freeze during the Git commit process. This is often caused by GPG lock issues. Below is a concise and step-by-step guide to resolve this problem.

Solution Steps

1. Check for GPG Lock Messages

Open your terminal and try to perform a GPG operation (like signing a test message). If you see repeated messages like gpg: waiting for lock (held by [process_id]) ..., it indicates a lock issue.

@MCMi460
MCMi460 / OptiFine in MultiMC.md
Last active January 21, 2025 03:18 — forked from jspanos71/OptiFine in MultiMC
How to install OptiFine in MultiMC (works with 1.20.1)

The OptiFine installer requires that your target version of Minecraft be installed in the default launcher and has been opened at least once. Do this first.

  1. Download OptiFine for your version
  2. Double-click and run using Java (you may need to install a version of Java)
  3. Select "Extract OptiFine"
    • This will put the extracted file of OptiFine in your Downloads folder.
    • Newer versions of Minecraft will require some finagling. Click to reveal these steps.
@rproenca
rproenca / Clipboard.js
Last active January 21, 2025 03:16
Copy text to clipboard using Javascript. It works on Safari (iOS) and other browsers.
window.Clipboard = (function(window, document, navigator) {
var textArea,
copy;
function isOS() {
return navigator.userAgent.match(/ipad|iphone/i);
}
function createTextArea(text) {
textArea = document.createElement('textArea');
{
".123" : "application/vnd.lotus-1-2-3",
".3dml" : "text/vnd.in3d.3dml",
".3g2" : "video/3gpp2",
".3gp" : "video/3gpp",
".a" : "application/octet-stream",
".aab" : "application/x-authorware-bin",
".aac" : "audio/x-aac",
".aam" : "application/x-authorware-map",
".aas" : "application/x-authorware-seg",
@b0gdanw
b0gdanw / Get-Sequoia-InstallAssistant-pkg-links-from-Apple.sh
Created December 11, 2024 20:17
Get Sequoia InstallAssistant.pkg links from Apple
@bizz84
bizz84 / update-android-project.sh
Created November 18, 2024 09:17
Script to update Gradle, Java and other Android project settings in a Flutter project
#!/bin/bash
# Update Gradle, Java and other Android project settings in a Flutter project
# See: https://gradle.org/releases/
DESIRED_GRADLE_VERSION="8.9"
# Build errors often show the required Java version
DESIRED_JAVA_VERSION="17"
# See: https://developer.android.com/ndk/downloads
DESIRED_NDK_VERSION="27.0.12077973"
# The minimum Android SDK version