摘要: 1. Tools - Create Public Key - 2. Select Key Type 3. Create Passphrase 4.Input Key Length 5. Generate Passphrase 服务器端 1. Configure server's ssh $ vi / 阅读全文
posted @ 2017-02-13 20:24 SapphireCastle 阅读(1618) 评论(0) 推荐(0) 编辑
摘要: 1.安装解压 Unzip and copy JetbrainsCrack.jar to /Applications/CLion.app/Contents/bin/JetbrainsCrack.jar 2.打开并拷贝 Open /Applications/CLion.app/Contents/bin/ 阅读全文
posted @ 2017-02-13 20:18 SapphireCastle 阅读(408) 评论(0) 推荐(0) 编辑
摘要: 在史蒂芬周下载破解版 安装package control import urllib.request,os,hashlib; h = 'df21e130d211cfc94d9b0905775a7c0f' + '1e3d39e33b79698005270310898eea76'; pf = 'Package Control.sublime-package'; ipp = sublime.ins... 阅读全文
posted @ 2017-02-13 20:17 SapphireCastle 阅读(2868) 评论(0) 推荐(0) 编辑
摘要: Lots of showoff: https://github.com/bhilburn/powerlevel9k/wiki/Show-Off-Your-Config 阅读全文
posted @ 2017-02-13 20:16 SapphireCastle 阅读(409) 评论(0) 推荐(0) 编辑
摘要: <!--StartFragment--> 在AppStore安装xcode $/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" <!--EndFragm 阅读全文
posted @ 2017-02-13 20:15 SapphireCastle 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 不过大家可别被「命令行」三个字吓到,其实你只需按步骤来,复制粘贴命令即可快速完成,事实上是很简单的。 一、准备工作: 二、格式化 U 盘: 插入你的 U 盘,然后在「应用程序」->「实用工具」里面找到并打开「磁盘工具」,或者直接用 Spotlight 搜索 “磁盘工具” 打开,如下图。 1 - 在左 阅读全文
posted @ 2017-02-13 20:14 SapphireCastle 阅读(199) 评论(0) 推荐(0) 编辑
摘要: <!--StartFragment--> $ cd /Library/Preferences/SystemConfiguration/ 删除如下文件 com.apple.airport.preferences.plist com.apple.network.identification.plist 阅读全文
posted @ 2017-02-13 20:11 SapphireCastle 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 多用户使用ssh登录 阅读全文
posted @ 2017-02-13 20:08 SapphireCastle 阅读(251) 评论(0) 推荐(0) 编辑
摘要: git revert是用一次新的commit来回滚之前的commit,git reset是直接删除指定的commit git log 查询回滚版本唯一commit标识代码 git reset --hard HEAD~3 会将最新的3次提交全部重置,就像没有提交过一样。 --mixed git res 阅读全文
posted @ 2017-02-13 20:07 SapphireCastle 阅读(211) 评论(0) 推荐(0) 编辑
摘要: git stash git pull git stash pop git stash pop: 从Git栈中读取最近一次保存的内容,恢复工作区的相关内容。由于可能存在多个Stash的内容,所以用栈来管理,pop会从最近的一个stash中读取内容并恢复。 git stash list: 显示Git栈内 阅读全文
posted @ 2017-02-13 20:06 SapphireCastle 阅读(312) 评论(0) 推荐(0) 编辑
摘要: # Packages # ############ # it's better to unpack these files and commit the raw source # git has its own built in compression methods *.7z *.dmg *.gz *.iso *.jar *.rar *.tar *.zip # L... 阅读全文
posted @ 2017-02-13 20:05 SapphireCastle 阅读(156) 评论(0) 推荐(0) 编辑
摘要: $ git push --set-upstream origin ljz-v1.0.0-2 注意:在前一个分支的基础上创建新分支 把master分支的内容更新到当前分支,打补丁 http://blog.csdn.net/hudashi/article/details/7664631/ http:// 阅读全文
posted @ 2017-02-13 20:04 SapphireCastle 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Git push [远程分支] [本地分支] 建立关联 Git branch --set-upstream mybranch origin/mybranch Git push 简化git push书写 $ git gpush 简化git push HEAD:refs/for/master,命令好长, 阅读全文
posted @ 2017-02-13 20:03 SapphireCastle 阅读(286) 评论(0) 推荐(0) 编辑
摘要: $ git add blash $ git commit "add blash file" $ git push -u origin master $ git rm blash $ git push origin master -f 把文件本身也删除了 --cache 文件保留,但从new file 阅读全文
posted @ 2017-02-13 20:02 SapphireCastle 阅读(1823) 评论(0) 推荐(0) 编辑
摘要: git clone -b master2 ../server 表示克隆名为master2的这个分支,如果省略-b <name>表示克隆master分支。 参考:http://blog.csdn.net/hudashi/article/details/7664396/ 阅读全文
posted @ 2017-02-13 20:01 SapphireCastle 阅读(119) 评论(0) 推荐(0) 编辑
摘要: Git知识图谱:https://segmentfault.com/a/1190000002533334 简明指南:http://rogerdudler.github.io/git-guide/index.zh.html 阅读全文
posted @ 2017-02-13 20:00 SapphireCastle 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 1. 控制台中,不赞成使用这种方法,因为换个shell,你的设置就无效了,因此这种方法仅仅是临时使用,以后要使用的时候又要重新设置,比较麻烦。 这个只针对特定的shell; $ PATH="$PATH:/my_new_path" (关闭shell,会还原PATH) 2. 修改/etc/profile 阅读全文
posted @ 2017-02-13 19:55 SapphireCastle 阅读(566) 评论(0) 推荐(0) 编辑
摘要: 1.首先安装vssh 2.找到机器 3. wget http://www.centoscn.com/tool/pptpd6.sh sh pptpd6.sh 请用root帐号运行上面的命令,就会一键安装好PPTP了,完全全自动,安装结束,你的VPN用户名跟密码会自动显示在你的屏幕上面。PPTP VPN 阅读全文
posted @ 2017-02-13 19:54 SapphireCastle 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 32位CentOS执行下面命令: wget -c http://pkgs.repoforge.org/axel/axel-2.4-1.el5.rf.i386.rpm rpm -ivh axel-2.4-1.el5.rf.i386.rpm 64位CentOS执行下面命令: wget -c http:/ 阅读全文
posted @ 2017-02-13 19:53 SapphireCastle 阅读(5034) 评论(0) 推荐(0) 编辑
摘要: 1.软链接: 建立软链接:ln -s /usr/local/node-v4.2.6-linux-x86/bin/node /usr/local/bin/node 解释:将/usr/local/node-v4.2.6-linux-x86/bin/下的node映射到/usr/local/bin/下的no 阅读全文
posted @ 2017-02-13 19:51 SapphireCastle 阅读(22203) 评论(0) 推荐(2) 编辑