- 网络安全售前入门09安全服务——安全加固服务
努力工作的网安人
安全服务安全web安全oracle
目录1.服务概述2.流程及工具2.1服务流程2.2服务工具3.服务内容4.服务方式5.风险规避措施6.服务输出1.服务概述安全加固服务是参照风险评估、等保测评、安全检查等工作的结果,基于科学的安全思维方式、长期的安全服务经验积累、对行业的深刻理解、处理安全事件的最佳实践,为客户提供完善的安全加固方案,并在客户侧反馈完成加固后,提供二次评估服务,从而帮助客户达到修补信息系统脆弱性,提高系统安全性,满
- Xshell 打开提示:“Initialize Flexnet Service failed / Error code:50003”简易处理方案
蚊子不吸吸
网络运维WindowsXshell远程工作软件构建
Xshell打开提示:“InitializeFlexnetServicefailedErrorcode:50003”简易处理方案背景:鉴于测试环境使用了openEuler24.03,搭建部署mysql8.4,大家都知v8以上版本做了安全加固策略,所以无论是远程连接mysql的Navicat升级到v12,还是xshellv4&v5还是到v7&v8,都同步做了技术革新升级。关于mysql远程连接我前面
- linux安全配置规范
十年人间~
linux安全服务器
一、概述1.1适用范围本配置规范适用于凝思操作系统,主要涉及LINUX操作系统安全配置方面的基本要求,用于指导LINUX操作系统安全加固工作,落实信息安全等级保护等保三级系统操作系统安全配置,为主机安全配置核查提供依据。1.2实施策略序号配置类别配置项名称实施策略1身份鉴别口令复杂度策略合规2身份鉴别登录失败账户锁定策略合规3身份鉴别口令最长生存期策略合规4身份鉴别SSH登录配置合规5访问控制多余
- 主机安全加固之-openssh版本升级
捞一碗月光-zq
安全
升级openssh之前,为了保证能正常通过工具连接主机,咱们开启telnet服务,通过telnet的方式登录主机一:开启telnet服务1.安装telnet服务[root@localhost~]#yuminstall–ytelnettelnet-serverxinetd2.修改telnet服务配置文件,重启服务centos7.0配置文件为/etc/xinetd.conf,无需修改配合文件中disa
- kali系统概述、nmap扫描应用、john破解密码、抓包概述、以太网帧结构、抓包应用、wireshark应用、nginx安全加固、Linux系统加固
Mick方
安全wiresharklinux
目录kalinmap扫描使用john破解密码抓包封装与解封装网络层数据包结构TCP头部结构编辑UDP头部结构实施抓包安全加固nginx安全防止缓冲区溢出Linux加固kali实际上它就是一个预安装了很多安全工具的DebianLinux[root@myhost~]#kaliresetkaliresetOK.该虚拟机系统用户名为:kali,密码为:kali基础配置$ipas#查看网络IP地址,本例中查
- windows安全加固
爬上云朵摘星星
安全
进行安全加固是为了保护计算机系统和用户数据的安全,windows是广泛使用的操作系统,因此成为了黑客攻击的目标,通过加固windows系统,可以减少系统受到恶意软件,病毒,网络攻击和数据泄露等威胁的风险。windows加固方向账号管理与认证授权1,按用户类型分配账号目的:根据不同需求,设定特定权限账号,设定不同账户和组,管理员,数据库sa,来宾用户等等实施方法:打开win+r,输入lusrmgr.
- Linux系统安全加固指南(万字长文)
架构文摘
内核powerdesignerqemuuefi芯片
本指南旨在说明如何尽可能地加强Linux的安全性和隐私性,并且不限于任何特定的指南。免责声明:如果您不确定自己在做什么,请不要尝试在本文中使用任何内容。本指南仅关注安全性和隐私性,而不关注性能,可用性或其他内容。列出的所有命令都将需要root特权。以“$”符号开头的单词表示一个变量,不同终端之间可能会有所不同。—1—选择正确的Linux发行版选择一个好的Linux发行版有很多因素。避免分发冻结程序
- 在资料甚少的情况下如何做安全加固?
sophiasofia
安全加固安全
前几年,公司要我们做一个安全红线项目,整个公司当时没人做过安全相关项目。现在聊聊我当时是如何在没有做过安全测试的情况下,在网上资料甚少的情况下通过了国际安全标准。一、前期调研1、调研各种扫描工具,到官网联系他们,了解后进行产品比较。安全加固少不了各种安全扫描工具和病毒扫描工具,扫描范围包括web扫描、系统服务器扫描、数据库扫描、端口扫描、病毒扫描、代码安全扫描、中间件扫描等。下面介绍一些国际比较认
- Go语言Gin框架安全加固:全面解析SQL注入、XSS与CSRF的解决方案
鼠鼠我捏,要死了捏
golanggin安全网络安全
前言在使用Gin框架处理前端请求数据时,必须关注安全性问题,以防范常见的攻击。本文将探讨Gin框架中常见的安全问题,并提供相应的处理方法,以确保应用程序的稳健性和安全性。处理前端请求数据时,确保应用程序的安全性是至关重要的。常见的攻击方式包括SQL注入、跨站脚本攻击(XSS)、跨站请求伪造(CSRF)等。下面我们将逐一探讨这些问题及其处理方法。目录编辑前言SQL注入问题描述处理方法跨站脚本攻击(X
- nginx安全加固
寰宇001
1.在Nginx中禁用server_tokens指令该server_tokens指令告诉nginx的错误页面显示其当前版本。这是不可取的,因为您不想与世界共享这些信息,以防止在您的Web服务器由特定版本中的已知漏洞造成的攻击。要禁用server_tokens指令,设定在关闭服务器块内:server{listen192.168.0.88:80;Server_tokensoff;server_name
- Nginx安全加固
姑苏百晓生
安全加固nginxweb安全
本加固文档适用于nginx中间件。明确了nginx安全配置方面的基本要求。一.开启SELinux操作目的防止大多数系统root级攻击检查方法#getsebool–a查看SELinux设置项加固方法#getsebool-a|lessgetsebool-a|grepoffgetsebool-a|grepo然后使用setsebool命令开启需要的配置项记录备注开启SELinux后,在RHEL或CentO
- 在Linux中对Nginx进行安全加固
Jerry 二河小鱼
nginxtomcatredis2024运维服务器linux运维nginx安全
准备工作在IP为x.x.x.x的服务器上安装nginx,确保Linux系统为nginx环境。检查nginx是否配置nginx账号锁定策略配置nginx账号锁定策略,降低被攻击概率。第一步,查看nginx的锁定状态。命令:passwd-Snginx若结果出现“Passwordlocked”,则说明锁定成功。若结果没有出现“Passwordlocked”,则说明没有锁定。这时可以通过执行命令“pass
- 快速提升企业网络安全防御能力
securitypaper
web安全网络服务器
今年的护网工作马上就要开始,作为蓝队马上就要进场为我们的甲方保驾护航,因此用半天时间梳理了一下防护的思路,希望从整体上保证企业平安度过此次护网,尽量不丢分,尽量帮企业多拿分防御体系建设要采用最小化、纵深防御、联合防御才能在演练/日常的安全建设中立于不败之地,主要包括攻击面管理、基础安全加固、安全设备防御、安全检查与响应机制、全员的意识培训方面缩小暴露面对暴露在外网的网盘信息、github上企业相关
- MySQL数据库安全加固方案
sophiasofia
安全加固mysqlmysql数据库安全性测试
数据库版本:MySQL8.0.22按照本安全加固方案进行的数据库加固,一般安全扫描工具扫描出来几乎无漏洞。1.2帐号安全1.2.1避免不同用户间共享帐号参考以下步骤。A.创建用户。mysql>CREATEUSER‘用户名’@‘用户host’IDENTIFIEDBY‘密码’;执行以上命令可以创建一个用户。B.使用以下命令登录MySQL服务。mysql–u用户名-p1.2.2删除无关帐号DELETEF
- centOS/Linux系统安全加固方案手册
sophiasofia
安全加固linuxcentos系统安全安全性测试
服务器系统:centos8.1版本说明:该安全加固手册最适用版本为centos8.1版本,其他服务器系统版本可作为参考。1.账号和口令1.1禁用或删除无用账号减少系统无用账号,降低安全风险。操作步骤使用命令userdel删除不必要的账号。使用命令passwd-l锁定不必要的账号。使用命令passwd-u解锁必要的账号。1.2检查特殊账号检查是否存在空口令和root权限的账号。操作步骤查看空口
- Redis服务安全加固
保爷99
一.背景描述1.漏洞描述Redis因配置不当存在未授权访问漏洞,可以被攻击者恶意利用。在特定条件下,如果Redis以root身份运行,黑客可以给root账号写入SSH公钥文件,直接通过SSH登录受害服务器,从而获取服务器权限和数据。一旦入侵成功,攻击者可直接添加账号用于SSH远程登录控制服务器,给用户的Redis运行环境以及Linux主机带来安全风险,如删除、泄露或加密重要数据,引发勒索事件等。2
- Redis缓存数据库安全加固指导(一)
中间件小哥
DCSRedis
背景在众多开源缓存技术中,Redis无疑是目前功能最为强大,应用最多的缓存技术之一,参考2018年国外数据库技术权威网站DB-Engines关于key-value数据库流行度排名,Redis暂列第一位,但是原生Redis版本在安全方面非常薄弱,很多地方不满足安全要求,如果暴露在公网上,极易受到恶意攻击,导致数据泄露和丢失。本文主要是在原生开源软件Redis3.0基础上,系统的在安全特性方面进行的增
- 网络安全常见中间件(mysql,redis,tomcat,nginx,apache,php)安全加固
网络安全小瞿
中间件安全
常见中间件:mysql,redis,tomcat,nginx,apache,php一.mysql数据库加固1.账号配置删除不需要的数据库账号。DROPUSERuser应按照用户分配帐号,避免不同用户间共享帐号。2.口令安全不使用默认密码和弱密码3.权限配置禁止MySQL以系统管理员账号权限运行,使用非管理员专用账号来运行mysql服务。Windows系统直接打开任务管理器,查看运行mysql进程的
- 2018-12-28 Linux服务器安全加固
阿丧小威
对未经过安全认证的RPM包进行安全检查rpm-qpxxx.rpm--scripts查看rpm包中的脚本信息设定密码策略修改/etc/login.defs配置文件PASS_MAX_DAYS90密码最长有效期PASS_MIN_DAYS10密码修改之间最小的天数PASS_MIN_LEN8密码长度PASS_WARN_AGE7口令失效前多少天开始通知用户修改密码设置密码策略脚本实现设定密码策略#!/bin/
- ubuntu 22安装配置并好安全加固后,普通用户一直登录不上
小韩加油呀
ubuntu安全pam_tally2.sopam_faillick.so
现象ubuntu22安装配置并好安全加固后,普通用户一直登录不上排查报错查看日志/var/log/auth.log发现报错Jan3015:49:57aiv-O-E-Msshd[62570]:PAMunabletodlopen(pam_tally2.so):/lib/security/pam_tally2.so:cannotopensharedobjectfile:Nosuchfileordirec
- Linux系统安全加固规范
知白守黑V
主机安全系统安全LinuxLinux系统加固系统安全Linux系统管理Linux安全合规Linux日志安全Linux权限加固
第1章概述1.1适用范围本配置标准的使用者包括:服务器系统管理员、应用管理员、网络安全管理员。1.2适用版本LINUX系列服务器;第2章账号管理、认证授权2.1账号2.1.1用户口令设置安全基线项目名称操作系统Linux用户口令安全基线要求项安全基线编号SBL-Linux-02-01-01安全基线项说明帐号与口令-用户口令设置检测操作步骤1、询问管理员是否存在如下类似的简单用户密码配置,比如:ro
- 网络设备安全加固脚本自动化部署(01-WLC)
胡菠萝汁
应公司需求,开始每年一度的设备安全加固项目检查部署,网络主要涉及了部分思科交换机、无线控制器、ASA以及其他厂商的一些防火墙(现网主要应用设备)。对于思科的设备,思科自己是有一套现成的自动化管理部署的系统的,就是思科的PICiscoPrimeInfrastructure,可以对思科的设备包括各类的路由器、交换机、无线控制器等,可以实现对这些设备的配置管理、软件管理、告警管理等。系统已经集成了对于思
- 基于openssl v3搭建ssl安全加固的c++ tcpserver
nangonghen
c++ssl安全c++openssl
1概述tcpserver和tcpclient同时使用openssl库,可对通信双方流通的字节序列进行加解密,保障通信的安全。本文以c++编写的tcpserver和tcpclient为例子,openssl的版本为v3。2安装opensslv32.1安装perl-IPC-Cmdopenssl项目中的config脚本需要用到perl-IPC-Cmd工具。yum-yinstallperl-IPC-Cmd2
- snmp默认团体名/弱口令漏洞及安全加固
羌俊恩
安全相关安全网络linux
一、漏洞描述SNMP(简单网络管理协议)被广泛用于计算机操作系统设备、网络设备等领域监测连接到网络上的设备是否有任何引起管理上关注的情况。在运行SNMP服务的设备上,若管理员配置不当运行默认团体名/弱口令访问,将导致敏感信息泄露。敏感不限于系统运行的进程、已安装的软件、系统存在的用户,运行的服务,端口情况等。通过这些信息,攻击者可以清晰的了解到设备整体情况,根据开放的端口和服务快速定位可入侵点,根
- 打造全栈安全服务,华为云网站安全解决方案为什么值得选?
清欢科技
安全华为云
随着企业对于网站安全性意识的崛起,华为云网站安全解决方案也逐渐被更多用户所熟知。据了解,该解决方案综合了华为云多款服务器资源,包含必备的Web应用防火墙、DDoS高防、企业主机安全、云证书管理服务四大云服务器,并且用户还可以根据自己的需求选配数据安全中心、云堡垒机、态势感知等云服务器,在助力企业上云之后,从应用、数据、负载、安全态势四方面对其网站进行安全加固,能够帮助企业构建风险全面可控的网站安全
- 安全加固之MySQL 安全加固
网络安全(阿逸)
#安全加固mysql数据库系统安全网络安全
本文章旨在说明如何尽可能地加强MySQL数据库的安全性和隐私性。免责声明:非专业人员请不要尝试在本文中的任何内容。1、补丁安装操作说明:满足业务正常运行的前提下,安装新版本,修补漏洞检测方法:查看mysql版本信息mysql>SELECTVERSION(),加固方法:安装最新版mysql,http://www.mysql.com回退方法:安装新版本mysql前备份原有版本mysql和数据库文件,回
- 2018-04-18
fireboyforu
#好的习惯从今天开始好的习惯有益于找到自我,脱离无、思考停滞的可怕状态。所以,请您从今天开始每周查看此贴,随时补充并记录历程。#每周1.总结工作2.专业技术是否精进语言:c++,java,python,shell专业:逆向,安全加固,安卓系统思维:##每月读完一本书结交一位好友##每年掌握一种新的语言27盛筵(第二季)
- 系统安全和应用
MUDXT
系统安全安全
一、系统安全加固1.系统账号清理1.将非登录用户shell设为/sbin/nologin2.锁定长期不使用的账号3.删除无用的账号4.锁定账号文件passwd、shadow2.密码安全控制1.设置密码有效期2.要求用户下次登录时修改密码====================设置密码练习===================================3.命令历史限制1.减少记录的命令条数2.
- 2023-2024年度安徽省职业院校技能大赛(中职组) 网络空间安全竞赛试题
旺仔Sec
中职组“网络安全”赛项竞赛安全网络
2023-2024年度安徽省职业院校技能大赛(中职组)网络空间安全竞赛试题(总分1000分)赛题说明一、竞赛项目简介“网络安全”竞赛共分A.基础设施设置与安全加固;B.网络安全事件响应、数字取证调查和应用安全;C.CTF夺旗-攻击;D.CTF夺旗-防御等四个模块。竞赛时间安排和分值权重见表1。表1竞赛时间安排与分值权重模块编号模块名称竞赛时间(小时)合计A基础设施设置与安全加固320%B网络安全事
- LINUX基础第十章:系统安全及应用
渐觉
系统安全安全
一.系统安全加固1.账号安全基本措施1.1系统账号清理将非登录用户的Shell设为/sbin/nologin锁定长期不使用的账号(passwd-l锁定用户;passwd-u解锁用户)删除无用的账号(userdel-r用户名)锁定账号文件passwd、shadow(chattr)chattr+i/etc/passwd/etc/shadowlsattr/etc/passwd/etc/shadow1.1
- PHP,安卓,UI,java,linux视频教程合集
cocos2d-x小菜
javaUIlinuxPHPandroid
╔-----------------------------------╗┆
- zookeeper admin 笔记
braveCS
zookeeper
Required Software
1) JDK>=1.6
2)推荐使用ensemble的ZooKeeper(至少3台),并run on separate machines
3)在Yahoo!,zk配置在特定的RHEL boxes里,2个cpu,2G内存,80G硬盘
数据和日志目录
1)数据目录里的文件是zk节点的持久化备份,包括快照和事务日
- Spring配置多个连接池
easterfly
spring
项目中需要同时连接多个数据库的时候,如何才能在需要用到哪个数据库就连接哪个数据库呢?
Spring中有关于dataSource的配置:
<bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"
&nb
- Mysql
171815164
mysql
例如,你想myuser使用mypassword从任何主机连接到mysql服务器的话。
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%'IDENTIFIED BY 'mypassword' WI
TH GRANT OPTION;
如果你想允许用户myuser从ip为192.168.1.6的主机连接到mysql服务器,并使用mypassword作
- CommonDAO(公共/基础DAO)
g21121
DAO
好久没有更新博客了,最近一段时间工作比较忙,所以请见谅,无论你是爱看呢还是爱看呢还是爱看呢,总之或许对你有些帮助。
DAO(Data Access Object)是一个数据访问(顾名思义就是与数据库打交道)接口,DAO一般在业
- 直言有讳
永夜-极光
感悟随笔
1.转载地址:http://blog.csdn.net/jasonblog/article/details/10813313
精华:
“直言有讳”是阿里巴巴提倡的一种观念,而我在此之前并没有很深刻的认识。为什么呢?就好比是读书时候做阅读理解,我喜欢我自己的解读,并不喜欢老师给的意思。在这里也是。我自己坚持的原则是互相尊重,我觉得阿里巴巴很多价值观其实是基本的做人
- 安装CentOS 7 和Win 7后,Win7 引导丢失
随便小屋
centos
一般安装双系统的顺序是先装Win7,然后在安装CentOS,这样CentOS可以引导WIN 7启动。但安装CentOS7后,却找不到Win7 的引导,稍微修改一点东西即可。
一、首先具有root 的权限。
即进入Terminal后输入命令su,然后输入密码即可
二、利用vim编辑器打开/boot/grub2/grub.cfg文件进行修改
v
- Oracle备份与恢复案例
aijuans
oracle
Oracle备份与恢复案例
一. 理解什么是数据库恢复当我们使用一个数据库时,总希望数据库的内容是可靠的、正确的,但由于计算机系统的故障(硬件故障、软件故障、网络故障、进程故障和系统故障)影响数据库系统的操作,影响数据库中数据的正确性,甚至破坏数据库,使数据库中全部或部分数据丢失。因此当发生上述故障后,希望能重构这个完整的数据库,该处理称为数据库恢复。恢复过程大致可以分为复原(Restore)与
- JavaEE开源快速开发平台G4Studio v5.0发布
無為子
我非常高兴地宣布,今天我们最新的JavaEE开源快速开发平台G4Studio_V5.0版本已经正式发布。
访问G4Studio网站
http://www.g4it.org
2013-04-06 发布G4Studio_V5.0版本
功能新增
(1). 新增了调用Oracle存储过程返回游标,并将游标映射为Java List集合对象的标
- Oracle显示根据高考分数模拟录取
百合不是茶
PL/SQL编程oracle例子模拟高考录取学习交流
题目要求:
1,创建student表和result表
2,pl/sql对学生的成绩数据进行处理
3,处理的逻辑是根据每门专业课的最低分线和总分的最低分数线自动的将录取和落选
1,创建student表,和result表
学生信息表;
create table student(
student_id number primary key,--学生id
- 优秀的领导与差劲的领导
bijian1013
领导管理团队
责任
优秀的领导:优秀的领导总是对他所负责的项目担负起责任。如果项目不幸失败了,那么他知道该受责备的人是他自己,并且敢于承认错误。
差劲的领导:差劲的领导觉得这不是他的问题,因此他会想方设法证明是他的团队不行,或是将责任归咎于团队中他不喜欢的那几个成员身上。
努力工作
优秀的领导:团队领导应该是团队成员的榜样。至少,他应该与团队中的其他成员一样努力工作。这仅仅因为他
- js函数在浏览器下的兼容
Bill_chen
jquery浏览器IEDWRext
做前端开发的工程师,少不了要用FF进行测试,纯js函数在不同浏览器下,名称也可能不同。对于IE6和FF,取得下一结点的函数就不尽相同:
IE6:node.nextSibling,对于FF是不能识别的;
FF:node.nextElementSibling,对于IE是不能识别的;
兼容解决方式:var Div = node.nextSibl
- 【JVM四】老年代垃圾回收:吞吐量垃圾收集器(Throughput GC)
bit1129
垃圾回收
吞吐量与用户线程暂停时间
衡量垃圾回收算法优劣的指标有两个:
吞吐量越高,则算法越好
暂停时间越短,则算法越好
首先说明吞吐量和暂停时间的含义。
垃圾回收时,JVM会启动几个特定的GC线程来完成垃圾回收的任务,这些GC线程与应用的用户线程产生竞争关系,共同竞争处理器资源以及CPU的执行时间。GC线程不会对用户带来的任何价值,因此,好的GC应该占
- J2EE监听器和过滤器基础
白糖_
J2EE
Servlet程序由Servlet,Filter和Listener组成,其中监听器用来监听Servlet容器上下文。
监听器通常分三类:基于Servlet上下文的ServletContex监听,基于会话的HttpSession监听和基于请求的ServletRequest监听。
ServletContex监听器
ServletContex又叫application
- 博弈AngularJS讲义(16) - 提供者
boyitech
jsAngularJSapiAngularProvider
Angular框架提供了强大的依赖注入机制,这一切都是有注入器(injector)完成. 注入器会自动实例化服务组件和符合Angular API规则的特殊对象,例如控制器,指令,过滤器动画等。
那注入器怎么知道如何去创建这些特殊的对象呢? Angular提供了5种方式让注入器创建对象,其中最基础的方式就是提供者(provider), 其余四种方式(Value, Fac
- java-写一函数f(a,b),它带有两个字符串参数并返回一串字符,该字符串只包含在两个串中都有的并按照在a中的顺序。
bylijinnan
java
public class CommonSubSequence {
/**
* 题目:写一函数f(a,b),它带有两个字符串参数并返回一串字符,该字符串只包含在两个串中都有的并按照在a中的顺序。
* 写一个版本算法复杂度O(N^2)和一个O(N) 。
*
* O(N^2):对于a中的每个字符,遍历b中的每个字符,如果相同,则拷贝到新字符串中。
* O(
- sqlserver 2000 无法验证产品密钥
Chen.H
sqlwindowsSQL ServerMicrosoft
在 Service Pack 4 (SP 4), 是运行 Microsoft Windows Server 2003、 Microsoft Windows Storage Server 2003 或 Microsoft Windows 2000 服务器上您尝试安装 Microsoft SQL Server 2000 通过卷许可协议 (VLA) 媒体。 这样做, 收到以下错误信息CD KEY的 SQ
- [新概念武器]气象战争
comsci
气象战争的发动者必须是拥有发射深空航天器能力的国家或者组织....
原因如下:
地球上的气候变化和大气层中的云层涡旋场有密切的关系,而维持一个在大气层某个层次
- oracle 中 rollup、cube、grouping 使用详解
daizj
oraclegroupingrollupcube
oracle 中 rollup、cube、grouping 使用详解 -- 使用oracle 样例表演示 转自namesliu
-- 使用oracle 的样列库,演示 rollup, cube, grouping 的用法与使用场景
--- ROLLUP , 为了理解分组的成员数量,我增加了 分组的计数 COUNT(SAL)
- 技术资料汇总分享
Dead_knight
技术资料汇总 分享
本人汇总的技术资料,分享出来,希望对大家有用。
http://pan.baidu.com/s/1jGr56uE
资料主要包含:
Workflow->工作流相关理论、框架(OSWorkflow、JBPM、Activiti、fireflow...)
Security->java安全相关资料(SSL、SSO、SpringSecurity、Shiro、JAAS...)
Ser
- 初一下学期难记忆单词背诵第一课
dcj3sjt126com
englishword
could 能够
minute 分钟
Tuesday 星期二
February 二月
eighteenth 第十八
listen 听
careful 小心的,仔细的
short 短的
heavy 重的
empty 空的
certainly 当然
carry 携带;搬运
tape 磁带
basket 蓝子
bottle 瓶
juice 汁,果汁
head 头;头部
- 截取视图的图片, 然后分享出去
dcj3sjt126com
OSObjective-C
OS 7 has a new method that allows you to draw a view hierarchy into the current graphics context. This can be used to get an UIImage very fast.
I implemented a category method on UIView to get the vi
- MySql重置密码
fanxiaolong
MySql重置密码
方法一:
在my.ini的[mysqld]字段加入:
skip-grant-tables
重启mysql服务,这时的mysql不需要密码即可登录数据库
然后进入mysql
mysql>use mysql;
mysql>更新 user set password=password('新密码') WHERE User='root';
mysq
- Ehcache(03)——Ehcache中储存缓存的方式
234390216
ehcacheMemoryStoreDiskStore存储驱除策略
Ehcache中储存缓存的方式
目录
1 堆内存(MemoryStore)
1.1 指定可用内存
1.2 驱除策略
1.3 元素过期
2 &nbs
- spring mvc中的@propertysource
jackyrong
spring mvc
在spring mvc中,在配置文件中的东西,可以在java代码中通过注解进行读取了:
@PropertySource 在spring 3.1中开始引入
比如有配置文件
config.properties
mongodb.url=1.2.3.4
mongodb.db=hello
则代码中
@PropertySource(&
- 重学单例模式
lanqiu17
单例Singleton模式
最近在重新学习设计模式,感觉对模式理解更加深刻。觉得有必要记下来。
第一个学的就是单例模式,单例模式估计是最好理解的模式了。它的作用就是防止外部创建实例,保证只有一个实例。
单例模式的常用实现方式有两种,就人们熟知的饱汉式与饥汉式,具体就不多说了。这里说下其他的实现方式
静态内部类方式:
package test.pattern.singleton.statics;
publ
- .NET开源核心运行时,且行且珍惜
netcome
java.net开源
背景
2014年11月12日,ASP.NET之父、微软云计算与企业级产品工程部执行副总裁Scott Guthrie,在Connect全球开发者在线会议上宣布,微软将开源全部.NET核心运行时,并将.NET 扩展为可在 Linux 和 Mac OS 平台上运行。.NET核心运行时将基于MIT开源许可协议发布,其中将包括执行.NET代码所需的一切项目——CLR、JIT编译器、垃圾收集器(GC)和核心
- 使用oscahe缓存技术减少与数据库的频繁交互
Everyday都不同
Web高并发oscahe缓存
此前一直不知道缓存的具体实现,只知道是把数据存储在内存中,以便下次直接从内存中读取。对于缓存的使用也没有概念,觉得缓存技术是一个比较”神秘陌生“的领域。但最近要用到缓存技术,发现还是很有必要一探究竟的。
缓存技术使用背景:一般来说,对于web项目,如果我们要什么数据直接jdbc查库好了,但是在遇到高并发的情形下,不可能每一次都是去查数据库,因为这样在高并发的情形下显得不太合理——
- Spring+Mybatis 手动控制事务
toknowme
mybatis
@Override
public boolean testDelete(String jobCode) throws Exception {
boolean flag = false;
&nbs
- 菜鸟级的android程序员面试时候需要掌握的知识点
xp9802
android
熟悉Android开发架构和API调用
掌握APP适应不同型号手机屏幕开发技巧
熟悉Android下的数据存储
熟练Android Debug Bridge Tool
熟练Eclipse/ADT及相关工具
熟悉Android框架原理及Activity生命周期
熟练进行Android UI布局
熟练使用SQLite数据库;
熟悉Android下网络通信机制,S