摘要: Question: Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, b1), (a2, b2), ..., (an, bn) which mak 阅读全文
posted @ 2017-04-24 17:34 SapphireCastle 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