package whale.leetcode.simple; /** * @Author: WhaleFall541 * @Date: 2021/5/31 23:22 */ public class PowerOfFour { public static void main(String[] arg ...
分类:
编程语言 时间:
2021-06-02 19:35:24
阅读次数:
0
[开机启动]解决insserv: warning: script '服务名' missing LSB tags and overrides 按照LSB tags规范改写脚本如下 其实解决办法就是在#!/bin/bash下面添加: #!/bin/bash ### BEGIN INIT INFO # P ...
分类:
系统相关 时间:
2021-06-02 19:34:37
阅读次数:
0
poll机制概述:当应用程序调用poll函数,进程会休眠一段时间,等待事件发生;休眠期间事件发生就被唤醒,poll函数立即返回,返回值为1;如果超过设定的休眠时间事件还是没发生,poll函数也会返回,返回值为0。 对于系统调用poll或者select,他们对应的内核函数都是sys_poll,分析sy ...
分类:
其他好文 时间:
2021-06-02 19:34:12
阅读次数:
0
在开发过程中和第三方系统对接时遇到需要使用GET请求传递JSON参数,现整理请求方式如下。 重写HttpGetWithEntity类 1 public class HttpGetWithEntity extends HttpEntityEnclosingRequestBase { 2 public ...
分类:
编程语言 时间:
2021-06-02 19:32:23
阅读次数:
0
using System;using System.Collections.Generic;using System.Text;using System.Text.RegularExpressions;namespace ConsoleApplication1{class Class1{privat ...
分类:
其他好文 时间:
2021-06-02 19:27:51
阅读次数:
0
using system;using system.collections.generic;using system.linq;using system.text;using system.threading.tasks;namespace consoleapplication3{ class pr ...
分类:
其他好文 时间:
2021-06-02 19:26:59
阅读次数:
0
using system;using system.collections.generic;using system.linq;using system.text;using system.threading.tasks; namespace consoleapplication3{ class p ...
分类:
其他好文 时间:
2021-06-02 19:26:24
阅读次数:
0
初识CGlib动态代理技术 之前在JDK代理技术提到代理设计模式的三要素: 有原始类 额外的方法 和原始类实现相同的方法 对于CGlib也是一样的 1.和JDK代理模式对比 JDK代理模式 例如: 他们都实现了相同的接口,看代理类和原始类的区别,区别在被代理的对象的方法中添加了额外功能。 同时从这个 ...
分类:
其他好文 时间:
2021-06-02 19:26:11
阅读次数:
0
复制代码 class Account: def __init__(self,name,account_number,initial_amount): self._name = name self._card_no = account_number self._balance = initial_am ...
分类:
其他好文 时间:
2021-06-02 19:24:45
阅读次数:
0
目前TCP正在努力的找工作中,原因如下: ①首先,作为下属(客户端)我想涨工资,但是我又不能明说,显得我low,但是又不能太过坚决,不然boss真的以为我要走了。于是我就发送了一份邮件,邮件主题叫FIN→内容:i want to go away,my-boss!but ,I can wait unt ...
分类:
其他好文 时间:
2021-06-02 19:18:47
阅读次数:
0