- 🔨 PhotosProcessor - Photos Processor
swift
- Shot Max - Screenshot Software
swift
- SoftwareHelper - Manage your software eazily
electron
- 🔨 macOS Assistant - A Toolbox for macOS
swift
This file contains 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
// How to use: node DownloadWeChatStickers_macOS.js | |
// Requirements: curl, node | |
// Reference: https://blog.jogle.top/2022/08/14/macos-wechat-sticker-dump/ | |
const { execSync } = require('child_process'); | |
const { randomUUID } = require('crypto'); | |
const fs = require('fs'); | |
const exec = require('child_process').exec; | |
const os = require('os'); | |
const argv = process.argv.slice(2); |
This file contains 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
# Get the owner of the repository to which you contributed (Pull Requests) | |
gh api graphql --paginate -f query=' | |
query($endCursor: String) { | |
user(login: "username") { | |
pullRequests(first: 100, after: $endCursor, states: MERGED) { | |
nodes { repository { owner { login } } } | |
pageInfo { | |
hasNextPage | |
endCursor |
This file contains 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
TypeScript 35 hrs 4 mins ███████████████▍░░░░░ 73.6% | |
CSS 8 hrs 35 mins ███▊░░░░░░░░░░░░░░░░░ 18.0% | |
JavaScript 1 hr 47 mins ▊░░░░░░░░░░░░░░░░░░░░ 3.8% | |
Vue.js 45 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.6% | |
JSON 32 mins ▏░░░░░░░░░░░░░░░░░░░░ 1.1% |
This file contains 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
''' | |
FilePath: /nx-core/Users/wibus/Desktop/求水仙花数.py | |
author: Wibus | |
Date: 2022-06-25 16:42:54 | |
LastEditors: Wibus | |
LastEditTime: 2022-06-25 19:38:36 | |
Coding With IU | |
''' | |
# 求水仙花数 | |
# 水仙花数是指一个 n 位数,它的每个位上的数字的 n 次幂之和等于它本身。 |
This file contains 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
# 分别输出百十个位数字 | |
num = input("请输入一个数字:") # 输入一个数字 | |
num = int(num) # 将字符串转换为整数 | |
# 作答区域 1. 常规运算 | |
print("---常规运算--- ps: num的类型是int") | |
print("百位数字是:", num // 100) # 取整数 | |
print("十位数字是:", num // 10 % 10) # 取余数 | |
print("个位数字是:", num % 10) # 取余数 | |
# 结束作答 |
This file contains 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
const collection1 = [ 1, 2, 3, 4 ]; | |
const collection2 = [ 1, 2, 3, 4, 5 ]; | |
// 比较两个集合的长度 | |
// 如果集合1的长度小于集合2的长度,意味着集合1有可能是集合2的子集(如果集合1的元素都在集合2中) | |
// 反之,意味着集合1有可能是集合2的父集(如果集合2的元素都在集合1中) | |
// 但是无论如何,判断长度后都需要判断是否有交集 | |
function compareLength(collection1, collection2) { | |
if (collection1.length < collection2.length) { | |
return -1; |
This file contains 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
/** | |
* ASCII - CAM | |
* Fork from @iveseenthedatk | |
* https: //hellogithub.com/onefile/code/126093303b6b414dbab9d623c957fdd4 | |
**/ | |
(() => { | |
'use strict'; | |
let interval; // 用于记录定时器的id | |
let r_layer, g_layer, b_layer; // 用于记录每个颜色通道的canvas |
This file contains 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
<html lang="en"><head> | |
<meta charset="UTF-8"> | |
<meta name="author" content="iveseenthedark"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta name="theme-color" content="#333333"> | |
<title>A S C I I C A M</title> | |
<style>#ascii-cam pre,body,html{width:100vw;height:100vh;margin:0}*{box-sizing:border-box}body{overflow:hidden;background-color:#000;color:#eee;font-family:monospace}#logo,#enable-cam-msg{transform:translate(-50%,-50%);position:absolute;left:50%;top:50%}.fade{transition:opacity 0.25s ease-in-out}#logo{line-height:1.5}#ascii-cam{opacity:0}#ascii-cam pre{position:absolute;top:0;left:0;overflow:hidden;line-height:0.6;user-select:none;mix-blend-mode:screen;font-size:1.2em;font-size:2vh}@media (max-height:50em){#ascii-cam pre{font-size:1em}}@media (min-height:60em){#ascii-cam pre{font-size:1.2em}}#ascii-cam #r-output{color:red}#ascii-cam #g-output{color:#0f0}#ascii-cam #b-output{color:#00f}#enable-cam-msg{opacity:0;font-size:3rem;background-color:white;color: |
This file contains 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
/* | |
* @FilePath: /typecho 1.2.0-rc.1/Users/wibus/Desktop/test.ts | |
* @author: Wibus | |
* @Date: 2022-04-05 18:12:47 | |
* @LastEditors: Wibus | |
* @LastEditTime: 2022-04-05 18:12:47 | |
* Coding With IU | |
*/ | |
export function execute() { | |
if (!this.parameter.parentId) { // 如果没有指定父级,则不需要进行execute |
NewerOlder