####lsauer.com
###Overview of all chrome:// pages.
- List by calling
chrome://about/ - Following is a direct dump from the 'about' page for reference
###List of Pages as per v20.xxx
| class Beanutils{ | |
| //merge two bean by discovering differences | |
| private <M> void merge(M target, M destination) throws Exception { | |
| BeanInfo beanInfo = Introspector.getBeanInfo(target.getClass()); | |
| // Iterate over all the attributes | |
| for (PropertyDescriptor descriptor : beanInfo.getPropertyDescriptors()) { | |
| // Only copy writable attributes | |
| if (descriptor.getWriteMethod() != null) { |
| curl localhost:9200/_search -d '{ | |
| "query" : { | |
| "filtered" : { | |
| "query" : {"match_all" : {}}, | |
| "filter" : { | |
| "or" : [ | |
| { | |
| "range" : { | |
| "file_size" : {"from" : 10, "to" : 10000} | |
| } |
| # This job has two options, action and binary. | |
| # binary accepts multi-values, and the separator is ',' | |
| # the following is a script step that loops over the binary arguments | |
| # commandline arguments are : ${option.action} ${option.binary} | |
| ACT=$1 | |
| BLIST=$2 | |
| IFS=$',' | |
| for B in $BLIST; do | |
| sudo $B $ACT |
####lsauer.com
###Overview of all chrome:// pages.
chrome://about/###List of Pages as per v20.xxx
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| # source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list | |
| # A list of available STUN server. | |
| stun.l.google.com:19302 | |
| stun1.l.google.com:19302 | |
| stun2.l.google.com:19302 | |
| stun3.l.google.com:19302 | |
| stun4.l.google.com:19302 | |
| stun01.sipphone.com | |
| stun.ekiga.net |
| # 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) |
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
| #!/bin/bash | |
| # where to store the sparse-image | |
| WORKSPACE=~/Documents/workspace.dmg.sparseimage | |
| create() { | |
| hdiutil create -type SPARSE -fs 'Case-sensitive Journaled HFS+' -size 60g -volname workspace ${WORKSPACE} | |
| } | |
| detach() { |
As configured in my dotfiles.
start new:
tmux
start new with session name: