Quantcast
Browsing all 11063 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

基于javaConfig和注解配置Spring Security

  Spring Security 借助一系列Servlet Filter 来提供安全性功能,但是借助Spring的小技巧,我们只需要配置一个Filer就可以了,DelegatingFilterProxy是一个特殊的Servlet Filter,它本身所做的工作并不多,只是将工作委托给一个javax.servlet.Filter 的实现类,这个实现类作为一个bean注册再Spring应用的上下文中。...

View Article


Image may be NSFW.
Clik here to view.

SpringMVC源码分析之拦截器

一个东西用久了,自然就会从仅使用的层面上升到探究其原理的层面,在javaweb中springmvc更是如此,越是优秀的框架,其底层实现代码更是复杂,而在我看来,一个优秀程序猿就相当于一名武林高手,不断进阶武功秘籍,越是高深莫测的功夫,越是要探究其原理,而springmvc就是一本十分深奥的武功秘籍。说起拦截器,说不得不和过滤器进行对比,在此贴图一张不进行多加解释,简单的来说拦截器能作用于contro...

View Article


Image may be NSFW.
Clik here to view.

使用Java配置搭建SSH框架

时代在不断进步,大量基于xml的配置所带来的弊端也显而易见,在XML配置和直接注解式配置之外还有一种有趣的选择方式-JavaConfig,它是在Spring 3.0开始从一个独立的项目并入到Spring中的。它结合了XML的解耦和JAVA编译时检查的优点。JavaConfig可以看成一个XML文件,只不过是使用Java编写的。现在下面为大家展示如何编写基于java Config 配置...

View Article

Image may be NSFW.
Clik here to view.

快速学会JavaScript中的闭包

javascript中的闭包前面的话:  闭包,是 javascript 中重要的一个概念,对于初学者来讲,闭包是一个特别抽象的概念,特别是ECMA规范给的定义,如果没有实战经验,你很难从定义去理解它。下面是作者从作用域链慢慢讲到闭包以及在后面提到了一些闭包的高级用法。下面大家一起来学习Javascript中的闭包。谈一谈JavaScript作用域链...

View Article

Image may be NSFW.
Clik here to view.

C及C++中typedef的简单使用指南

又是在学数据结构的时候,发现了之前学习的知识遗忘很多,在发现对C/C++中关键字typedef的理解还是没有到位后,我翻阅了学C++用到的课本,又问了度娘,也看了不少关于typedef用法的博客。于是我就想把我理解的东西整理下来。一.基本解释...

View Article


Kali Linux信息收集脆弱性分析漏洞利用之cisco-torch

0x00 cisco-torch介绍 Cisco Torch是集大规模扫描,指纹识别和利用工具的下一代“黑掉暴露的思科网络”工具,开发它的原因是上市场上提供的工具不能满足我们的需要。...

View Article

Image may be NSFW.
Clik here to view.

UCS Director System Policies

UCS Director System Policies are kind of a catch all for any settings that need to be defined prior to a virtual machine being deployed, and that don’t fit into a neat little category like Network,...

View Article

Linux 新手应该知道的 26 个命令

当你进入了 linux 的世界,在下载、安装 了某个 Linux 发行版,体验了 Linux 桌面并安装了一些你喜爱和需要的软件之后,应该去了解下 Linux 真正的魅力所在: 命令行 。每一个 Linux 命令其实就是一个程序,借助这些命令,我们可以办到非常多的事情。下面将会为大家介绍一下几个常用的命令。 如何寻求帮助? 在 Linux 下遇到问题, 最重要的是要自己寻求帮助...

View Article


软链接和硬链接的区别

什么是链接文件? 使用 windows的朋友们应该会经常接触到快捷方式吧!它也就是能让我们快速的打开一个目标应用程序,文件,或者文件夹来使我们的操作更加快捷。那么下面我们就来简单聊聊linux上的“链接文件”吧! 在 linux上什么是链接文件呢?这里我们通过一条命令来查看一下: 示例: [root@Echo /]# ll lib lrwxrwxrwx. 1 root root 7 Oct 8...

