wjswxp's repos on GitHub
Java · 37 watchers
ucas-hwk-pointer-analysis
程序分析大作业:使用 SOOT 框架,实现 Java 上的静态指针分析
Java · 20 watchers
netty-socks
A netty4-based socks5 repeater/server and shadowsocks repeater.
15 watchers
alfred-iterm2
A guide to use `>` with iTerm2 in Alfred 2.
PHP · 8 watchers
feishu-bot-sdk-php
A 3rd-party Feishu/Lark Bot SDK for PHP.
C · 7 watchers
rewine-loader
A magic DLL loader on Linux. More native, more wine.
C++ · 5 watchers
judger
Yet another judge implement for oj.
C++ · 5 watchers
leetcode-solutions
leetcode a day, offers throw away.
Java · 3 watchers
spring-cache-redis-demo
A demo showing how to use Spring Cache Annotation (spring-context) and Redis Server (spring-data-redis).
2 watchers
setup-awscli
A GitHub Action to set up aws-cli v2 in linux job.
Ruby · 1 watchers
alfred-process-killer
Process Killer is an Alfred 2 workflow that makes it easy to kill misbehaving processes. It is, in essence, a way to easily find processes by name and kill them using command `kill`.
Shell · 1 watchers
dotmy
个人开发环境配置
1 watchers
rewine-gdi-printer
Using Windows GDI Printer Drivers on Wine.
C# · 1 watchers
RunRedisAsWindowsService
Tiny C# tool to run Redis as Windows Service.
0 watchers
Advanced-Bash-Scripting-Guide-in-Chinese
Advanced Bash-Scripting Guide(Revision 10)翻译计划
0 watchers
aria2
aria2 is a lightweight multi-protocol & multi-source, cross platform download utility operated in command-line. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.
Ruby · 0 watchers
brew
:beer: The missing package manager for macOS
0 watchers
czkawka
Multi functional app to find duplicates, empty folders, similar images etc.
Rust · 0 watchers
date-cli.rs
"date" cmd alternative in rust.
Python · 0 watchers
dramatiq
A fast and reliable background task processing library for Python 3.
Java · 0 watchers
easydao
Java Package: A easy way to Spring JDBC.
0 watchers
gotify-server
A simple server for sending and receiving messages in real-time per WebSocket. (Includes a sleek web-ui)
0 watchers
hsupu.github.io
Start a remarkable life here. \(≧▽≦)/
JavaScript · 0 watchers
http2socks-js
A HTTP tunnel proxy to SOCKS proxy. in Node.js.
Python · 0 watchers
id3gbk
Convert text from GBK (disguised as latin1) to UTF-8 for ID3 tags.
Java · 0 watchers
incubator-dolphinscheduler
Dolphin Scheduler is a distributed and easy-to-extend visual workflow scheduling platform, dedicated to solving the complex dependencies in data processing, making the scheduling system out of the box for data processing.(分布式易扩展的可视化工作流任务调度)
Java · 0 watchers
junit-parallel-ext
A JUnit extension to enable parallel tests.
Vim script · 0 watchers
molokai
Molokai color scheme for Vim
Java · 0 watchers
mqc
A message queue consumer framework for Java.
C++ · 0 watchers
MSBuildMultiVcxprojSample
A sample to manage C++ Projects on Windows.
Python · 0 watchers
mutagen-gbk
Python module for handling audio metadata. Support to fix broken charset encoding.
Java · 0 watchers
mybatis-3
MyBatis SQL mapper framework for Java
0 watchers
ntfy
Send push notifications to your phone or desktop using PUT/POST
0 watchers
ntfy-cli-rtfd
🖥️📱🔔 A utility for sending notifications, on demand and when commands finish.
C · 0 watchers
odhcpd
OpenWRT DHCP Server.
Makefile · 0 watchers
openwrt-vm-tools
vmware tools open-vm-tools for OpenWRT, segfault and crashes free😊😊
0 watchers
osmc
OSMC (Open Source Media Center) is a free and open source media center distribution
Shell · 0 watchers
pgmq-installer-msys2
在 Windows 上、使用一个极小的 MSYS2 环境、搭建 PGMQ 安装器。Build a PGMQ installer with minimal MSYS2 environment on Windows.
0 watchers
pmon-ls2k
Universal PMON source for LS2K targets
0 watchers
proxylist
My Proxy List
C++ · 0 watchers
py-leveldb-windows
Forked from https://github.com/happynear/py-leveldb-windows
Python · 0 watchers
pycron
Yet another "cron" implementation written in Python.
VBScript · 0 watchers
pyenv-win
pyenv for Windows.
0 watchers
python-cron
A simple Python library providing cron functionality via the use of a single decorator.
0 watchers
Sandboxie
Sandboxie - Open Source
0 watchers
Scoop
A command-line installer for Windows.
0 watchers
SmartProxy
Firefox/Chrome browser extension. SmartProxy will automatically enable/disable proxy for the sites you visit, based on customizable patterns.
Java · 0 watchers
spring-boot-web-demo
A demo to learn Spring Boot Web.
C · 0 watchers
stlink
Open source STM32 MCU programming toolset
Java · 0 watchers
ttorrent
Turn's BitTorrent Java library (tracker and client)
Java · 0 watchers
unimqc
A uniform message queue client for Java.
Python · 0 watchers
UniUnit
C# · 0 watchers
winrun
享受用 Windows+R 切出运行菜单,输入指令打开程序的极客范吧~
0 watchers
wintun
Mirror only. Official repository is at https://git.zx2c4.com/wintun
wjswxp

