Skip to content

Instantly share code, notes, and snippets.

@wangshizhan
wangshizhan / README.md
Created June 25, 2023 03:23 — forked from maboloshi/README.md
[Mac下配置Aria2] #macOS #aria2

Mac下配置Aria2

安装和设置 Aria2

# 使用 Homebrew 安装 aria2
brew install aria2

# 创建配置文件aria2.conf和空对话文件aria2.session
mkdir ~/.aria2 && cd ~/.aria2
touch aria2.conf
import java.util.function.*;
import java.util.*;
class TestClass {
public static void main(String[] args) {
// 匿名内部类、lambda表达式、方法引用
accept(200, (x) -> System.out.println(x));
Random r = new Random();
# -----------------------------------------------------------------------------
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You 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
#