黑客派自动签到脚本

本贴最后更新于 1789 天前,其中的信息可能已经时移世异

一个已知问题:脚本会长时间卡住(大概率).多次运行脚本仍无法继续.
问题原因:由于 Invoke-WebRequest 命令使用的是 IE 内核进行 DOM 解析,获取网页之后,会进行 DOM 解析,才能进一步使用 ParsedHtml 方法中的 getElementsByClassName 等网页方法,脚本就卡在了这个地方.
具体原因未知,可能是该站完全放弃了 IE,未进行兼容导致的.

*.ps1 文件

<#

.Synopsis
   自动签到的PowerShell脚本
.DESCRIPTION
   自动签到
.EXAMPLE
   自动签到程序.ps1 [-Task]
   自动签到程序.ps1 [-DelUser] <动态值>
.EXAMPLE
   自动签到程序.ps1 [-WebName] <动态值> [-UserName] <String> [-PassWord] <String>

.INPUTS
   到此 cmdlet 的输入(如果有)
.OUTPUTS
   来自此 cmdlet 的输出(如果有)
.NOTES
   一般注释
.COMPONENT
   此 cmdlet 所属的组件
.ROLE
   此 cmdlet 所属的角色
.FUNCTIONALITY
   最准确描述此 cmdlet 的功能
#>
# 该脚本声明必须在开头,其他函数及命令之前 
# 用于手动添加账号密码
[CmdletBinding(DefaultParameterSetName)] # 设置默认参数组为空
Param(

    [Parameter(ParameterSetName="adds",Position=1,Mandatory=$true)]
    [ValidateNotNullOrEmpty()]
    [string]$UserName,

    [Parameter(ParameterSetName="adds",Position=2,Mandatory=$true)]
    [ValidateNotNullOrEmpty()]
    [string]$PassWord,

    [Parameter(ParameterSetName="Task")]
    [switch]$Task,

    [Parameter(DontShow,ParameterSetName="None")]
    [switch]$None
)

#动态参数
DynamicParam
{
    
    $filepath="$($PSScriptRoot)\cookie.user"
    if (-not (Test-Path -Path $filepath))
    {
        New-Item -ItemType "file" -Path $filepath | Out-Null
    }
    #主
    $PD = New-Object -Type System.Management.Automation.RuntimeDefinedParameterDictionary
    $modName=(Get-ChildItem -Path $($PSScriptRoot) -Name -Include 签到-*.psm1) -replace '签到-','' -replace '.psm1',''
    #$modName=$mods 
    #当有模块时,动态添加模块列表
    if ($modName.Count){
        
        #容器
        $a = New-Object -TypeName System.Collections.ObjectModel.Collection[System.Attribute]
        #属性
        $b = New-Object System.Management.Automation.ParameterAttribute
        $b.Mandatory = $true
        $b.ParameterSetName='adds'
        $b.Position=0
        $b.HelpMessage='可选参数:'+$modName
        $a.Add($b)
        #参数值
        $c=New-Object System.Management.Automation.ValidateSetAttribute($modName)
        $a.Add($c)

        $d = New-Object -TypeName System.Management.Automation.RuntimeDefinedParameter('WebName',[string], $a)
        $PD.Add('WebName', $d)
    }
    #账号删除功能
    [PSObject].Assembly.GetType('System.Management.Automation.TypeAccelerators')::Add('SA', [System.Collections.ArrayList])
    $pp=(Get-Content $filepath) | Convertfrom-Json
    $ar = New-Object -TypeName SA
    foreach ($s in $pp)
    {

        $ar.Add($s.WebName+":"+$s.UserName)|Out-Null
    }
    if ($ar.Count) {

        #容器
        $a = New-Object -TypeName System.Collections.ObjectModel.Collection[System.Attribute]
        #属性
        $b = New-Object System.Management.Automation.ParameterAttribute
        $b.Mandatory = $true
        $b.ParameterSetName='Deleted'
        $a.Add($b)

        #参数值
        $c=New-Object System.Management.Automation.ValidateSetAttribute($ar)
        $a.Add($c)

        $d = New-Object -TypeName System.Management.Automation.RuntimeDefinedParameter('DelUser',[string], $a)
        $PD.Add('DelUser',$d)
    }
    return $PD
}

