cat /proc/version
lsb_release -a
centos
cat /etc/redhat-release
cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
xuenhua’s 站点
cat /proc/version
lsb_release -a
centos
cat /etc/redhat-release
cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
在linux下面的大型工程很多都是makefile管理的,但是随着工程越来越大,makefile编写又成了一个大工程,这个时候出现了两个比较流行的工具,cmake和configure,configure又衍生出来一套automake。
继续阅读“autogen.sh 的使用”错误:
[root@localhost]# mount -t nfs 192.168.0.106:/home/nfs1 /home/nfs
mount: wrong fs type, bad option, bad superblock on 192.168.0.106:/home/nfs1,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount. helper program)
In some cases useful info is found in syslog – try
dmesg | tail or so
解决办法:
1 apt-get install nfs-common
或者
1 yum install nfs-utils
已经是git仓库情况
1、svn checkout
2、svn status 查看状态,会有许多删除冲突
3、使用revert命令恢复 svn revert ./* -R [或者单独文件 R递归]
4、再次查看状态,删除冲突消失
5、git pull ,git reset –hard 清除svn的更改,然后查看git 和svn状态是否正常,
6、修改,往两处提交就可以了
此过程可能需要多次gc cleanup
1 Svn checkout
2 git pull
3 换行符问题
4 git 修改为 autocrlf
5 Add 提示有些lf转换问题
6 再改为autocrlf false
7 再次add
Install and manage Simulator runtimes from the command line
Download the Simulator runtime you want to install from the Apple Developer website. Then follow these steps with the command line to install it:
simctl verifies the signature of the downloaded Simulator runtime, and then installs it in a secure location on your computer.
For example:
xcode-select -s /Applications/Xcode-beta.app
xcodebuild -runFirstLaunch
xcrun simctl runtime add “~/Downloads/watchOS 9 beta Simulator Runtime.dmg”
Tip
To learn more about additional runtime management features, run xcrun simctl runtime.
To download and install all the platforms that the Xcode version you selected supports, use the -downloadAllPlatforms option on xcodebuild.
xcodebuild -downloadAllPlatforms
To download and install Simulator runtimes for a specific platform, use the -downloadPlatform option and specify the platform.
cd /Users/用户名/Documents/programs/SQLDeveloper.app/Contents/Resources/sqldeveloper
zsh sqldeveloper.sh
1、sqlite3数据库位置
/private/var/folders/73/w1gsct654151mgqzf218d8qh0000gn/0/com.apple.dock.launchpad/db
2、读取db文件
sqlite3 dbfile
3、查看表
.tables
4、查看表结构
select * from sqlite_master where type=”table” and name=’apps’
5、Sql 操作
Mac OS X下的程序,通常不像Windows电脑下的那么复杂,什么注册表,DLL什么的,完全不用考虑。
要删除一个电脑程序之前,我先说一下安装一个程序后,通常生成了什么文件。
继续阅读“MacOS 卸载dmg app”