码迷,mamicode.com
首页 >  
搜索关键字:print spooler    ( 43561个结果
摄像头调用
from __future__ import print_function import numpy as np import cv2 as cv def main(): def decode_fourcc(v): v = int(v) return "".join([chr((v >> 8 * i ...
分类:其他好文   时间:2021-03-06 14:32:36    阅读次数:0
java打印三角形
利用循环打印出三角形 public class Demo13 { public static void main(String[] args) { for (int i = 1; i <=5; i++) { for (int d = 5;d>=i;d--){ System.out.print(" " ...
分类:编程语言   时间:2021-03-06 14:31:15    阅读次数:0
python中的内嵌函数
python中允许在函数内定义另一个函数,这种函数称为内嵌函数或者内部函数。 1、 >>> def a(): ## 外层函数 print("hello world!") def b(): ## 内层函数 print("xxxxxxx!") return b() >>> a() hello world ...
分类:编程语言   时间:2021-03-06 14:22:06    阅读次数:0
五十三:代码审计-TP5框架及无框架变量覆盖及代码审计
漏洞关键字 SQL注入: select insert update mysql_query mysqli等 文件上传: $_FILES,type="file",上传,move_upload_file()等 XSS跨站: print print_r echo sprintf die var_dump ...
分类:其他好文   时间:2021-03-06 14:12:18    阅读次数:0
py一些练习实例
1、目前工作上有一堆的ip地址,ip是ok的,但是需要找出来不在这里面的其他ip import os a = list() with open('ip.txt','r') as f: #print(f.readlines()) for line in f.readlines(): a.append( ...
分类:其他好文   时间:2021-03-05 13:28:22    阅读次数:0
go_排序算法_奇偶排序
奇偶排序 核心思想:奇数位和偶数位的数据交替比较,最终实现排序 代码实现: package main import "fmt" func IsSort(arr []int) []int { flag := false if len(arr) ? 1 for flag == false { flag ...
分类:编程语言   时间:2021-03-05 13:26:07    阅读次数:0
Python 队列模块 Queue
队列Queue模块 """ 管道:subprocess stdin stdout stderr 队列:管道+锁 队列:先进先出 堆栈:先进后出 """ from multiprocessing import Queue # 创建一个队列 q = Queue(5) # 括号内可以传数字 标示生成的队列 ...
分类:编程语言   时间:2021-03-05 13:10:29    阅读次数:0
Java循环结构
循环结构 while循环 while是最基本的循环,只要布尔表达式的值为true,循环就会一直执行下去。我们大多数情况是会让循环停止下来的,我们需要一个让表达式失效的方式来结束循环。 while(布尔表达式){ //循环内容} package struct;?public class WhileDe ...
分类:编程语言   时间:2021-03-04 13:29:17    阅读次数:0
Hello World
3编写代码 public class Hello{ public static void main(String[] args){ System.out.print("Hello,world!"); } } 4编译javac java 文件,会生成一个class文件 5运行class文件,java ...
分类:其他好文   时间:2021-03-04 13:10:22    阅读次数:0
nginx服务器中出现过多TIME_WAIT的问题(完善中)
在允许nginx服务器中,输入命令: netstat -ano | grep "TIME_WAIT" 可以看到出现很多TIME_WAIT的端口, 输入命令: netstat -an|awk '/tcp/ {print $6}'|sort|uniq -c 可以看到结果: 76 CLOSE_WAIT 3 ...
分类:其他好文   时间:2021-03-04 13:10:09    阅读次数:0
43561条   上一页 1 ... 46 47 48 49 50 ... 4357 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!