自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

friendan的专栏

快樂源于分享︶

  • 博客(796)
  • 资源 (624)
  • 收藏
  • 关注

原创 Android给按钮添加单击事件

Button android:id="@+id/btnTakePhoto" android:layout_width="150dp" android:layout_height="50dp" android:text="拍照" android:layout_centerInParent="true" />------------------packa

2016-09-19 22:45:25 971

转载 3389连接超时设置

原文:http://www.cnblogs.com/hubing/p/4302282.html我们在管理服务器操作时,有时候需要长时间操作服务器,有时候稍微离开下倒杯水或接个稍长点的电话,就超时断开了很烦啦!有没有方法解决这个问题类?答案是有的!我只要在组策略里面,稍微修改下超时时间就可以了。可以根据需要适当延长超时时间,或永不超时。具体设置为:  打开电脑选择运行,输入g

2016-09-19 17:57:17 1170

原创 ZwQuerySystemInformation

ZwQuerySystemInformation.h#ifndef ZwQuerySystemInformation_H_#define ZwQuerySystemInformation_H_#include typedef enum _SYSTEM_INFORMATION_CLASS { SystemBasicInformation,

2016-09-11 14:08:36 3170 1

原创 AttributeError: module 'html5lib.treebuilders' has no attribute '_base'

AttributeError: module 'html5lib.treebuilders' has no attribute '_base'出错的原因是我使用的Python版本是:Python36-32解决方法:   将python版本改为:Python35-32

2016-09-05 11:58:13 2978

原创 Privoxy代码下载

官网官网如何下载Privoxy的说明如下:https://sourceforge.net/p/ijbswa/code/?source=navbarAnonymous CVS AccessThis project's SourceForge.net CVS repository can be checked out through anonymous (pserver) CVS wi

2016-09-04 18:38:11 1859

原创 VC提升进程权限

#include #include #include #include #pragma comment(lib, "Dbghelp.lib")#include #include using namespace std;BOOL EnabledDebugPrivilege(){ HANDLE hToken; BOOL fOk=FALSE; if(Ope

2016-09-04 00:47:48 2213

原创 VC判断指定进程是否存在IsExistProcess

#include BOOL IsExistProcess(CONST CHAR* szProcessName){ PROCESSENTRY32 processEntry32; HANDLE toolHelp32Snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); if (((int)toolHelp32Sna

2016-09-04 00:44:31 5476

原创 MFC ShowLog(CString strLog)

