原创 eclipse JRebel破解
JRebel Eclipse反代激活教程 1. 下載反代工具: 工具地址:https://github.com/ilanyu/ReverseProxy/releases/latest 根據實際根據系統位數,下載所需版本,我這裏以
原创 kettle mongodb input插件根據id查詢
{'_id' : {'$gte' : {'$oid': "5ddb8bb224aa9a00066f81ca"}}}
原创 讓feign支持文件傳輸
公司用的spring cloud項目,需要用到feign上傳文件到另一個服務。 首先,默認feign是不支持文件傳輸的,需要給feign增加插件.(spring boot版本:2.0.5.RELEASE) 1. 首先給feign加入支持文
原创 nginx設置跨越
proxy_set_header Cookie $http_cookie; proxy_pass_header Set-Cookie; add_header Access-Contro
原创 linux命令行查看服務器對外IP地址
[root@doctor-common-42 ~]# curl cip.cc IP : 19.35.66.83 地址 : 中國 廣東 深圳 運營商 : 聯通 數據二 : 廣東省深圳市 | 聯通 數據三 : URL : htt
原创 mongodb中的ObjectId轉當前時間
java示例代碼如下: public static void main(String[] args) { Date date = new Date(Long.parseLong(Integer.parseInt(
原创 mongoddb對集合數據作精確統計
count()函數有時候統計會不準備,需要用aggregate做精確統計(反正我是經常遇到不準備的情況,被count坑了N次,所以用博客記下來) db.getCollection("collectionName").aggregate
原创 MongodbDriver or查詢
java mongodb驅動"$or"查詢示例 BasicDBObject filter = new BasicDBObject().append( "$or",
原创 c# 生成連續MAC地址
class Program { public static void Main(String[] args) { String filePath = "f://mac.tx
原创 apns code
Status code Description0No errors encountered1Processing error2Missing device token3Missing topic4Missi
原创 ebwin 詞典
http://pan.baidu.com/s/1dDfAZHv,ebwin詞典,有興趣的同學去下載。
原创 activemq動態部署的遇到的問題
1.網管把公司網絡的廣播禁止了,導致動態主機之間不能自動找到.
原创 javascript判斷用戶是否有自定義key值
JSON.stringify(ph_recode)=='{}'
原创 tomcat配置jmx
tomcat 配置 jmx時,我的tomcat8.0.18/bin/catalina.sh裏頂行設置爲#!/bin/shJAVA_OPTS="-Dcom.sun.management.jmxremote.p
原创 關於用stream API報Failed to read candidate component class:xxx的錯
最近開發由於用了StreamAPI,遇到一個很奇怪的錯, org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate