不灭的火

革命尚未成功,同志仍须努力下载JDK17

作者:AlbertWen  添加时间:2013-06-26 11:57:41  修改时间:2025-07-26 06:45:36  分类:06.Linux软件安装  编辑

下载了一个免费开源的广告系统(openadserver),在Linux上安装时,提示要安装 pdo_mysql 扩展,先前有过编译安装 soap扩展 的经历,今天要编译安装 pdo_mysql 扩展,应该不难吧!

参考文献如下:

PHP5不重新编译,如何安装自带的未安装过的扩展,如soap扩展?

作者:AlbertWen  添加时间:2015-11-16 21:56:01  修改时间:2025-07-24 11:36:57  分类:电脑/软件使用  编辑

第一步:配置 git.exe

File -> Default Settings -> Version Control -> Git -> Path go Git executable: D:\Program Files\Git\bin\git.exe

第二步:clone 项目

作者:AlbertWen  添加时间:2013-04-08 09:47:05  修改时间:2025-07-07 05:54:23  分类:08.Java基础  编辑

起初你或许会认为是一个莫名其妙的错误,因为代码根本一点问题的都没有,可运行期间总是报这个错,比较郁闷。

出现Could not find the main class.program will exitjava.lang.UnsupportedClassVersionError 错误的原因,是因为我们使用高版本的JDK编译的Java class文件试图在较低版本的JVM上运行,所报的错误。

因为,高版本的JDK生成的class文件使用的格式,可能与低版本的JDK的.class文件格式不同。这样,低版本的JVM无法解释执行这个.class文件,会抛出Could not find the main class.program will exit,java.lang.UnsupportedClassVersionError不支持的Class版本错误。

作者:AlbertWen  添加时间:2014-03-21 23:11:00  修改时间:2025-07-13 13:16:06  分类:电脑/软件使用  编辑

有些系统下load putty key (加载 putty) 置灰,不可用。

解决:

After installation, under 
Settings > Network > SSH:SSH Client = C:\Program Files (x86)\TortoiseGit\bin\TortoiseGitPLink.exe

作者:AlbertWen  添加时间:2017-10-29 20:54:00  修改时间:2025-06-25 08:47:40  分类:招聘/面试/总结  编辑

1、写出下面代码输出内容

package main

import (
    "fmt"
)

func main() {
    defer_call()
}

func defer_call() {
    defer func() { fmt.Println("打印前") }()
    defer func() { fmt.Println("打印中") }()
    defer func() { fmt.Println("打印后") }()

    panic("触发异常")
}  
作者:AlbertWen  添加时间:2017-10-27 13:06:47  修改时间:2025-07-23 20:08:20  分类:14.Golang/Ruby  编辑

一、数组

与其他大多数语言类似,Go语言的数组也是一个元素类型相同的定长的序列。

(1)数组的创建

数组有 3 种创建方式:

1) [length]Type

2) [length]Type{value1, value2, ... , valueN}

作者:AlbertWen  添加时间:2018-08-12 10:29:15  修改时间:2025-06-25 04:31:31  分类:MySQL/Redis  编辑

本文通过实例介绍了MySQL中的group_concat函数的使用方法,比如select group_concat(name) 。

作者:AlbertWen  添加时间:2013-04-07 17:38:46  修改时间:2025-07-07 05:54:08  分类:08.Java基础  编辑

DBAccess.java :

数据库访问操作类

作者:AlbertWen  添加时间:2018-12-30 11:19:09  修改时间:2025-07-26 06:27:45  分类:08.Java基础  编辑

用 IDEA 搭建 JFinal Demo 项目,使用 druid 访问数据库,相应的 maven 依赖配置,JFinal 插件都配置了,但IDEA启动调试的时候报错:

[com.alibaba.druid.pool.DruidDataSource] - {dataSource-1} init error

作者:AlbertWen  添加时间:2013-04-07 14:40:13  修改时间:2025-07-08 18:20:33  分类:06.前端/Vue/Node.js  编辑
常用的 JavaScript 检测浏览器为 IE 是哪个版本的代码,包括是否是最人极端厌恶的 ie6 识别与检测。
var isIE=!!window.ActiveXObject;
var isIE6=isIE&&!window.XMLHttpRequest;
var isIE8=isIE&&!!document.documentMode;
var isIE7=isIE&&!isIE6&&!isIE8;
if (isIE){
    if (isIE6){
        alert("ie6");
    }else if (isIE8){
        alert("ie8");
    }else if (isIE7){
        alert("ie7");
    }
}