看了蛮久的tcpdump,也一直很想尝试抓包这类的技能。
tcpdump
-i 指定监听网卡 lo eth0
-c 数量
-w xxx.cap(直接是wireshark的2进制文件)
-A ACSII显示内容
You can break these rules if you can talk your pair into agreeing with you.
| # Inspired from http://blog.akquinet.de/2010/05/26/mastering-the-maven-command-line-%E2%80%93-reactor-options/ | |
| # Build only specific modules: | |
| mvn clean install -pl sub-module-name2 | |
| mvn clean install -pl sub-module-name2,sub-module-name3 | |
| # Build only starting from specific sub-module (resume from) | |
| mvn clean install -rf sub-module-name2 | |
| # Build dependencies (also make) |
| <br> | |
| <div class="container"> | |
| <div class="row"> | |
| <div class="six columns"> | |
| <h2>Date Range Form</h2> | |
| <h5 class="small">By <a href="https://gist.github.com/cbumgard/4742703" target="_blank">Chris Bumgardner</a></h5> | |
| <h3 class="subheader">Built with <a href="http://jquery.com/" target="_blank">jQuery</a>, <a href="http://api.jqueryui.com/datepicker/" target="_blank">jQuery UI DatePicker</a>, <a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/" target="_blank">jQuery Validation</a>, and <a href="http://foundation.zurb.com/" target="_blank">Zurb Foundation</a></h3> | |
| <h5><a href="http://jsfiddle.net/chrisbumgardner/VzYQn/" target="_blank">See the jsFiddle</a></h5> |
| import scala.reflect.runtime.universe._ | |
| import scala.reflect.runtime.{currentMirror => cm} | |
| trait Base { | |
| def companion: MetaBase = { | |
| val classSymbol = cm.classSymbol(getClass) | |
| val moduleSymbol = classSymbol.companionSymbol.asModule | |
| val moduleMirror = cm.reflectModule(moduleSymbol) | |
| moduleMirror.instance.asInstanceOf[MetaBase] | |
| } |
Create an empty git repo or reinitialize an existing one
git initnpm install -g yoyo webappnpm install grunt-contrib-jade --save-dev| // Taken from the commercial iOS PDF framework http://pspdfkit.com. | |
| // Copyright (c) 2014 Peter Steinberger, PSPDFKit GmbH. All rights reserved. | |
| // Licensed under MIT (http://opensource.org/licenses/MIT) | |
| // | |
| // You should only use this in debug builds. It doesn't use private API, but I wouldn't ship it. | |
| // PLEASE DUPE rdar://27192338 (https://openradar.appspot.com/27192338) if you would like to see this in UIKit. | |
| #import <objc/runtime.h> | |
| #import <objc/message.h> |