中文名:赵京松,英文名:ratazzi
年龄:25,性别:男
高中毕业后自学 PHP 以及 Linux 等开源技术,至今 PHP 工作经验1年半,Python 工作经验一年。熟练使用 Linux(三年的使用经验),现在主力是 Mac OS X。自学能力较强,英语能力良好,现正恶补英语。为成为靠谱的程序员持续努力。
| # ~/.mise.toml | |
| # mise run cc | |
| # mise run cc-glm | |
| [tasks.cc] | |
| description = "Claude Code" | |
| run = "SHELL=/bin/bash claude" | |
| [tasks.cc-glm] | |
| description = "Claude Code with GLM" |
| import glob | |
| import platform | |
| import unicodedata | |
| from pathlib import Path | |
| filename = str(Path(".") / 'Café.txt') | |
| open(filename, 'w').write('test') | |
| open(unicodedata.normalize('NFKD', filename), 'w').write('test') | |
| print(platform.platform()) |
| # Javascript Node CircleCI 2.0 configuration file | |
| # | |
| # Check https://circleci.com/docs/2.0/language-javascript/ for more details | |
| # | |
| version: 2 | |
| jobs: | |
| build: | |
| docker: | |
| # specify the version you desire here | |
| - image: circleci/node:7.10 |
| #!/bin/sed -nf | |
| # sedtris.sed - sed tetris | |
| # 26th of May, 2008 | |
| # Julia Jomantaite <[email protected]> | |
| 1{ | |
| s/.*/ 2a2a2a2a|3a3a3a3a3a3a3a3a3a3a|2a2a2a2a~/ | |
| s/[^~]*~$/&&&/ | |
| s/.*/& 2a2a2a2a|0a0a0a0a0a0a0a0a0a0a|2a2a2a2a~/ | |
| s/[^~]*~$/&&&&&&&&&&&&&&&&&&&&/ | |
| s// 2a2a2a2a|4a4a4a4a4a4a4a4a4a4a|2a2a2a2a~/ |
| #!/usr/bin/env ruby | |
| require 'rubygems' | |
| require 'xcodeproj' | |
| name = 'test_copy' | |
| proj = Xcodeproj::Project.open('test.xcodeproj') | |
| src_target = proj.targets.find { |item| item.to_s == 'test' } |
| #!/usr/bin/env ruby | |
| def abs_path(path) | |
| File.symlink?(path) ? File.readlink(path) : path | |
| end | |
| apps = [ | |
| ["/Library/Input Methods/Squirrel.app", "squirrel", false], | |
| ["{/,#{ENV['HOME']}/}Applications/Dropbox.app", "dropbox", false], | |
| ["{/,#{ENV['HOME']}/}Applications/Alfred 2.app", "alfred", false], |
| <?php | |
| /** | |
| * 用于 Mac OS X 系统的 Automatic Proxy Configuration | |
| * 因为 Firefox,Chrome 需要使用 SOCKS5 而 Safari 及其他程序只认 SOCKS,所以这样区分 | |
| * 也可以简单的使用 return "SOCKS5 127.0.0.1:7777;SOCKS 127.0.0.1:7777"; 这种方式 | |
| */ | |
| $proxy = 'SOCKS'; | |
| $matches = array(); | |
| preg_match('/(Firefox|Chrome)/', $_SERVER['HTTP_USER_AGENT'], $matches); | |
| if (!empty($matches)) { |
| src/openvpn/ssl.c | |
| 2598- | |
| 2599- /* get opcode and key ID */ | |
| 2600- { | |
| 2601- uint8_t c = *BPTR (buf); | |
| 2602- op = c >> P_OPCODE_SHIFT; | |
| 2603: key_id = c & P_KEY_ID_MASK; | |
| 2604- } |
| # Makefile for dict | |
| # | |
| # [email protected] | |
| # | |
| define zipheader | |
| #!/bin/bash | |
| PYTHON=$$(which python 2>/dev/null) | |
| if [ ! -x "$${PYTHON}" ]; then | |
| echo "Python executable not found" |