正职开发人员有两个电脑,一个办公网的,一个开发网的.通过samba服务在开发网机器上映射编译环境机的磁盘没有问题. 开发岗实习生使用虚拟机做跳板方式登录编译环境机.上面的方法不能用. 替代方法:rsync<rsync同步的艺术>–linux命令五分钟系列之四十二http://roclinux.cn/?p=2643 scp,rsync链接均为ssh.如果端口非默认22 sync -zav -e ‘ssh -p 端口’ scp -r -P 端口…
问题: 自从tc站点升级以后做题统计的tc一栏就不刷新了,为此全哥也更新了一下stepbystep的配置文件什么的,我仅仅要将其挂到server上即可了. 由于加了杭电的bc,看来这事儿不easy.还得在数据库中加入字段,又涨经验了. 解决: 下午,上git.oschina.net的号,进入全哥的stepbystep项目并将整个项目下载下来.对照server上的stepbystep配置文件,改动当中涉及的数据库的password, 并将缺少的必要数据文件复制到新的stepbystep文件里.将原…
最近研究数据库的复制.因为要在两台服务器上,当使用数据库的默认1433端口时,订阅发布没有任何问题,考虑到数据库的安全性问题,需要改用其他端口.这里以10010为例. 有A.B两台服务器:A作为发布服务器,B作为订阅服务器. 1,打开B服务器的sqlserver配置管理器,添加别名:别名名称为A,端口号:10010,服务器:A的Ip地址.tcp协议.保存.(PS:别名一定要设置成A服务器的服务器名) 2.打开B的sqlserver 在复制>订阅下面新建订阅,选择其他服务器.输入服务器名:A  …
2016年12月29日 星期四 --出埃及记 Exodus 21:24 eye for eye, tooth for tooth, hand for hand, foot for foot,以眼还眼,以牙还牙,以手还手,以脚还脚,…
2016年12月3日 星期六 --出埃及记 Exodus 20:24 "`Make an altar of earth for me and sacrifice on it your burnt offerings and fellowship offerings, your sheep and goats and your cattle. Wherever I cause my name to be honored, I will come to you and bless you. 你要为我…
2016年11月8日 星期二 --出埃及记 Exodus 19:24 The LORD replied, "Go down and bring Aaron up with you. But the priests and the people must not force their way through to come up to the LORD, or he will break out against them." 耶和华对他说,下去吧,你要和亚伦一同上来,只是祭司和百姓不可…
2016年10月13日 星期四 --出埃及记 Exodus 18:24 Moses listened to his father-in-law and did everything he said.于是,摩西听从他岳父的话,按着他所说的去行.…
2016年6月27日 星期一 --出埃及记 Exodus 14:24 During the last watch of the night the LORD looked down from the pillar of fire and cloud at the Egyptian army and threw it into confusion. 到了晨更的时候,耶和华从云火柱中向埃及的军兵观看,使埃及的军兵混乱了,…
    情景,ubuntu下把NTFS格式的盘中的“实习记”文件夹彻底删除了,追毁莫及,粗心觉不是一件好的事情. linux下回复ntfs盘下的文件不能用ext3grep,而使用debugfs命令实在很原始. 万幸所有记录文件的文件名都是:[实习记]2014-0****.txt 最后使用ntfsundelete + chown + chmod + sed 完美恢复刚才删除是所以TXT文件. 0.sudo umount 该ntfs盘 1.sudo apt-get install ntfs-3g直接…
第一种var d = new Date('Fri Dec 12 2014 08:00:00 GMT+0800'); ) + '-' + d.getDate() + ' ' + d.getHours() + ':' + d.getMinutes() + ':' + d.getSeconds();第二种 console.log((new Date()).toISOString().slice(0,10)); 第二种 会出现问题…