首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏向治洪

    腾讯开源柠檬 Lemon

    今天我们给大家介绍的是,腾讯的柠檬Lemon清理工具。Lemon是腾讯的免费清理工具,功能完全可以秒杀CleanMyMac,并在,最近Lemon还开源了,大家可以下载下来自行扩展。 简单来讲就是,柠檬清理是一个小团队,能力和精力都有限,出于对国内开发者的信任,团队决定开源 Lemon,一起把它做得更好。

    1.4K10编辑于 2022-08-11
  • 来自专栏Golang语言社区

    从Docker源码学习Go——指针和Structs - lemon_bar

    default: fmt.Println("other type %v", v) } } } func showFunctionMultiInterfaceParameters() { lemon.PrintType (5, "aaaa") var2 := []interface{}{6, 7, 9, "bbb", "ccc"} lemon.PrintType(var2...) } 注:需要在方法内部判断类型,之后进行操作

    82240发布于 2018-03-20
  • 来自专栏精益码农

    Abp vnext构建API接口服务

    /Lemon.UserCenter.HttpApi.Hosting.csproj dotnet sln Lemon.UserCenter.sln add Lemon.UserCenter.HttpApi /Lemon.UserCenter.HttpApi.csproj dotnet sln Lemon.UserCenter.sln add Lemon.UserCenter.Application/Lemon.UserCenter.Application.csproj dotnet sln Lemon.UserCenter.sln add Lemon.UserCenter.Domain/Lemon.UserCenter.Domain.csproj dotnet sln Lemon.UserCenter.sln add Lemon.UserCenter.EntityFrameworkCore/Lemon.UserCenter.EntityFrameworkCore.csproj Lemon.UserCenter.HttpApi/Lemon.UserCenter.HttpApi.csproj dotnet add Lemon.UserCenter.HttpApi.Hosting

    1.7K40发布于 2020-04-16
  • 来自专栏非典型性程序员

    挑战30天学完Python:Day5数据类型-列表list

    [1:] print(orange_mango_lemon) # ['orange', 'mango', 'lemon'] # 这里演示了step第三个参数,表示每两个取一个,即隔一个项取值 banana_and_lemon :['orange', 'mango', 'lemon'] orange_mango_lemon = fruits[-3:] # -1步将得到一个方向排序的list ['lemon', 'mango' ', 'banana'] fruits.remove('lemon') # 再移除lemon print(fruits) # ['orange', 'mango', 'banana'] fruits.remove ', 'orange', 'mango', 'lemon'] 连接list 在Python中可以通过以下方式连接两个或多个列表。 # 直接举例 # 正序排序 fruits = ['banana', 'orange', 'mango', 'lemon'] print(sorted(fruits)) # ['banana', 'lemon

    46720编辑于 2023-10-21
  • 来自专栏深入理解Java

    基于JDK动态代理的自定义拦截器

    第二步:实现拦截器接口 package com.lemon.designmode.bean; import com.lemon.designmode.interfaces.Interceptor; 第三步:在JDK动态代理中使用拦截器 package com.lemon.designmode.proxy; import com.lemon.designmode.interfaces.Interceptor ; import com.lemon.designmode.interfaces.HelloWorld; /** * @author lemon * @date 2018/2/11 上午10:23 ; import com.lemon.designmode.bean.HelloWorldImpl; import com.lemon.designmode.interfaces.HelloWorld ; import com.lemon.designmode.proxy.InterceptorJdkProxy; /** * @author lemon * @date 2018/2/12 下午12

    1.3K20发布于 2020-04-03
  • 来自专栏深入理解Java

    Spring Security技术栈开发企业级认证与授权(六)使用REST方式处理文件服务

    一、文件上传 通过RESTful API上传文件,代码如下: package com.lemon.security.web.controller; import cn.hutool.core.io.IoUtil ; import com.lemon.security.web.dto.FileInfo; import org.springframework.web.bind.annotation.*; import @RequestMapping("/file") public class FileController { private static String folder = "/Users/lemon package com.lemon.security.web.dto; import lombok.Data; /** * @author lemon * @date 2018/4/2 下午2: /IdeaProjects/spring-security/lemon-security-demo"; @GetMapping("/{id}") public void download

    65910发布于 2020-04-03
  • 来自专栏测试游记

    Java自动化测试(adb常用命令 32)

    ":[{"appium:appActivity":"com.lemon.lemonban.activity.WelcomeActivity","appium:appPackage":"com.lemon.lemonban ":"com.lemon.lemonban.activity.WelcomeActivity","appPackage":"com.lemon.lemonban","deviceName":"127.0.0.1 ":"com.lemon.lemonban.activity.WelcomeActivity","appPackage":"com.lemon.lemonban","deviceName":"127.0.0.1 /com.lemon.lemonban.activity.WelcomeActivity and waiting for 'com.lemon.lemonban/com.lemon.lemonban.activity.WelcomeActivity ":"com.lemon.lemonban.activity.WelcomeActivity","appPackage":"com.lemon.lemonban","deviceName":"127.0.0.1

    2.5K30发布于 2020-09-28
  • 来自专栏深入理解Java

    Spring Boot+JPA+Mysql完成数据库整合操作

    ; import javax.persistence.*; import java.io.Serializable; /** * @author lemon */ @Entity @Table( UserRepository.java package com.lemon.springboot.repository; import com.lemon.springboot.domain.User ; import com.lemon.springboot.configuration.JpaConfiguration; import com.lemon.springboot.domain.Department ; import com.lemon.springboot.domain.Role; import com.lemon.springboot.domain.User; import com.lemon.springboot.repository.DepartmentRepository ; import com.lemon.springboot.repository.RoleRepository; import com.lemon.springboot.repository.UserRepository

    2.8K20发布于 2020-04-03
  • 来自专栏深入理解Java

    Spring Security技术栈开发企业级认证与授权(一)环境搭建

    一、项目组织结构 下图展示了项目的组织结构,其中lemon-security为聚合项目,打包方式为pom,其他四个项目为子模块,都是lemon-security的子模块,打包方式均为jar。 下面简要说明各个项目的基本作用: 项目 作用 lemon-security 聚合项目,主要控制整个项目所需依赖的版本 lemon-security-core 认证与授权的核心模块 lemon-security-browser 浏览器作为客户端的认证与授权模块,依赖lemon-security-core模块 lemon-security-app 移动端作为客户端的认证与授权模块,依赖lemon-security-core模块 lemon-security-demo 案例模块,依赖lemon-security-browser和lemon-security-app模块 二、依赖 lemon-security的pom依赖 <? /lemon-security-core</module> <module>../lemon-security-browser</module> <module>..

    72232发布于 2020-04-03
  • 来自专栏深入理解Java

    Spring Security技术栈开发企业级认证与授权(十一)开发短信验证码登录

    关于验证码的配置方式的application.properties文件内容形式如下,application.yml类似: com.lemon.security.code.image.length=4 com.lemon.security.code.sms.length package com.lemon.security.core.validate.code.impl; import com.lemon.security.core.validate.code.ValidateCodeGenerator ; import com.lemon.security.core.properties.SecurityProperties; import com.lemon.security.core.validate.code.ValidateCodeGenerator ; import com.lemon.security.core.properties.SecurityProperties; import com.lemon.security.core.validate.code.ValidateCodeGenerator package com.lemon.security.core.validate.code; import com.lemon.security.core.properties.SecurityProperties

    1.5K30发布于 2020-04-03
  • 来自专栏深入理解Java

    Spring Security技术栈开发企业级认证与授权(二)使用Spring MVC开发RESTful API

    name=lemon |/user?name=lemon | GET| | 详情 | /user/getInfo? name=lemon |/user | POST | | 修改 | /user/update?id=1&name=tom|/user/1 | POST | | 删除 | /user/delete? User类 package com.lemon.security.web.dto; import lombok.Data; /** * @author lemon * @date 2018/3/ 下面进行代码展示: User类 package com.lemon.security.web.dto; import com.fasterxml.jackson.annotation.JsonView "} {"username":"lemon","password":"123456"} 三、编写RESTful API 1、用户详情请求(GET) 对于RESTful API,一般都不再使用传统的参数传递

    1.2K41发布于 2020-04-03
  • 来自专栏全栈程序员必看

    JavaScript Array Object

    var fruits = [“Banana”, “Orange”, “Apple”, “Mango”];document.write(“Removed: ” + fruits.splice(2,0,”Lemon ”) + “
    ”);document.write(fruits); </script> Removed:Banana,Orange,Lemon,Apple,Mango <script type ”) + “
    ”);document.write(fruits); </script> Removed: AppleBanana,Orange,Lemon,Mango <script type ”) + “
    ”);document.write(fruits); </script> Removed: Apple,MangoBanana,Orange,Lemon <script type ”) + “
    ”);document.write(fruits); </script> Removed: Apple,MangoBanana,Orange,Lemon 发布者:全栈程序员栈长

    38820编辑于 2022-09-14
  • 来自专栏chafezhou

    小说python中的*和**

    return [ dictionary.get(key, default) for key in keys ] 这样调用函数是不行的 >>> fruits = {'lemon ': 'yellow', 'orange': 'orange', 'tomato': 'red'} >>> get_multiple('lemon', 'tomato', 'squash', fruits ': 'yellow', 'orange': 'orange', 'tomato': 'red'} >>> get_multiple('lemon', 'tomato', 'squash', dictionary 三、元组解包 >>> fruits = ['lemon', 'pear', 'watermelon', 'tomato'] >>> first, second, *remaining = fruits ', 'pear', 'watermelon', 'tomato'] >>> (*fruits[1:], fruits[0]) ('pear', 'watermelon', 'tomato', 'lemon

    93920发布于 2018-12-25
  • 来自专栏深入理解Java

    MyBatis学习笔记(一)简单配置让MyBatis跑起来

    </groupId> <artifactId>lemon-mybatis</artifactId> <version>1.0-SNAPSHOT</version> <properties -- 创建名称为lemon-mybatis的数据库 CREATE DATABASE lemon-mybatis DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci 本例中实体类Country的代码为: package com.lemon.example.model; import lombok.Data; /** * @author lemon * @date Mybatis日志配置指定了包名com.lemon.example.mapper,它对应的是接口,TRACE是最低级别的日志,这可以使得SQL语句执行的信息也会被打印出来。 对于CountryMapper的测试,代码如下: package com.lemon.example.mapper; import com.lemon.example.model.Country; import

    63310发布于 2020-04-03
  • 来自专栏深入理解Java

    Spring Security技术栈开发企业级认证与授权(八)Spring Security的基本运行原理与个性化登录实现

    把这个类编写在项目lemon-security-browser中,定义一个包com.lemon.security.browser。 package com.lemon.security.browser; import com.lemon.security.core.properties.SecurityProperties; import 请看下面的配置类: package com.lemon.security.core.properties; import lombok.Data; /** * @author lemon * @ ; /** * @author lemon * @date 2018/4/5 下午3:08 */ @Data @ConfigurationProperties(prefix = "com.lemon.security ; import com.lemon.security.core.properties.LoginType; import com.lemon.security.core.properties.SecurityProperties

    98120发布于 2020-04-03
  • 来自专栏非典型性程序员

    挑战30天学完Python:Day6数据类型-元组tuple

    tuple() 元组创建并初始化数据 # 语法 tpl = ('item1', 'item2','item3') # 举例 fruits = ('banana', 'orange', 'mango', 'lemon fruits[1] # orange last_index =len(fruits) - 1 last_fruit = fruits[last_index] print(last_fruit) # lemon fruits = ('banana', 'orange', 'mango', 'lemon') all_fruits = fruits[0:4] # 所有元组项 all_fruits= fruits 以下看一些实际的例子: fruits = ('banana', 'orange', 'mango', 'lemon') fruits = list(fruits) fruits[0] = 'apple # ('apple', 'orange', 'mango', 'lemon') 检查元组中项 我们可以使用in检查元组中是否存在指定项,它最终返回一个布尔值。

    39430编辑于 2023-10-21
  • 来自专栏全栈程序员必看

    python导入excel数据画散点图_excel折线图怎么做一条线

    直接导入就行 import pandas as pd import matplotlib.pyplot as plt 绘制简单折线 pandas操作Excel表单 数据准备,有一个Excel文件:lemon.xlsx # df=pd.read_excel('lemon.xlsx',sheet_name=['python',1])#可以混合的方式来指定 # df=pd.read_excel('lemon.xlsx', print("读取指定行的数据:\n{0}".format(data)) 得到的结果如下所示: 2:读取指定的多行,数据会存在嵌套的列表里面: df=pd.read_excel('lemon.xlsx ') print("输出行号列表",df.index.values) 输出结果是: 输出行号列表 [0 1 2 3] 7:获取列名并打印输出 df=pd.read_excel('lemon.xlsx' 实现的代码如下所示: df=pd.read_excel('lemon.xlsx') test_data=[] for i in df.index.values:#获取行号的索引,并对其进行遍历:

    1.7K20编辑于 2022-11-09
  • 来自专栏深入理解Java

    Spring Boot整合Redis

    Department部门实体类: package com.lemon.springboot.domain; import java.io.Serializable; /** * @author lemon ; import java.io.Serializable; /** * @author lemon */ public class Role implements Serializable { ; import java.util.Date; import java.util.List; /** * @author lemon */ public class User { private ; import com.lemon.springboot.configuration.RedisConfig; import com.lemon.springboot.domain.Department ; import com.lemon.springboot.domain.Role; import com.lemon.springboot.domain.User; import com.lemon.springboot.repository.UserRedis

    84430发布于 2020-04-03
  • 来自专栏蔻丁杂记

    scoop 笔记

    https://github.com/matthewjberger/scoop-nerd-fonts 345 java https://github.com/ScoopInstaller/Java 294 lemon https://github.com/hoilc/scoop-lemon 1334 Terminal window # 添加知名 bucketscoop bucket add nirsoft # 添加自定义 bucketscoop bucket add lemon https://github.com/hoilc/scoop-lemon 原文链接: https://blog.jgrass.cc/posts

    24510编辑于 2025-01-06
  • 来自专栏叶子的开发者社区

    DS内排—2-路归并排序

    2 6 shenzhen beijing guangzhou futian nanshan baoan 10 apple pear peach grape cherry dew fig haw lemon baoan shenzhen nanshan guangzhou futian beijing baoan pear apple peach grape dew cherry haw fig marc lemon pear peach grape apple haw fig dew cherry marc lemon pear peach haw grape fig dew cherry apple marc lemon pear peach marc lemon haw grape fig dew cherry apple AC代码 #include<iostream> using namespace

    31030编辑于 2023-07-30
领券