v5tech
v5tech
http://note.rpsh.net/posts/2014/08/22/yosemite-launchpad-ghost-icon 在 Yosemite 中遇到类似这样下载失败的图标,按住 option 也不能删除掉  删除方法: ``` bash sudo rm -rf ~/Library/Application\ Support/Dock ``` 输入密码,然后再执行 ``` bash killall Dock ``` 执行后我这里依然遗留了1个图标没有删除,重复上述步骤后,总算把所有的这些 ghost 图标删掉了。 PS:执行这个操作后 Launchpad 中的图标排列依然会保持你整理后的排版
### 1. 设置图片圆角 ``` Swift thumbnailImageView.layer.cornerRadius = thumbnailImageView.frame.size.width / 2 thumbnailImageView.clipsToBounds = true ``` ### 2. UIAlertController ``` Swift // Create an option menu as an action sheet let optionMenu...
``` bash F:\mongodb\bin\mongod.exe --auth --dbpath "F:\mongodb\db" --logpath "F:\mongodb\log\log.txt" --install ```
# settings.xml ``` xml F:/.m2/repository nexus-releases admin sysadmin nexus-snapshots admin sysadmin nexus nexus Nexus http://192.168.9.65:8081/nexus/content/groups/public/ true false nexus Nexus http://192.168.9.65:8081/nexus/content/groups/public/ true false nexus-osc nexus-osc Nexus osc http://maven.oschina.net/content/groups/public/ true false nexus-osc...
http://hyperpolyglot.org/ # objective-c http://fuckingblocksyntax.com/ http://goshdarnblocksyntax.com/ # swift http://fuckingclosuresyntax.com/ http://goshdarnclosuresyntax.com/ http://fuckingswiftblocksyntax.com/ http://www.fuckingswiftsyntax.com/ # go http://fuckinggodateformat.com/
# Java json转模型 http://pojo.sodhanalibrary.com/ http://www.jsonschema2pojo.org/ # Go json转struct https://github.com/ChimeraCoder/gojson https://journal.paul.querna.org/articles/2014/03/31/ffjson-faster-json-in-go/ https://github.com/pquerna/ffjson # Objective-C http://www.cocoajsoneditor.com/ http://nerdery.com/json-accelerator # 在线转化工具 http://www.utilities-online.info/ http://codebeautify.org/
沙发~
elasticsearch-analysis-ansj 主页 https://github.com/4onni/elasticsearch-analysis-ansj ansj 分词器 https://github.com/NLPchina/ansj_seg 插件编译安装 ### 1. 克隆源码 ### 2. 修改pom文件配置 ``` bash 1.7.1 org.ansj ansj_seg min 2.0.8 compile ``` ### 3.编译插件 ``` bash mvn assembly:assembly ``` ###...
# elasticsearch rest api 快速上手 > 注:本文档中除无特别说明,请求方式均为`GET`。所有的请求均在`Sense`中测试通过 遵循的格式为 ``` curl -X :/// ``` ### 集群健康查看 - http://127.0.0.1:9200/_cat/health?v ``` epoch timestamp cluster status node.total node.data shards pri relo init unassign pending_tasks...
> elasticsearch-1.7.1 > elasticsearch-jdbc-1.7.1 https://github.com/jprante/elasticsearch-jdbc - 插件下载及安装 http://xbib.org/repository/org/xbib/elasticsearch/importer/elasticsearch-jdbc/1.7.1.0/elasticsearch-jdbc-1.7.1.0-dist.zip - 解压及使用 该插件不需要安装,直接解压即可。 注: 使用该插件时需要禁用`shield`插件 windows平台下使用时需要修改其示例脚本 ``` bash @echo off set DIR=%~dp0 set LIB="%DIR%\..\lib\*" set BIN="%DIR%\..\bin\*" REM ??? echo {^ "type" :...