#!/bin/bash [[ -n "$*" ]] && { for((i=1;i<="$#;"i++)) do echo "${!i}" done } || { echo 'Empty argument !' } #bash test.sh 1 2 3 "4 5" 6 "7 8" 1 2 3 4 ... ...
分类:
其他好文 时间:
2019-09-26 18:40:00
阅读次数:
86
JavaScript data types and data structures Programming languages all have built-in data structures, but these often differ from one language to another ...
分类:
编程语言 时间:
2019-09-26 16:08:51
阅读次数:
130
From: wiz.cn Date: 2016 04 07 常用参数 m 5 超时5秒 o /dev/null 页面输出到/dev/null w argument 输出特定变量 I 输出响应头 H 插入请求头 e 插入referer CURL使用案例 ? CURL详解 以下是可用的变量名: w, w ...
分类:
Web程序 时间:
2019-09-26 11:58:21
阅读次数:
138
设计思想: 判断字符串是否可以回文,首先字符串长度为0,或只有一个字符,即字符串长度为1是可以回文的;再然后字符串长度大于1,让第一个字符和最后一个比较,若相等,则用递归,调用函数比较第二个和倒数第二个,以此类推。 源代码: package test2; import java.util.Scann ...
分类:
编程语言 时间:
2019-09-25 17:25:21
阅读次数:
152
恢复内容开始 字符串部分 字符串末端自带一个字符'\0' puts()函数 输出自带换行 sprintf是个变参函数,定义如下:int sprintf( char *buffer, const char *format [, argument] … ); 详情请看 https://blog.csdn ...
分类:
编程语言 时间:
2019-09-24 17:44:23
阅读次数:
98
Service简单概述 Service(服务): 是一个没有用户界面、可以在后台长期运行且可以执行操作的应用组件。服务可由其他应用组件启动(如:Activity、另一个service)。此外,组件可以绑定到服务,以与之进行交互,甚至是执行进程间通信 (IPC)。例如:服务可以处理网络事务、播放音乐, ...
分类:
移动开发 时间:
2019-09-22 12:39:18
阅读次数:
155
#神经网络l#chap2_linear_regression 从txt中读取数据,train_set:300 by 2, testset:200 函数: string.split: 返回一个list,list内存分开的元素 map: 返回迭代器,该迭代器(map)也是可以迭代的;传参为一个函数和it ...
分类:
其他好文 时间:
2019-09-22 10:37:33
阅读次数:
106
原英文帮助文档: dir([object]) Without arguments, return the list of names in the current local scope. With an argument, attempt to return a list of valid att ...
分类:
编程语言 时间:
2019-09-21 23:32:15
阅读次数:
134
原英文帮助文档: help([object]) Invoke the built-in help system. (This function is intended for interactive use.) If no argument is given, the interactive hel ...
分类:
编程语言 时间:
2019-09-21 23:05:01
阅读次数:
178
printk(KERN_CRIT"frames[frame_idx].width:%d, frames[frame_idx].height:%d\n",frames[frame_idx].width, frames[frame_idx].height); 但为什么一个printk会造成kernel ...
分类:
其他好文 时间:
2019-09-21 01:16:34
阅读次数:
124