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
@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
@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
@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
@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.

1. 常用药物

感冒/发烧类

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

抗病毒/流感类

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

消炎类

  • 阿莫西林(需处方)
  • 红霉素软膏(外用)
@jlia0
jlia0 / agent loop
Last active April 25, 2025 02:21
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