一、前言 进入智能手机时代以来,各种各样的APP大行其道,手机上面的APP有很多流行的元素,开关按钮个人非常喜欢,手机QQ、360卫士、金山毒霸等,都有很多开关控制一些操作,在WINFORM项目上,如果将CheckBox也改为开关按钮,估计也会为项目增添不少新鲜感。 沿袭之前的做法,本人还是喜欢直接 ...
分类:
其他好文 时间:
2020-06-15 09:28:19
阅读次数:
73
//用PrintWriter写入文件 import java.io.IOException; import java.io.PrintWriter; public class PrintWriteDemo { public static void main(String[] args) throws ...
分类:
编程语言 时间:
2020-06-14 19:07:58
阅读次数:
140
Ubuntu 16, 阿里云 Emscripten # Get the emsdk repo git clone https://github.com/emscripten-core/emsdk.git # Enter that directory cd emsdk # Fetch the late ...
分类:
Web程序 时间:
2020-06-14 19:07:26
阅读次数:
150
func merge(left,right []int) (result []int) { r,l := 0,0 for l < len(left) && r < len(right) { if left[l] < right[r]{ result = append(result,left[l]) ...
分类:
编程语言 时间:
2020-06-14 19:03:35
阅读次数:
62
本人在2020-06-14凌晨完成了一个基于QT的TLE下载、合并及分析时间的带界面工具,萌生了想要把该项目上传github开源的想法。
其中还是遇到了一些问题,将问题与解决方式记录下来以自省或给他人一些便利。
如何从头开始上传github项目、本地与github库项目同步与更新、编写规范的READ... ...
分类:
Web程序 时间:
2020-06-14 18:31:47
阅读次数:
73
anltr应用实例: http://0x100.club/projects/antlr-example.html antlr入门: https://www.cnblogs.com/clonen/p/9083359.html ...
分类:
其他好文 时间:
2020-06-14 18:25:02
阅读次数:
43
1.默认配置 根据默认配置给出中文注释 # Example config file /etc/vsftpd.conf## The default compiled in settings are fairly paranoid. This sample file# loosens things up ...
分类:
其他好文 时间:
2020-06-14 16:48:06
阅读次数:
68
1.The quick brown fox jumps over a lazy dog. 那只敏捷的棕色狐狸跳过了一只懒惰的狗。 这个句子包含了英语中的26个字母。 2.Was it a bar or a bat I saw ? 我看到的是酒吧还是蝙蝠? 这是一句回文句,顺着读和倒着读是一样的。类似 ...
分类:
其他好文 时间:
2020-06-14 15:00:27
阅读次数:
74
问题: 给定一组学生身高,要对其进行身高排序,从低到高。 求最少要移动几个学生的位置。 Example 1: Input: heights = [1,1,4,2,1,3] Output: 3 Explanation: Current array : [1,1,4,2,1,3] Target arra ...
分类:
其他好文 时间:
2020-06-14 14:54:09
阅读次数:
47
1. 获取Springboot容器Bean对象调用业务方法 package com.example.springboot; import com.example.springboot.service.StudentService; import org.springframework.boot.Sp ...
分类:
编程语言 时间:
2020-06-14 11:20:43
阅读次数:
74