View Article


A bit on Tooling

Last weekend, I finished the construction part of my garden shed. The last bit mostly playing with the circular saw, taking rough boards and making them square, then angling them so that they would...

View Article

Image may be NSFW.
Clik here to view.

‘Why Use Linux?’ Answered In 3 Short Words

This post is not a typical post. I’m not going to change your life, or teach you a new trick. Instead I’m going to dragyou down the rabbit hole… I had to Google a rather drygrammatical enquiry from my...

View Article

Image may be NSFW.
Clik here to view.

Hands on with the Nextcloud Box

If you’ve been here before you’ll have no doubt seen any one of several mentions I’ve made of Nextcloud; it’s a fantastic self-hosted platform and my go-to when recommending a do-it-yourself...

View Article

Image may be NSFW.
Clik here to view.

AOT-compiled Jake2 Runs on a Raspberry Pi 3

The first-ever release of Excelsior JET for linux/ARM is rapidly approaching the end of what we informally call a “release period”, or RP for short. Roughly speaking, it is the period between the...

View Article


Image may be NSFW.
Clik here to view.

Apache on Ubuntu Linux For Beginners: Part 2

You must set up your Apache web server to use SSL, so that your site URL is https:// and not http://. Sure, there are exceptions, such as test servers and lone LAN servers that only you and your cat...

View Article

How to find and remove unused packages in Linux

Tired of running of low disk space? You may need to check for unused packages, in other term orphaned packages , filled in your hard drive. Orphaned (unused) packages are nothing but the packages...

View Article


Image may be NSFW.
Clik here to view.

An Introduction to Hypervisors

Hypervisors are becoming commonplace in the embedded world, especially in high-end multi-core systems. If you’d asked me about virtualisation or hypervisors 2 years ago, like most people I didn’t know...

View Article

Image may be NSFW.
Clik here to view.

New XO virtual Appliance

In the next weeks, we'll release a new version of the virtual appliance itself, which is running Xen Orchestra. This new appliance will be unified, more secure, faster and easier to use. Let's see why!...

View Article


Image may be NSFW.
Clik here to view.

Kali Linux信息收集之Cookie Cadger

0x00 Cookie Cadger介绍 Cookie Cadger有助于识别使用不安全HTTP GET请求应用程序中的泄漏的信息。 自2010年Firesheep发布以来,网络提供商已开始逐步升级。如今,大多数主要网站可以在都在使用SSL/TLS协议,防止Cookie数据通过有线以太网或不安全的Wi-Fi泄漏。但实际上是,Firesheep更多的只是一个玩具,而不是一个工具。 Cookie...

View Article

Image may be NSFW.
Clik here to view.

Linux系统安装MySql步骤及截屏

如需转载请联系听云College团队成员小尹 邮箱:yinhy#tingyun.com 如下是我工作中的记录,介绍的是linux系统下使用官方编译好的二进制文件进行安装mysql的安装过程和安装截屏,这种安装方式速度快,安装步骤简单! 需要的朋友可以按照如下步骤进行安装,可以快速安装MySql,希望可以帮助大家:)! 1、下载mysql的linux版本的二进制安装包: 地址:...

View Article

Image may be NSFW.
Clik here to view.

揭开链接文件的面纱――从根本上剖析硬链接与软链接异同

在linux的学习过程中,链接文件的学习让不少人头疼,很多同学往往分不清什么是硬链接,什么是软链接,对于两者的概念和区别常常容易混淆、搞不清楚。今天我们就从原理、从根本上为大家辨析一些两者之间的区别,相信大家在看完这篇文章之后对链接文件会有一个清晰正确的认识。 1、在实现原理上不同...

View Article
Browsing all 11063 articles
Browse latest View live