wjswxp

I AM NOT A.I.
V2EX member #109718, joined on 2015-04-08 02:36:37 +08:00
软件重构工程师。
Per wjswxp's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
wjswxp's recent replies
Jan 8, 2025
Replied to a topic by cloudzhou 职场话题 大龄被裁大头兵职业感想(二)
虽然贴主主要在想业务可替代性高,我在做系统软件开发也有类似的感受,很多时候因为不是研发,只是调研一下主流技术应用上去就行。对编程技能熟练度的要求也就 3-7 年间的水平。
嗐,有些匹配但又不十分匹配,比如做过 Win32 Driver 但对 Linux Kernel 只有迁移知识。感觉远程是很难了。
Jun 20, 2023
Replied to a topic by datadump FFmpeg ffmpeg 最近大版本发布为啥这么快
突发奇想:当公告完某版本起删除废弃功能后,快速提升大版本可以迅速甩掉他们( doge
Mar 6, 2022
Replied to a topic by fengsien1999 PowerShell 现在 PowerShell 是不是没有什么用?
又想到一个例子 2333

```ps1
$files = Get-Item -Path "."
# foreach..in 和 ForEach-Object 的语法(和效率)是两回事,参见 "about_Foreach"
foreach ($file in $files) {
# 这里是和其他字符串替换略有不同的地方,pwsh 不提供单独的 ${file.Name} 写法
Write-Host "name=$($file.Name)"
}
```
Mar 6, 2022
Replied to a topic by fengsien1999 PowerShell 现在 PowerShell 是不是没有什么用?
> 个人认为用作交互式 shell 不好用,但是写脚本还是有用的

同感。pwsh 相比 bash 有参数的类型系统,不必借助 sed awk 能够处理字符串,写起来也感觉更可靠。

但语法不统一的问题,使学习过程很令人迷惑。

举几个例子:

```ps1
# 借助 C# String 类型的方法
if ([string]::IsNullOrEmpty($s)) {
$s = "default-value"
}

# 使用 PowerShell 内置操作符的写法不同 -match
if ($s -match $regex_pattern) {
# use $Matches
}

# 没有比较直觉的 "==" 而是 "-eq"(一致却不常规
if ($s -eq "sth") {
# ...
}

# 调用 PowerShell Cmdlet 的传参写法又有不同
# 为了使用内一表达式其结果(这里取反),要用 () 或 $() 包起来
if (-not (Test-Path -Path "path/to/not-exist")) {
# ...
}

# 如果想在传参时写表达式,同上,要用 () $() 包起来
$a = Join-Path -Path (Resolve-Path -Path ".") "filename"
```

```ps1
# 这里的 Add() 不 Out-Null 会 Out-Default ,如果在脚本的最外层那就是向 stdout 输出
$dict = [System.Collections.Generic.Dictionary[string, string]]::new()
$dict.Add("key", "value") | Out-Null

# pwsh 函数的返回值就是函数内的输出,参见文档 "about_Return"
function foo() {
# 赋值语句不会 Out-Default
$s = "Hello"
# 结尾没有 ";" 的表达式会 Out-Default
$s
# return 仅表示跳出
return
}
$a = foo() # "Hello"

# 但是在 PowerShell 5 起引入了 class 支持,在 class 里 return 符合常规编程语言的直觉
# 看文档吧 "about_Classes"
```
Aug 27, 2021
Replied to a topic by chencc48111 分享发现 Onenote 几个不能忍的点
OneNote 无法轻易修改内容格式,直接劝退
Jul 2, 2021
Replied to a topic by KaynWASD 问与答 极米投影仪不要升级系统!卡爆
要是有 root 的方法就好了
May 14, 2021
Replied to a topic by panky 创业组队 [搭团队] 开发 App,找后端研发加入
nulladmin at 163 dot com
Feb 26, 2021
Replied to a topic by yungo8 问与答 经常会纠结一些名词怎么办
不受管理的内存叫泄露可能是不准确,只是个惯用语?击穿也许只是形象的用法,因为也会说“把流量打到某台机器上”。对名词敏锐希望表述更精确是好事呀。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   970 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 17ms · UTC 19:01 · PVG 03:01 · LAX 12:01 · JFK 15:01
♥ Do have faith in what you're doing.