begin
{
    $T=1
    #cookie存储文件位置
    $filepath="$($PSScriptRoot)\cookie.user"
    if (-not (Test-Path -Path $filepath))
    {
        New-Item -ItemType "file" -Path $filepath | Out-Null
    }
    #签到结果记录路径文件位置
    $LogPath="{0}\Log\" -f $PSScriptRoot
    if (-not (Test-Path -Path $LogPath))
    {
        New-Item -ItemType "directory" -Path $LogPath | Out-Null
    }
    $global:Log="{0}{1:yyyyMMdd}.log" -f $LogPath,(get-date)
    #可用签到模板
    $modName=(Get-ChildItem -Path $($PSScriptRoot) -Name -Include 签到-*.psm1) -replace '签到-','' -replace '.psm1',''
    #所有用户信息
    [array]$pp=(Get-Content $filepath) | Convertfrom-Json
    #添加计划任务
    if ($task)
    {
        # 任务操作   程序 ,工作目录,参数
        $AA = New-ScheduledTaskAction -Execute "PowerShell"  -WorkingDirectory "$($PSScriptRoot)" -Argument "$($Script:MyInvocation.InvocationName)"
        #$BB = New-ScheduledTaskAction -Execute "PowerShell"  -WorkingDirectory "$($PSScriptRoot)" -Argument "-WindowStyle Hidden -Command `"& { Get-WinEvent -FilterHashtable @{LogName='论坛签到';StartTime=(Get-Date -Hour 0 -Minute 0 -Second 1)} | sort  TimeCreated -Descending| SELECT-Object TimeCreated,id,leveldisplayname,ProviderName,message | Out-GridView -Wait -Title 今日签到记录}`""
        $tem=Get-ScheduledTask -TaskName '论坛自动签到任务' -ErrorAction SilentlyContinue -WarningAction SilentlyContinue
        if ($tem)
        {
            if (($tem.Actions.Arguments -eq $AA.Arguments ) -and ($tem.Actions.WorkingDirectory -eq $AA.WorkingDirectory))
            {
                Write-Warning '该计划任务已存在'
            }
        }
        else
        {
            # 触发器    早上6点到晚上23点
            $T = New-ScheduledTaskTrigger -Daily -At 6:0:0  -RandomDelay 17:0:0          
            # 创建者  当前用户名
            $P = New-ScheduledTaskPrincipal "$env:userdomain\$env:username" 
            # 设置集   各种相关设置
            $S = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -WakeToRun -Priority 4 -DontStopIfGoingOnBatteries -DontStopOnIdleEnd -RunOnlyIfNetworkAvailable -MultipleInstances IgnoreNew -StartWhenAvailable -Compatibility win8  -ExecutionTimeLimit 0   -DisallowHardTerminate       
            # 新任务   最后是任务描述  DisallowStartIfOnBatteries
            $D = New-ScheduledTask -Action $AA -Principal $P -Trigger $T -Settings $S  -Description "论坛自动签到脚本"
            # 注册任务     
            Register-ScheduledTask -TaskName "论坛自动签到任务" -InputObject $D |Out-Null
            Write-Host '计划任务已经添加'
        }
        return
    }
    #删除账号
    if ($PSBoundParameters.DelUser)
    {
        $DU=$PSBoundParameters.DelUser -split ":"
        Remove-Item $filepath
        foreach ($s in $pp)
        {
            if (-not(($s.WebName -eq $DU[0]) -and ($s.UserName -eq $DU[1])))
            {
                ConvertTo-Json -Compress -InputObject $s |  Out-File -append $filepath
            }
        }
        return
    }
    "签到脚本开始运行"
    #设置UserAgent
    enum 浏览器
    {
        Chrome
        FireFox
        InternetExplorer
        Opera
        Safari
    }
    function Get-UA ([浏览器]$ua)
    {
        return [Microsoft.PowerShell.Commands.PSUserAgent]::[浏览器]$ua
    }
    $global:UserAgents=Get-UA('Chrome')

    #写入到文件
    function global:Write-file ($Account){
        ConvertTo-Json -Compress -InputObject $Account |  Out-File -append $filepath
    }

    #写入到日志文件
    function global:Write-Log ($Account){
        Out-File -append $Log -InputObject $Account.ToString()
    }

    function global:HttpRest ($S)
    {
        Start-Sleep -Seconds $T
        $b=try{
            Invoke-RestMethod  @s
        }catch{
            $_.Exception.Response
        }
        return $b
    }

    function global:HttpWeb ($S)
    {
        Start-Sleep -Seconds $T
        $b=try{
            Invoke-WebRequest  @s
        }catch{
            $_.Exception.Response
        }
        return $b
    }
    #进行url编码
    function global:UrlEncode ([string]$pa)
    {
        return [uri]::EscapeUriString($pa)
    }

    #添加cookie
    function global:AddCookie($Tok,$WebHost)
    {
        # 创建cookie 数据包
        $Loadion = New-Object Microsoft.PowerShell.Commands.WebRequestSession
        $y=($Tok| Get-Member -MemberType NoteProperty ).Name
        # 循环添加所有 cookie
        foreach ($tk in $y)
        {
            $cookie = New-Object System.Net.Cookie($tk,$Tok.$tk,"",$WebHost)
            $Loadion.Cookies.Add($cookie)
        }
        return $Loadion
    }
    #转换cookie为散列表
    function global:CookieToHashTable ([Microsoft.PowerShell.Commands.WebRequestSession]$cookie,$uri)
    {
        $d=@{}
        $i=$cookie.Cookies.GetCookieHeader($uri)
        $i -split '; '|%{
            $temp=$_ -split '='
            $d.Add($temp[0],$temp[1])
        }
        return $d
    }
    #计算MD5
    function global:MD5
    {
         param
        (
            [parameter(mandatory=$true)]
            [ValidateNotNullOrEmpty()]
            [String] $String
        )
        #希哈计算
        $StringBuilder = New-Object System.Text.StringBuilder
        [System.Security.Cryptography.HashAlgorithm]::Create("MD5").ComputeHash([System.Text.Encoding]::UTF8.GetBytes($String))|%{
            [Void]$StringBuilder.Append($_.ToString("x2"))
        }
        return $StringBuilder.ToString()
    }

    $color=@{
        ForegroundColor='Black'
        BackgroundColor='White'
        NoNewline=$true
    }

    Write-Host -NoNewline "当前可用签到模板: "
    foreach ($item in $modName)
    {
        Write-Host "$item" @color
        Write-Host " " -NoNewline
        import-module "$($PSScriptRoot)\签到-$($item).psm1" -Prefix $item -Force
    }
    Write-Host ''
    #$pp=(Get-Content $filepath) | Convertfrom-Json
    Write-Host -NoNewline "共有 "
    Write-Host -Object $pp.Count  @color
    Write-Host " 个账号`n"

    #通过命令行添加新账号
    if ($PSBoundParameters.Count -eq 3)
    {
        foreach ($item in $pp)
        { #通过遍历,如果输入的用户名已存在,且与网站都吻合,则提示该用户已存在
            if (($item.UserName -eq $PSBoundParameters.UserName) -and  ($item.WebName -eq $PSBoundParameters.WebName))        
            { 
                Write-Warning  "该用户已存在"
                return
            }
        }
        $NewA=&($PSBoundParameters.WebName+'Account')  $PSBoundParameters -news
        $NewA.LogIn()
        if ($NewA.Token)
        {
            "登陆成功"
        }elseif($NewA.Msg){
            $NewA.Msg
#|Format-Table -AutoSize
        }
        return
    }

    #-----------自动签到----------------
    "开始自动签到"
    foreach ($item in $pp)
    {
        #如果该账号缺少对应模块,则直接跳过
        if ($modName -notcontains $item.WebName) {continue}
        $Account=&($item.WebName+'Account') $item
        $Account.CheckIn()
        $Account.Result | Format-Table -AutoSize
        
    }
    Start-Sleep -Seconds 3;pause
}
<#
process
{
    
}
#>
end
{


"运行结束"
}

