
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
mac ssh登录linux服务器 的两种方式:一、 使用item2的profiles 和expect脚本配置步骤:1. 写一个expect脚本#!/usr/bin/expectset timeout 30spawn ssh [lindex $argv 0]@[lindex $argv 1]expect {"(yes/no)?"
一台测试服务器是另一个同事装的Mysql,不记得root密码了,所以查了一下如何找回root密码, 实际上是免密登录后修改root密码.操作步骤如下:停止mysql, 我们机器是centos7systemctl stop mysqld我们的是编译安装的, 执行下面命令:mysqld_safe –skip-grant-tables –user=mysql...
在js文件中,想获取页面中某个iframe内部的子元素,最原生的方法如下:document.getElementById("iframeId").contentWindow.document.getElementById("iframe里面元素的id")
iterm 2 快捷键一、标签新建标签:command + t关闭标签:command + w切换标签:command + 数字command + 左右方向键切换全屏:command + enter查找:command + f二、分屏垂直分屏:command + d水平分屏:command + shift + d切换屏幕
做了一个项目,其中有一个图片合成的步骤,合成的过程中在图片上添加文字用到 微软雅黑 字体 Font f = new Font("Microsoft Yahei UI",Font.TRUETYPE_FONT ,20);在windows 下开发测试肯定是没有问题的,但把项目部署到Linux服务器上时,就会发现合成的图片上的汉字都是一个长方形乱码。Linux上默认是没有Microsoft 的字体造成的
spark的配置里有个:spark_deploy_mode,可以是client 或cluster–deploy-mode: Whether to deploy your driver on the worker nodes(cluster) or locally as an external client (client) (default: client)注意这里的client和c
NULL 和 空字符NULL 和 NOT NULL的区别
导出select * from test_infointo outfile '/tmp/test.csv'fields terminated by ',' optionally enclosed by '"' escaped by '"'lines terminated by '\r\n';导入load data infile '/tmp/test.csv'
节选自:http://www.quora.com/What-are-the-most-interesting-HTML-JS-DOM-CSS-hacks-that-most-web-developers-dont-know-about1. 你可以不用创建html文件,在浏览器中快速运行hmtl在浏览器的地址栏中输入: data:text/html,Hello, world!







