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
# My Custom Ruleset for Claude | |
# Last updated: 2025-06-25 | |
# Anthropic & Claude Core | |
DOMAIN-SUFFIX,anthropic.ai | |
DOMAIN-SUFFIX,anthropic.com | |
DOMAIN-SUFFIX,claude.ai | |
DOMAIN-SUFFIX,claude.com | |
DOMAIN-SUFFIX,claudeusercontent.com | |
DOMAIN-SUFFIX,aws-api.anthropic.com |
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
//生成随机数 | |
rand.Seed(time.Now().UnixNano()) | |
var guessNumber = rand.Intn(100) + 1 |
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
body{ | |
background: #f3f2ee; | |
font-size: 15px; | |
} | |
.zm-item-vote-count{ | |
background: #dee0e4; | |
} | |
.zg-btn-white{ | |
background: #dee0e4; | |
} |
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
/** | |
* 红包算法 | |
* 1、尽可能平均 | |
* 50 =》10 | |
* @param $money int | |
* @param $people | |
*/ | |
function redEnvelope($money, $people){ | |
$remainMoney = $money; | |
$intAvg = $money/$people; |
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
DELIMITER $$ | |
drop procedure if exists justifyGroupNum; | |
CREATE PROCEDURE `justifyGroupNum`() | |
BEGIN | |
DECLARE t_student int; | |
declare stopFlag int; | |
declare change_list CURSOR FOR SELECT student_id FROM `live_video`.`change_class_log` WHERE (`remark` LIKE '%其它,冀教版更换课程%'); | |
DECLARE CONTINUE HANDLER FOR NOT FOUND set stopFlag=1; | |
OPEN change_list; | |
getEmail: LOOP |
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
if [ -z "${EXTENSIONS##*,zookeeper,*}" ]; then | |
echo "---------- Install zookeeper ----------" | |
apk add build-base | |
mkdir /usr/local/soft && cd /usr/local/soft \ | |
&& wget https://archive.apache.org/dist/zookeeper/zookeeper-3.4.13/zookeeper-3.4.13.tar.gz \ | |
&& tar -zxvf zookeeper-3.4.13.tar.gz && cd /usr/local/soft/zookeeper-3.4.13/src/c && ./configure --prefix=/usr/local/zookeeper-lib && make && make install | |
fi | |
if [ -z "${EXTENSIONS##*,zookeeper,*}" ]; then | |
echo "---------- Install zookeeper ----------" |
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
//将一个多级数组flatten | |
array:3 [ | |
21532 => array:1 [ | |
2 => array:12 [ | |
"small_name" => "整期正价_志翔班_[1636]" | |
"admin_name" => "张晓燕" | |
"yet_class" => 0 | |
"grade" => "4" | |
"admin_phone" => "13321150766" | |
"admin_id" => "6766788" |
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
{"version":1,"resource":"file:///Users/eric/Dropbox/Src/go/donson/wisecut/memory-bank/archive/archive-directory_structure_simplification.md","entries":[{"id":"DaKI.md","timestamp":1748424324921}]} |