签到-黑客派.psm1

#网络地址

$WebName='黑客派'

[uri]$login_uri='https://hacpai.com/api/v2/login'
[uri]$login_OTH_uri='https://hacpai.com/api/v2/login/2fa'
[uri]$user_info_uri='https://hacpai.com/api/v2/user/{0}'
#[uri]$user_point_uri='https://hacpai.com/api/v2/notifications/point?p=1'
[uri]$user_checkin_uri='https://hacpai.com/activity/checkin'
$WebHost=$login_uri.Host

#网络连接的基类
class GetWeb:Hashtable
{
    [uri]$Uri
    [validateset("Get", "Post", "Head")]
    [string]$Method='Get'
    hidden [int] $TimeoutSec
    hidden [string] $UserAgent

    GetWeb ([uri]$uri) {
        [uri]$this.Uri=$uri
        $this.Method='Get'
        $this.TimeoutSec= 7
        $this.UserAgent=$global:UserAgents
    }
}

class Result
{
    [string]$WebName=$Script:WebName
    [string]$UserName=$UserName
    [int]$StatusCode=-1
    [string]$Status
    [int]$Sc=-1
    [string]$Msg
    [int]$Points=-1
    [int]$AllPoint=-1
    [int]$Now=-1
    [int]$Long=-1
    Result($UserName){}
    [string]ToString(){
        $g="时间: {0:HH:mm′ss″}`t网站: {1}`t用户: {2}`t积分: {3}({4})`t次数: {5}/{6}" -f (get-date),$this.WebName,$this.UserName,$this.AllPoint,$this.points,$this.now,$this.Long 
        return $g
    }
}

