<?php/*** Formats a JSON string for pretty printing** @param string $json The JSON to make pretty* @param bool $html Insert nonbreaking spaces and <br ...
分类:
Web程序 时间:
2016-12-17 20:03:04
阅读次数:
165
<!-- 声明文档类型 为 html5 --><!DOCTYPE html><!-- 声明页面内容主要为 中文简体 --><html lang="zh-CN"> <head> <!-- 声明页面编码 为 utf-8 --> <meta charset="utf-8"> <!-- X-UA-Compa ...
分类:
其他好文 时间:
2016-12-13 06:40:32
阅读次数:
176
英语写作中替换掉用到发腻的↓常用词↓,吐血整理2小时~~ 动词替换: 1.Improve 提高: Promote: 促进AC之间的贸易 promote the trade between A and C; He was promoted to senior manager in this compa ...
分类:
其他好文 时间:
2016-12-04 14:14:33
阅读次数:
176
Writes log messages to one or more files. Since NLog 4.3 the ${basedir} isn't needed anymore for relative paths. Supported in .NET, Silverlight, Compa ...
分类:
其他好文 时间:
2016-11-22 11:51:27
阅读次数:
756
//打印页码范围设置 private void PrintPageRangeSet(DocumentPaginator doc,int pageFrom,int pageTo) { //写入内存的XPS文档 var ms = new MemoryStream(); string pack = "pa ...
分类:
其他好文 时间:
2016-11-09 19:22:42
阅读次数:
335
引言:我们必须明白:最小的权限+最少的服务=最大的安全所以,无论是配置任何服务器,我们都必须把不用的服务关闭、把系统权限设置到最小话,这样才能保证服务器最大的安全。下面是CentOS服务器安全设置,供大家参考。 一、注释掉系统不需要的用户和用户组注意:不建议直接删除,当你需要某个用户时,自己重新添加 ...
分类:
系统相关 时间:
2016-11-07 01:03:27
阅读次数:
312
浅谈JavaPrinting其实怎么说呢?在写这篇博文之前,我对javaprinting可以说是一无所知的。以至于我在敲文字时,基本上是看着api文档翻译过来的。这虽然看起来非常的吃力,但是我相信,有道大哥不会辜负我的。嘻嘻!JavaPrinting技术,也就是我们平时所接触的打印,只不过是说可..
分类:
编程语言 时间:
2016-11-05 23:53:22
阅读次数:
192
一、文件系统相关:1、#pwd//显示当前工作目录。(printingworkdirectory)2、#cd[DIR]//切换目录,(changedirectory)当cd不带参数时,切换回家目录,~:代表家目录,#cd~//切换回自己的家目录(自己登陆时的用户家目录)#cd~username//切换至指定用户的家目录。#cd—//在当前..
分类:
系统相关 时间:
2016-11-04 02:22:56
阅读次数:
247
查看系统环境#lsb_release-a
LSBVersion::base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
DistributorID:CentOS
Description:CentOSrelease6.5(Final)
Release:6.5
Codename:..
分类:
其他好文 时间:
2016-10-26 17:02:13
阅读次数:
189
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 //// Printing the DataGridView Control// in respo ...