Skip to content

Instantly share code, notes, and snippets.

View hu-qi's full-sized avatar
🏠
Working from home

huqi hu-qi

🏠
Working from home
  • Canton
  • 04:47 (UTC +08:00)
  • X @huqii
View GitHub Profile
@hu-qi
hu-qi / ⚡️ Recent activity
Last active May 5, 2024 20:45
⚡️ Recent activity
🗣 Commented on #27 in kaiyuanshe/2023-China-Open-Source-Report
❌ Closed PR #27 in kaiyuanshe/2023-China-Open-Source-Report
💪 Opened PR #27 in kaiyuanshe/2023-China-Open-Source-Report
💪 Opened PR #6633 in PaddlePaddle/docs
🗣 Commented on #6614 in PaddlePaddle/docs
@hu-qi
hu-qi / handle_data.py
Last active July 22, 2023 16:14
The UAV-Human dataset contains 155 action classes, and the action categories are listed below:
import os
import shutil
import json
import tqdm
def copy_files(source_dir='all_rgb',label='smoke'):
# 指定你想要扫描视频的目录
source_dir = './' + source_dir
# 指定你想要复制视频的目录
target_dir = './' + label
@hu-qi
hu-qi / sealos-install.sh
Last active July 19, 2023 02:42
Sealos is a Kubernetes distribution offering comprehensive solutions for both public and private clouds.
#!/bin/sh
# Copyright © 2023 sealos.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@hu-qi
hu-qi / getBaiduImageInBigPic.py
Created April 7, 2023 06:49
Generate a photo gallery of your favorite stars.
import re
import os
import requests
import tqdm
import time
headers = {
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36',
"Cookie": "BDqhfp=%E5%88%98%E4%BA%A6%E8%8F%B2%26%26NaN-1undefined%26%268976%26%2612; BIDUPSID=35317AAD04D05FDEDB9BACFC678F5849; PSTM=1657272836; BAIDUID=35317AAD04D05FDEDB9BACFC678F5849:SL=0:NR=50:FG=1; H_WISE_SIDS=110085_189755_194530_204912_209568_210322_211435_211986_212295_213039_214798_215730_216212_216843_216942_218549_219248_219404_219473_219581_219623_219943_219946_220017_220071_220610_220663_220864_221120_221410_221479_221502_222298_222397_222522_222625_223064_223211_223374_223683_224055_224436_224457_224633_224877_225636_225859_226014_226026_226088_226102_226294_226547_226578_226598_226627_226722_226755_226936_226946_227062_227063_227066_227155_227187_227241_227264_227378_227489_227515_227580_227591_227613_227657_227732_227746_227864_227896_227920_227932_227971_228132_228139_228575_22864
Markdown 3 hrs 2 mins ███████████░░░░░░░░░░ 53.0%
reStruc... 1 hr 37 mins █████▉░░░░░░░░░░░░░░░ 28.3%
JavaScript 46 mins ██▊░░░░░░░░░░░░░░░░░░ 13.4%
SCSS 11 mins ▋░░░░░░░░░░░░░░░░░░░░ 3.4%
Vue.js 3 mins ▏░░░░░░░░░░░░░░░░░░░░ 1.0%
@hu-qi
hu-qi / App.web.tsx
Last active April 19, 2022 08:07 — forked from arrygoo/App.web.tsx
React Native Web configuration
import React, {useState} from 'react';
import {View, Text, TouchableOpacity, StyleSheet} from 'react-native';
const App = () => {
const [count, setCount] = useState(0);
return (
<View style={styles.container}>
<Text style={styles.title}>Hello from {'\n'}React Native Web!</Text>
<TouchableOpacity
onPress={() => setCount(count + 1)}
@hu-qi
hu-qi / Loner_CLA
Last active September 8, 2020 07:50 — forked from CLAassistant/SAP_CLA
Loner Individual Contributor License Agreement
### Loner Individual Contributor License Agreement
Thank you for your interest in contributing to open source software projects (“Projects”) made available by Loner SE or its affiliates (“SAP”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to SAP in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact opensource@sap.com.
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.
**Copyright License.** You hereby grant, and agree to grant, to Loner a non-exclusive, perpetual, irrevocable, w
{
"fromXianzhe": [{
"id": "0000",
"details": [
["很高兴遇见你"]
],
"responses": [{
"content": "我也是!",
"nextXianzhe": ["0003"]
}, {
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
div{
margin: 100px auto;
width: 200px;
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
div{
margin: 100px auto;
width: 200px;