class WebSession:GetWeb
{
    $WebSession

    WebSession ([uri]$uri,$WebSession):base($uri){
        $this.WebSession=$WebSession
    }

}

class PostAndWebSession:WebSession
{
    $WebSession
    PostAndWebSession ([uri]$uri,$WebSession):base($uri,$WebSession){
        $this.Method='Post'
    }
}

#用于登录的body
class login_Body
{
    [string]$userName
    [string]$userPassword
    $captcha
    login_Body ([string]$userName,[string]$MD5) {
        $this.userName=$userName
        $this.userPassword=$MD5
        $this.captcha=$NULL
    }
}

class Head:Hashtable
{
    [string]$Referer
    Head(){
        $this.Referer=$Script:user_checkin_uri
    }
}

#post加body
class PostAndBody:GetWeb
{
    $Body
    PostAndBody ([uri]$uri,$body):base($uri){
        $this.Method='Post'
        $this.Body=$body
    }
}

#发送两步验证的请求参数
class PostAndBodyAndWebSession:PostAndBody
{
    $WebSession
    PostAndBodyAndWebSession ([uri]$uri,$body,$WebSession):base($uri,$body){
        $this.WebSession=$WebSession
    }
}

#建立以用户为主的类,其中包含登录,签到等网络操作的方法
 class 账户:Hashtable
 {
    [string]$WebName=$Script:WebName
    [ValidateNotNullOrEmpty()]
    [string]$UserName
    [ValidateNotNullOrEmpty()]    
    [string]$MD5
    [PSCustomObject]$Token
    #输入方式添加
    账户 ([string]$username,[string]$userPassword){
        $this.WebName=$Script:WebName
        $this.UserName=$username
        $this.MD5=MD5($userPassword)
        #$this.Result=[Result]::new($UserName)
    }
    #从文件读取
    账户 ([PSCustomObject]$Account){
        $this.WebName=$Script:WebName
        $this.UserName=$Account.UserName
        $this.MD5=$Account.MD5
        $this.Token=$Account.Token
        $this.Result=[Result]::new($Account.UserName)
    }
    #登录
    LogIn()
    {
        $body=[login_Body]::new($this.UserName,$this.MD5)
        $login=[PostAndBody]::new($Script:login_uri,$body)
        
        $b=HttpRest $login

        if ($b.sc -ne $NULL)
        {
            switch ($b.sc)
            {
                0 
                {
                    $this.Token=@{symphony=$b.token}
                    Write-file -Account $this
                    return
                }
                10 
                {#两步验证
                    $r = new-object psobject -Property @{symphony=$b.token}
                    $this.OTH($r)
                    return
                }
                Default 
                {
                    $this.Sc=$b.sc
                    $this.Msg=$b.msg
                }
            }
        }elseif($b.StatusCode.value__ -ne $NULL){
            $this.StatusCode=$b.StatusCode.value__
            $this.Status=$b.StatusCode
            switch ($b.StatusCode.value__)
            {
                401 
                {
                    $this.Status='需要登录'
                    return
                }
                403 
                {
                    $this.Status='权限不足'
                    return
                }
            }
        }
    }

    #两步验证
    hidden OTH ($r) 
    {
        $Loadion=AddCookie -Tok $r -WebHost $Script:WebHost
        $OTH = Read-Host '两步验证码'
        $body=@{twofactorAuthCode=$OTH}
        $TOTH=[PostAndBodyAndWebSession]::new($Script:login_OTH_uri,$body,$Loadion)
        $c=HttpRest $TOTH

        if ($c.sc -ne $NULL)
        {
            switch ($c.sc)
            {
                0
                {
                    $this.Token=@{symphony=$c.token}
                    Write-file -Account $this
                    return
                }
                Default 
                {
                    $this.Sc=$c.sc
                    $this.Msg=$c.msg
                }
            }
        }elseif($c.StatusCode.value__ -ne $NULL){
            $this.StatusCode=$c.StatusCode.value__
            $this.Status=$c.StatusCode
            switch ($c.StatusCode.value__)
            {
                401 
                {
                    $this.Msg='需要登录'
                    return
                }
                403 
                {
                    $this.Msg='权限不足'
                    return
                }
            }
        }
    }

    #主要的签到操作流程
    CheckIn()
    {
        $this.Loadion=AddCookie -Tok $this.Token -WebHost $Script:WebHost
        $this.get_check_uri()
        $this.get_info()
        Write-Log $this.Result
    }

    #获取积分信息
    hidden get_info()
    {
        $e=[WebSession]::new($Script:user_info_uri -f $this.UserName,$this.Loadion)
        $q=HttpRest $e
        if ($q.sc -ne $NULL)
        {
            $this.Result.Sc=$q.sc
            $this.Result.Msg=$q.msg
            if ($q.sc -eq 0)
            {
                $this.Result.Long=$q.data.user.userLongestCheckinStreak
                $this.Result.Now=$q.data.user.userCurrentCheckinStreak
                $this.Result.AllPoint=$q.data.user.userPoint
                return
            }
        }elseif($q.StatusCode.value__ -ne $NULL){
            $this.Result.StatusCode=$q.StatusCode.value__
            $this.Result.Status=$q.StatusCode
            switch ($q.StatusCode.value__)
            {
                401 
                {
                    $this.Result.Msg='需要登录'
                    return
                }
                403 
                {
                    $this.Result.Msg='权限不足'
                    return
                }
            }
        }
    }

    #获取签到地址
    hidden get_check_uri()
    {
        $e=[WebSession]::new($Script:user_checkin_uri,$this.Loadion)
        $e2=$e.Clone()
        $s=HttpWeb $e 

        $this.Result.StatusCode=$s.StatusCode
        $this.Result.Status=$s.StatusDescription
        :ss switch ($s.StatusCode)
        {
            200
            {
                $re=$s.ParsedHtml.body.getElementsByClassName('btn green')[0].href
                if ($re)
                {
                    $e.Uri=$re
                    $e.Headers=[head]::new()
                    Break :ss
                }
            }
            401 
            {
                $this.Result.Msg='需要登录'
                return
            }
            403 
            {
                $this.Result.Msg='权限不足'
                return
            }
        }

        $s=HttpWeb $e
        $this.Result.StatusCode=$s.StatusCode
        $this.Result.Status=$s.StatusDescription
        switch ($s.StatusCode)
        {
            200 
            {
                $re=$s.ParsedHtml.body.getElementsByTagName('code')[0].innerText
                if ($re)
                {
                    $this.Result.Points=$re
                    return
                }
            }
            401 
            {
                $this.Result.Msg='需要登录'
                return
            }
            403 
            {
                $this.Result.Msg='权限不足'
                return
            }
        }
    }
}

