Skip to content

Instantly share code, notes, and snippets.

View eagleon's full-sized avatar
🌴
On vacation

eagleon eagleon

🌴
On vacation
View GitHub Profile
@eagleon
eagleon / iframe.html
Last active March 20, 2016 01:51
iframe测试
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, user-scalable=yes" />
<script type="text/javascript">
function a()
@eagleon
eagleon / REST spring mvc.md
Created February 22, 2016 06:27
spring mvc支持 put, delete 提交方法

http://blog.csdn.net/mr__fang/article/details/9086201

<filter>
    <filter-name>HiddenHttpMethodFilter</filter-name>
    <filter-class>org.springframework.web.filter.HiddenHttpMethodFilter</filter-class>
</filter>
<filter-mapping>
    <filter-name>HiddenHttpMethodFilter</filter-name>
 dbproxymanage
@eagleon
eagleon / devops.md
Last active September 6, 2016 02:55
各种工具

Blog:http://www.simlinux.com
Weibo:http://weibo.com/geekwolf

Bootstrapping: Kickstart、Cobbler、rpmbuild/xen、kvm、lxc、Openstack、 Cloudstack、Opennebula、Eucalyplus、RHEV
配置类工具: Capistrano、Chef、puppet、func、salstack、Ansible、rundeck、CFengine、Rudder
自动化构建和测试: Ant、Maven、Selenium、PyUnit、QUnit、JMeter、Gradle、PHPUnit
监控类工具: Cacti、Nagios(Icinga)、Zabbix、基于时间监控前端Grafana、Mtop、MRTG(网络流量监控图形工具)、Monit 、Diamond+Graphite+Grafana
微服务平台: OpenShift、Cloud Foundry、Kubernetes、Mesosphere

@eagleon
eagleon / jdk.md
Created November 7, 2015 18:05
ubuntu通过apt 安全jdk

#Introduction

As a lot of articles and programs require to have Java installed, this article will guide you through the process of installing and managing different versions of Java.

#Installing default JRE/JDK This is the recommended and easiest option. This will install OpenJDK 6 on Ubuntu 12.04 and earlier and on 12.10+ it will install OpenJDK 7.

Installing Java with apt-get is easy. First, update the package index:

@eagleon
eagleon / floor.html
Created August 9, 2015 09:45
电梯楼层
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>电梯楼层</title>
<script type="text/javascript" src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script>
<script>
$(function(){
$(window).scroll(function(){
var num=0;
@eagleon
eagleon / list.json
Created July 12, 2015 12:14
python mock
[
{
"id": 1,
"url": "http://abruzzi.github.com/2015/03/list-comprehension-in-python/",
"title": "Python中的 list comprehension 以及 generator",
"publicDate": "2015年3月20日"
},
{
"id": 2,
"url": "http://abruzzi.github.com/2015/03/build-monitor-script-based-on-inotify/",
@eagleon
eagleon / sublime_plugin.md
Created July 4, 2015 14:05
sublime text常用插件推荐

#sublime text常用插件推荐

插件

  • ALL Autocomplete
  • FileSystem Autocompitation
  • Markdown Preview

主题

  • DC
@eagleon
eagleon / nginx.md
Created July 2, 2015 02:09
nginx札记

nginx札记

##1. 为每个域名开启不同的调用配置文件,不同的目录 每个域名一个文件的写法,首先打开nginx域名配置文件存放目录:/usr/local/nginx/conf/servers ,如要绑定域名jiangren.us 则在此目录建一个文件:jiangren.us.conf 然后在此文件中写规则,如:

server 
{ 
    listen  80; 
    server_name jiangren.us;             #绑定域名 
    index index.htm index.html index.php;  #默认文件 
@eagleon
eagleon / 前端开发最佳实践.md
Last active August 29, 2015 14:23
前端开发最佳实践

#前端开发最佳实践

##说明:
逐步完善文档,总结前端开发的最佳实践

##0x01:node