VOID CShieldDomainDlgDlg::ShowLog(CString strLog){ SYSTEMTIME sysTime; GetLocalTime(&sysTime ); CString strTime; strTime.Format("%04d%02d%02d %02d:%02d:%02d:%03d", sysTime.wYear, sy

2016-09-02 12:59:49 1039

原创 SQL万能密码:' or 1='1

select name,pass from tbAdmin where name='admin' and pass='123456'输入用户名:' or 1='1SQL变成下面这个样子:select name,pass from tbAdmin where name='' or 1='1' and pass='123456'1='1' 永远为真,所以

2016-08-15 23:41:26 63131 3

原创 SQL注入之注释

//  这里以MySQL为例子select name,pass from tbAdmin where name='admin' and pass='123456'输入:admin' or 1=1#SQL变成下面这个样子:select name,pass from tbAdmin where name='admin' or 1=1#' and pass='1234

2016-08-15 23:34:50 7002

原创 C/CPP UTF8编码转成汉字 \u7528\u6237\u4e0d

参考文章:http://www.qingfengju.com/article.asp?id=245现在的网站,经常返回下面这样的字符串:"error":"\u7528\u6237\u4e0d\u5b58\u5728\u6216\u5bc6\u7801\u9519\u8bef"}其中的\u7528等就是汉字的UTF8编码了,如何将其还原成相应的字符呢?代码如下:#

2016-08-14 23:02:47 75414

原创 易语言 取变量地址

取变量地址() 属于特殊功能支持库,新建易语言工程时默认没有导入,所以我们必须手动导入:工具--->支持库配置--->特殊功能支持库

2016-08-13 22:50:04 6080

原创 C# 获取SQL Server所有的数据库名称

参考文章:http://www.cnblogs.com/Abel_cn/archive/2008/12/09/1351425.html// ... /// /// 获取数据库连接对象 /// /// /// public SqlConnection getSqlConnectio

2016-08-11 15:18:34 5476

原创 yii\web\Request::cookieValidationKey must be configured with a secret key.

参考:http://www.yiiframework.com/forum/index.php/topic/56238-cookievalidationkey-must-be-configured-with-a-secret-key/我的yii2模板是:yii-basic-app-2.0.9.tgz解压后执行命令:yii serve --port=8888访问:http://lo

2016-08-09 23:49:28 6411

原创 No new migrations found. Your system is up-to-date.

参考文章:http://www.yiichina.com/doc/guide/2.0/db-migrations敲命令:yii migrate出现以下提示信息:Yii Migration Tool (based on Yii v2.0.9)No new migrations found. Your system is up-to-date.我想要执行某个mi

2016-08-04 23:50:38 4528

原创 Yii2安装

参考文章:http://www.yiichina.com/downloadhttp://www.yiichina.com/tutorial/324我的环境:C:\Users\Administrator>php -vPHP 5.5.30 (cli) (built: Sep 30 2015 13:50:25)Copyright (c) 1997-2015 The PHP

2016-07-19 23:52:41 1295

原创 js点超链接后,禁止跳转

参考文章:http://blog.163.com/huang_qy/blog/static/615601452012101411625600/

2016-07-12 14:27:05 3562

原创 grails在gsp页面显示资源图片

我的环境是:| Grails Version: 3.1.4| Groovy Version: 2.4.6| JVM Version: 1.7.0_80在工程目录src\main\webapp下面新建文件夹:resources,然后把需要的图像文件放到resources目录里面,如:xx.jpg在gsp页面添加以下代码即可显示我们之前添加的图像了:或

2016-07-02 13:32:23 1693

原创 grails调用groovy脚本

参考文章:http://www.poorren.com/java-groovy-dynamic-algorithm/http://www.cnblogs.com/jizha/p/5027695.html?utm_source=tuicool&utm_medium=referralgrails本身就是使用groovy开发的,所以调用groovy脚本也是很方便的。我封装

2016-06-24 13:08:04 1455

原创 java调用javascript文件方法

参考文章:http://www.cnblogs.com/charlexu/p/3424963.htmlimport java.io.File;import java.io.FileInputStream;import java.io.IOException;import java.io.InputStreamReader;import java.io.Reader;impo

2016-06-23 20:57:19 12632

原创 更改npm全局模块和cache默认安装位置

参考文章:http://xiaoyaojones.blog.163.com/blog/static/28370125201351501113581/1、因为我安装的Node.js自带了npm,所以在nodejs文件夹里面新建以下两个目录:node_globalnode_cache2、启动CMD依次执行以下两条命令npm config set prefix "

2016-06-22 18:13:34 42870 2

原创 grails Deadlock found when trying to get lock; try restarting transaction

参考文章: http://blog.csdn.net/aesop_wubo/article/details/8286215 http://www.aichengxu.com/view/24054  最近碰到在领域类中自关联时产生的死锁问题,被困扰了好几天, 后面解决时发现太简单了,真是始料不及呀。。。  // 我碰到死锁时,领域类的关键代码如下,翻开数据库day

2016-06-22 11:02:23 3473

原创 MySQL清空表数据

参考文章:http://bbs.csdn.net/topics/390083087数据表有外键约束时想要清空数据很是麻烦,原来可以禁用外键,删除后再恢复外键功能即可,如:// 清空表数据SET FOREIGN_KEY_CHECKS = 0;delete from tbXXX;SET FOREIGN_KEY_CHECKS = 1;

2016-06-20 09:43:47 2330

原创 grails org.hibernate.LazyInitializationException: could not initialize proxy - no Session

参考文章:http://stackoverflow.com/questions/1368025/grails-and-hibernates-lazy-initialization-exceptionhttp://piperzero.iteye.com/blog/1660556错误信息:Caused by: org.hibernate.LazyInitializationEx

2016-06-15 15:21:24 1994

原创 解决grails上传文件过大,发生异常的问题

参考文章:http://my.oschina.net/scjelly/blog/523705http://docs.grails.org/latest/guide/spring.htmlhttp://docs.grails.org/latest/guide/theWebLayer.html#uploadingFiles我的环境:| Grails Version: 3.1

2016-06-13 17:06:21 3266

原创 window.onscroll无效问题

我的环境:| Grails Version: 3.1.4| Groovy Version: 2.4.6| JVM Version: 1.7.0_80--------------------------------------------------------------------------------------------------------------------

2016-06-11 00:24:04 17203 4

原创 java遍历文件夹里面的所有文件

java遍历文件夹里面的所有文件...

2016-06-02 13:06:01 3697 1

原创 grails指定端口运行工程

我的环境: | Grails Version: 3.1.4| Groovy Version: 2.4.6| JVM Version: 1.7.0_80根据grails手册,可以通过以下方式指定端口,不过我发现无效哈!grails -Dserver.port=8090 run-app-----------------------------------------

2016-05-31 20:46:52 1687

原创 IntelliJ IDEA 15.0.2运行grails工程不能自动重新加载修改后的类的问题

之前运行grails工程,然后修改控制器类,服务类等,IDEA都能够自动重新加载修改后的类,这样就不用重新启动工程了,很是方便。今天发现竟然不能自动加载修改后的类了,真是郁闷呀。。。-------------------------------------------------------------------------------------------------------

2016-05-30 18:14:31 3088

原创 Error Error occurred running Grails CLI: No profile found for name [web]. (Use --stacktrace to see

我的环境:| Grails Version: 3.1.4| Groovy Version: 2.4.6| JVM Version: 1.7.0_80C:\Users\Administrator>----------------------------------------------------------------------错误信息:D:\Projects\

2016-05-28 22:18:47 6388

原创 Grails在服务类中获取web根目录

参考文章:http://www.oschina.net/code/snippet_1579_2199众所周知在控制器,获取web根目录只要调用以下这行代码就可以了:servletContext.getRealPath("/")然而在服务类中没有servletContext,这下麻烦大了,如何得到servletContext呢?困扰了我好久。。。解法方法:

2016-05-17 09:44:55 2338

原创 java URL根据相对路径获取绝对路径

参考文章:http://jsczxy2.iteye.com/blog/1683516public static String getAbsUrl(String absolutePath, String relativePath){ try { URL absoluteUrl = new URL(absolutePath); URL parseUrl = new URL

2016-05-16 14:25:07 8077

原创 No 'Access-Control-Allow-Origin' header is present on the requested resource.

我的环境:| Grails Version: 3.1.4| Groovy Version: 2.4.6| JVM Version: 1.7.0_80-------------------------------------------------------------------错误信息:XMLHttpRequest cannot load http://xxx. No

2016-05-10 16:22:23 1767

原创 org.hibernate.ObjectNotFoundException: No row with the given identifier exists:

参考文章:http://www.tuicool.com/articles/uuMJbu我的环境:| Grails Version: 3.1.4| Groovy Version: 2.4.6| JVM Version: 1.7.0_80-----------------------------------------------------------------------

2016-05-10 14:40:49 1248

原创 grails在服务类中获取配置文件的值

我的环境:| Grails Version: 3.1.4| Groovy Version: 2.4.6| JVM Version: 1.7.0_80配置文件是:application.yml------------------------------------------------application.yml文件有如下配置内容:topinf

2016-04-27 18:12:54 2089

原创 调用grails领域类save方法没反应,不成功问题

参考文章:http://akunamotata.iteye.com/blog/1742859问题:   今天在调用领域类的save方法时,没有任何反应,数据库没有任何数据,没有任何出错信息,真是奇怪了。。。解决方法:1.在调用领域类的save方法时,判断一下返回值,然后打印错误信息看看是什么原因引起的。if(!xxx.save()){         

2016-04-27 18:06:36 1976

原创 html仿今日头条数据列表

例子代码下载:http://download.csdn.net/detail/friendan/9503019效果截图:收获如下:1、使用Respond.js解决了Bootstrap3栅格系统不兼容IE8的问题。2、知道了如何让两个div盒子完美的左右相邻。---------------------------------------------------------

2016-04-26 14:57:41 10586 1

原创 at org.gradle.wrapper.Download.downloadInternal(Download.java:58)

我的环境:| Grails Version: 3.1.3| Groovy Version: 2.4.6| JVM Version: 1.7.0_80--------------------------------------------------------------------------------------------------今天启动grails项目出现如下

2016-04-25 12:49:10 1200

原创 ionic添加自定义xxx.js控制器文件不生效的问题

我的环境:C:\XXX>ionic -v1.7.14问题描述:1.我在ionic工程中添加了一个test.js文件,内容如下:angular.module('XXX.controllers').controller('TestCtrl', function ($scope, $http, $ionicHistory, $ionicLoading) {

2016-04-19 15:59:37 3069

原创 No Datastore Session bound to thread, and configuration does not allow creation of non-transactional

参考文章:https://stackoverflow.com/questions/31032623/java-lang我的环境:| Grails Version: 3.1.3| Groovy Version: 2.4.6| JVM Version: 1.7.0_80今天在gsp页面查询数据库出现如下错误:java.lang.IllegalStateException

2016-04-19 09:00:36 950

LuaForWindows_v5.1.4-46.rar

LuaForWindows_v5.1.4-46.rar

2020-08-10

NPSWF32调试版本_28_0_r0_161_debug.rar

NPSWF32调试版本_28_0_r0_161_debug.rar

2020-04-06

NPSWF32调试版本_27_0_r0_187_debug.rar

NPSWF32调试版本_27_0_r0_187_debug.rar

2020-04-06

NPSWF32调试版本_26_0_r0_151_debug.rar

NPSWF32调试版本_26_0_r0_151_debug.rar

2020-04-06

NPSWF32调试版本_25_0_r0_171_debug.rar

NPSWF32调试版本_25_0_r0_171_debug.rar

2020-04-06

NPSWF32调试版本_24_0_r0_221_debug.rar

NPSWF32调试版本_24_0_r0_221_debug.rar

2020-04-06

NPSWF32调试版本_23.0_r0.207_debug.rar

NPSWF32调试版本_23.0_r0.207_debug.rar

2020-04-06

NPSWF32调试版本_22_0_r0_209_debug.rar

NPSWF32调试版本_22_0_r0_209_debug.rar

2020-04-06

NPSWF32调试版本_21_0_r0_242_debug.rar

NPSWF32调试版本_21_0_r0_242_debug. g.rar

2020-04-06

NPSWF32调试版本_20_0_r0_306_debug.rar

NPSWF32调试版本_20_0_r0_306_debug.rar

2020-04-06

NPSWF32调试版本_19_0_r0_245_debug.rar

NPSWF32调试版本_19_0_r0_245_debug.rar

2020-04-06

NPSWF32调试版本_18_0_r0_261_debug.rar

NPSWF32调试版本_18_0_r0_261_debug.rar

2020-04-06

NPSWF32调试版本_17_0_r0_191_debug.rar

NPSWF32调试版本_17_0_r0_191_debug.rar r

2020-04-06

NPSWF32调试版本_16_0_r0_305_debug.rar

NPSWF32调试版本_16_0_r0_305_debug.rar

2020-04-06

NPSWF32调试版本_15_0_r0_152_debug.rar

NPSWF32调试版本_15_0_r0_152_debug.rar

2020-04-06

NPSWF32调试版本_14_0_r0_179_debug.rar

NPSWF32调试版本_14_0_r0_179_debug.rar

2020-04-06

NPSWF32调试版本_13_0_r0_231_debug.rar

NPSWF32调试版本_13_0_r0_231_debug.rar

2020-04-06

NPSWF32调试版本_12_0_r0_77_debug.rar

NPSWF32调试版本_12_0_r0_77_debug.rar

2020-04-06

NPSWF32调试版本_11.1.102.55_debug.rar

NPSWF32调试版本_11.1.102.55_debug.rar

2020-04-06

NPSWF32调试版本_10.2.153.1_debug.rar

NPSWF32调试版本_10.2.153.1_debug.rar

2020-04-06

llvm-utils-main.zip

llvm-utils-main.zip

2024-09-03

winhex20.7.rar

winhex20.7.rar winhex20.7.rar winhex20.7.rar

2022-12-28

Unity引擎组件获取通杀方案.zip

Unity引擎组件获取通杀方案.zip

2022-12-22

vs2022离线安装作

vs2022离线安装作

2022-11-12

UltraCompare v21.00.rar

UltraCompare v21.00.rar UltraCompare v21.00.rar UltraCompare v21.00.rar

2021-05-11

SecureCRT_SecureFX_9.0

SecureCRT_SecureFX_9.0.rar SecureCRT_SecureFX_9.0.rar SecureCRT_SecureFX_9.0.rar

2021-03-29

Windows消息查询器.rar

Windows消息查询器.rar Windows消息查询器.rar Windows消息查询器.rar

2021-01-17

IHTMLDocument3HookSrc.rar

IHTMLDocument3HookSrc.rar IHTMLDocument3HookSrc.rar IHTMLDocument3HookSrc.rar

2021-01-05

FiddlerCore.Trial.5.0.0.zip

FiddlerCore.Trial.5.0.0.zip

2020-05-25

fp_11.0.1.152_archive.rar

fp_11.0.1.152_archive.rar

2020-05-20

nginx 1.17.9.1 Unicorn.zip

nginx 1.17.9.1 Unicorn.zip

2020-05-17

腾讯浏览器服务器TBS使用例子.rar

腾讯浏览器服务器TBS使用例子.rar 腾讯浏览器服务器TBS使用例子.rar 腾讯浏览器服务器TBS使用例子.rar

2020-05-04

易语言分析工具.zip

易语言模块反编译工具

2020-04-16

UConnect.rar

UDX UConnect.rar

2020-04-16

神算子偏移计算工具.rar

神算子偏移计算工具.rar

2020-04-15

NPSWF32调试版本.rar

▕ ▕——[9.71MB] 【NPSWF32调试版本_10.2.153.1_debug】 ▕ ▕ ▕——[2.96MB] flashplayer_10_plugin_debug.exe ▕ ▕ ▕——[6.75MB] NPSWF32.dll ▕ ▕ ▕—————————————————————————————————————— ▕ ▕——[13.27MB] 【NPSWF32调试版本_11.1.102.55_debug】 ▕ ▕ ▕——[856 B] flashplayer.xpt ▕ ▕ ▕——[3.90MB] flashplayer_11_plugin_debug_32bit.exe ▕ ▕ ▕——[9.37MB] NPSWF32.dll ▕ ▕ ▕—————————————————————————————————————— ▕ ▕——[35.42MB] 【NPSWF32调试版本_12_0_r0_77_debug】 ▕ ▕ ▕——[856 B] flashplayer.xpt ▕ ▕ ▕——[17.48MB] flashplayer12_0r0_77_win_debug.exe ▕ ▕ ▕——[16.32MB] NPSWF32_12_0_0_77.dll ▕ ▕ ▕——[1.61MB] plugin.vch ▕ ▕ ▕—————————————————————————————————————— ▕ ▕——[34.95MB] 【NPSWF32调试版本_13_0_r0_231_debug】 ▕ ▕ ▕——[856 B] flashplayer.xpt ▕ ▕ ▕——[16.92MB] flashplayer13_0r0_231_win_debug.exe ▕ ▕ ▕——[16.41MB] NPSWF32_13_0_0_231.dll ▕ ▕ ▕——[1.62MB] plugin.vch ▕ ▕ ▕—————————————————————————————————————— ▕ ▕——[36.80MB] 【NPSWF32调试版本_14_0_r0_179_debug】 ▕ ▕ ▕——[856 B] flashplayer.xpt ▕ ▕ ▕——[18.11MB] flashplayer14_0r0_179_win_debug.exe ▕ ▕ ▕——[17.06MB] NPSWF32_14_0_0_179.dll ▕ ▕ ▕——[1.63MB] plugin.vch ▕ ▕ ▕—————————————————————————————————————— ▕ ▕——[34.07MB] 【NPSWF32调试版本_15_0_r0_152_debug】 ▕ ▕ ▕——[856 B] flashplayer.xpt ▕ ▕ ▕——[16.84MB] flashplayer15_0r0_152_win_debug.exe ▕ ▕ ▕——[16.85MB] NPSWF32_15_0_0_152.dll ▕ ▕ ▕——[383.81KB] plugin.vch ▕ ▕ ▕—————————————————————————————————————— ▕ ▕——[34.30MB] 【NPSWF32调试版本_16_0_r0_305_debug】 ▕ ▕ ▕——[856 B] flashplayer.xpt ▕ ▕ ▕——[17.05MB] flashplayer16_0r0_305_win_debug.exe ▕ ▕ ▕——[16.88MB] NPSWF32_16_0_0_305.dll ▕ ▕ ▕——[384.12KB] plugin.vch ▕ ▕ ▕—————————————————————————————————————— ▕ ▕——[34.35MB] 【NPSWF32调试版本_17_0_r0_191_debug】 ▕ ▕ ▕——[856 B] flashplayer.xpt ▕ ▕ ▕——[17.08MB] flashplayer17_0r0_191_win_debug.exe ▕ ▕ ▕——[16.89MB] NPSWF32_17_0_0_191.dll ▕ ▕ ▕——[384.67KB] plugin.vch ▕ ▕ ▕—————————————————————————————————————— ▕ ▕——[35.58MB] 【NPSWF32调试版本_18_0_r0_261_debug】

2020-04-06

NPSWF32调试版本_32_0_r0_330_debug.rar

NPSWF32调试版本_32_0_r0_330_debug.rar

2020-04-06

NPSWF32调试版本_31_0_r0_153_debug.rar

NPSWF32调试版本_31_0_r0_153_debug.rar

2020-04-06

NPSWF32调试版本_30_0_r0_154_debug.rar

NPSWF32调试版本_30_0_r0_154_debug.rar

2020-04-06

NPSWF32调试版本_29_0_r0_171_debug.rar

NPSWF32调试版本_29_0_r0_171_debug.rar

2020-04-06

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除