Skip to content

Instantly share code, notes, and snippets.

View contropist's full-sized avatar
😆
Life is fantastic!

Contropist contropist

😆
Life is fantastic!
View GitHub Profile
@jlia0
jlia0 / agent loop
Last active April 24, 2025 13:19
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet

1. 常用药物

感冒/发烧类

  • 布洛芬(退烧、止痛)
  • 对乙酰氨基酚(泰诺)

抗病毒/流感类

  • 奥司他韦(达菲,需处方)

消炎类

  • 阿莫西林(需处方)
  • 红霉素软膏(外用)
@ninehills
ninehills / chatpdf-zh.ipynb
Last active April 23, 2025 10:17
ChatPDF-zh.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lidangzzz
lidangzzz / linearRegression.hhs
Last active August 18, 2020 18:12
linearRegression.hhs
class LinearRegression {
w: Mat;
constructor() { }
//x: M-by-N matrix. M data with N dimensions. Each row is an N-dim vector
//y: M-by-1 matrix
fit(x_: Mat, y_: Mat) : LinearRegression{
let y = y_;
if (y_.rows != 1 && y_.cols == 1) {y = y_.T();} //check the dimension of y
var x = x_.resize(x_.rows, x_.cols + 1, 1); //expan x_ with one more column with 1
@nickfox-taterli
nickfox-taterli / v2ray-detect.nse
Last active March 8, 2020 09:37
vmess ws 检测脚本(配合nmap)
-- 只扫原生WS,不要太恐慌.
local stdnse = require "stdnse"
local http = require "http"
categories = { "default", "discovery", "safe" }
portrule = function(host, port)
return true
end
@nickfox-taterli
nickfox-taterli / ForwardMail.py
Last active September 5, 2020 06:53
ForwardMail
import requests
import json
import base64
import sqlite3
import zlib
import time
from datetime import datetime
from gql import gql, Client
from gql.transport.requests import RequestsHTTPTransport
@payjscn
payjscn / payjs_check_demo.php
Created July 3, 2019 10:16
PAYJS 订单查询接口 PHP DEMO
<?php
class Payjs
{
private $url = 'https://payjs.cn/api/check';
private $key = ''; // 填写通信密钥
private $mchid = ''; // 特写商户号
public function __construct($payjs_order_id=null) {
$this->payjs_order_id = $payjs_order_id;
}
@vladalive
vladalive / gdrive_download.md
Created May 16, 2019 14:38
Download Google Drive files from linux terminal via wget

Setup:

  1. Add this code to your ~/.bash_aliases file.
function gdrive_download () {
  CONFIRM=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate "https://docs.google.com/uc?export=download&id=$1" -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')
  wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$CONFIRM&id=$1" -O $2
  rm -rf /tmp/cookies.txt
}
@simonmysun
simonmysun / vs .achievement.md
Last active June 7, 2019 15:28
Visual Studio 成就系统大全,从今天起,做一个快乐的程序员,面朝成就,春暖花开!

Visual Studio 成就系统大全,从今天起,做一个快乐的程序员,面朝成就,春暖花开!

来源: 付鹏的日志

想当年WOW推出成就系统的时候,我就很不争气的沉迷了,收集了无数的宠物啊,下了无数的本啊,都是TMD痛苦回忆啊!后来WLK的时候AFK了,还挺怀念自己的5000+的成就点数的,没想到,现在微软效仿WOW,在自己的编程软件visual studio中加入了成就系统,供程序员们互相炫耀用。这必然会掀起程序员的编程上瘾的毛病,过几年也许程序员就成了精神病,需要电击了!

在这里添加上这个成就系统插件的地址:http://channel9.msdn.com/achievements/visualstudio 再附张图: 下附VS

所有成就列表:(该成就列表不全,我申请完成就系统就给了个成就,这里就没有……)彩色字体表示笔者已完成的成就,大家共勉,貌似有些成就已经不再存在于列表之中了。

# -*- coding:utf-8 -*-
# !/usr/bin/env python3
'''
Author: ayasakinagi
Email: [email protected]
环境: Python3
依赖: deluge_client
使用: 修改host, port, username, password, limitSize, dataPath变量