function Account ()
{
    param
    (
        $Account,
        [switch] $news
    )

    if ($news){
        $f=[账户]::new($Account.UserName,$Account.PassWord)
    }else{
        $f=[账户]::new($Account)
    }
    return $f
}

Export-ModuleMember -Function Account
  • 黑客派

    黑客派是 B3log 开源社区的线上论坛,这里主要汇聚了程序员和设计师。HacPai 分别取 Hacker / Painter 的头三个字母组成,源自《黑客与画家》。

    358 引用 • 4754 回帖 • 510 关注
  • 签到
    38 引用 • 383 回帖 • 10 关注
2 操作
YxxXlv0COaxl 在 2019-05-27 20:14:45 更新了该帖
YxxXlv0COaxl 在 2019-05-26 13:53:58 更新了该帖

相关帖子

欢迎来到这里!

我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。

注册 关于
请输入回帖内容 ...

推荐标签 标签

  • 知乎

    知乎是网络问答社区,连接各行各业的用户。用户分享着彼此的知识、经验和见解,为中文互联网源源不断地提供多种多样的信息。

    10 引用 • 66 回帖
  • CAP

    CAP 指的是在一个分布式系统中, Consistency(一致性)、 Availability(可用性)、Partition tolerance(分区容错性),三者不可兼得。

    11 引用 • 5 回帖 • 563 关注
  • WiFiDog

    WiFiDog 是一套开源的无线热点认证管理工具,主要功能包括:位置相关的内容递送;用户认证和授权;集中式网络监控。

    1 引用 • 7 回帖 • 547 关注
  • Elasticsearch

    Elasticsearch 是一个基于 Lucene 的搜索服务器。它提供了一个分布式多用户能力的全文搜索引擎,基于 RESTful 接口。Elasticsearch 是用 Java 开发的,并作为 Apache 许可条款下的开放源码发布,是当前流行的企业级搜索引擎。设计用于云计算中,能够达到实时搜索,稳定,可靠,快速,安装使用方便。

    116 引用 • 99 回帖 • 265 关注
  • Jenkins

    Jenkins 是一套开源的持续集成工具。它提供了非常丰富的插件,让构建、部署、自动化集成项目变得简单易用。

    51 引用 • 37 回帖
  • CSS

    CSS(Cascading Style Sheet)“层叠样式表”是用于控制网页样式并允许将样式信息与网页内容分离的一种标记性语言。

    180 引用 • 447 回帖 • 1 关注
  • Spark

    Spark 是 UC Berkeley AMP lab 所开源的类 Hadoop MapReduce 的通用并行框架。Spark 拥有 Hadoop MapReduce 所具有的优点;但不同于 MapReduce 的是 Job 中间输出结果可以保存在内存中,从而不再需要读写 HDFS,因此 Spark 能更好地适用于数据挖掘与机器学习等需要迭代的 MapReduce 的算法。

    74 引用 • 46 回帖 • 549 关注
  • Postman

    Postman 是一款简单好用的 HTTP API 调试工具。

    4 引用 • 3 回帖 • 1 关注
  • 宕机

    宕机,多指一些网站、游戏、网络应用等服务器一种区别于正常运行的状态,也叫“Down 机”、“当机”或“死机”。宕机状态不仅仅是指服务器“挂掉了”、“死机了”状态,也包括服务器假死、停用、关闭等一些原因而导致出现的不能够正常运行的状态。

    13 引用 • 82 回帖 • 38 关注
  • OpenShift

    红帽提供的 PaaS 云,支持多种编程语言,为开发人员提供了更为灵活的框架、存储选择。

    14 引用 • 20 回帖 • 602 关注
  • 钉钉

    钉钉,专为中国企业打造的免费沟通协同多端平台, 阿里巴巴出品。

    15 引用 • 67 回帖 • 370 关注
  • JetBrains

    JetBrains 是一家捷克的软件开发公司,该公司位于捷克的布拉格,并在俄国的圣彼得堡及美国麻州波士顿都设有办公室,该公司最为人所熟知的产品是 Java 编程语言开发撰写时所用的集成开发环境:IntelliJ IDEA

    18 引用 • 54 回帖
  • MySQL

    MySQL 是一个关系型数据库管理系统,由瑞典 MySQL AB 公司开发,目前属于 Oracle 公司。MySQL 是最流行的关系型数据库管理系统之一。

    675 引用 • 535 回帖
  • 支付宝

    支付宝是全球领先的独立第三方支付平台,致力于为广大用户提供安全快速的电子支付/网上支付/安全支付/手机支付体验,及转账收款/水电煤缴费/信用卡还款/AA 收款等生活服务应用。

    29 引用 • 347 回帖 • 1 关注
  • CodeMirror
    1 引用 • 2 回帖 • 114 关注
  • FreeMarker

    FreeMarker 是一款好用且功能强大的 Java 模版引擎。

    23 引用 • 20 回帖 • 427 关注
  • CentOS

    CentOS(Community Enterprise Operating System)是 Linux 发行版之一,它是来自于 Red Hat Enterprise Linux 依照开放源代码规定释出的源代码所编译而成。由于出自同样的源代码,因此有些要求高度稳定的服务器以 CentOS 替代商业版的 Red Hat Enterprise Linux 使用。两者的不同在于 CentOS 并不包含封闭源代码软件。

    238 引用 • 224 回帖 • 1 关注
  • Node.js

    Node.js 是一个基于 Chrome JavaScript 运行时建立的平台, 用于方便地搭建响应速度快、易于扩展的网络应用。Node.js 使用事件驱动, 非阻塞 I/O 模型而得以轻量和高效。

    138 引用 • 268 回帖 • 199 关注
  • Hibernate

    Hibernate 是一个开放源代码的对象关系映射框架,它对 JDBC 进行了非常轻量级的对象封装,使得 Java 程序员可以随心所欲的使用对象编程思维来操纵数据库。

    39 引用 • 103 回帖 • 681 关注
  • C

    C 语言是一门通用计算机编程语言,应用广泛。C 语言的设计目标是提供一种能以简易的方式编译、处理低级存储器、产生少量的机器码以及不需要任何运行环境支持便能运行的编程语言。

    83 引用 • 165 回帖 • 47 关注
  • Tomcat

    Tomcat 最早是由 Sun Microsystems 开发的一个 Servlet 容器,在 1999 年被捐献给 ASF(Apache Software Foundation),隶属于 Jakarta 项目,现在已经独立为一个顶级项目。Tomcat 主要实现了 JavaEE 中的 Servlet、JSP 规范,同时也提供 HTTP 服务,是市场上非常流行的 Java Web 容器。

    162 引用 • 529 回帖
  • SMTP

    SMTP(Simple Mail Transfer Protocol)即简单邮件传输协议,它是一组用于由源地址到目的地址传送邮件的规则,由它来控制信件的中转方式。SMTP 协议属于 TCP/IP 协议簇,它帮助每台计算机在发送或中转信件时找到下一个目的地。

    4 引用 • 18 回帖 • 589 关注
  • BookxNote

    BookxNote 是一款全新的电子书学习工具,助力您的学习与思考,让您的大脑更高效的记忆。

    笔记整理交给我,一心只读圣贤书。

    1 引用 • 1 回帖 • 2 关注
  • Sillot

    Sillot (汐洛)孵化自思源笔记,致力于服务智慧新彖乄,具有彖乄驱动、极致优雅、开发者友好的特点
    Github 地址:https://github.com/Hi-Windom/Sillot

    14 引用 • 4 回帖 • 26 关注
  • 资讯

    资讯是用户因为及时地获得它并利用它而能够在相对短的时间内给自己带来价值的信息,资讯有时效性和地域性。

    53 引用 • 85 回帖
  • Typecho

    Typecho 是一款博客程序,它在 GPLv2 许可证下发行,基于 PHP 构建,可以运行在各种平台上,支持多种数据库(MySQL、PostgreSQL、SQLite)。

    12 引用 • 60 回帖 • 470 关注
  • 机器学习

    机器学习(Machine Learning)是一门多领域交叉学科,涉及概率论、统计学、逼近论、凸分析、算法复杂度理论等多门学科。专门研究计算机怎样模拟或实现人类的学习行为,以获取新的知识或技能,重新组织已有的知识结构使之不断改善自身的性能。

    76 引用 • 37 回帖