I hereby claim:
- I am edwardsmatt on github.
- I am edwardsmatt (https://keybase.io/edwardsmatt) on keybase.
- I have a public key ASAmGYry1GqZ1o_PsCsonIatm2HO_vg3IPwdxh-d9O56tgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
scala> :paste | |
// Entering paste mode (ctrl-D to finish) | |
import org.joda.time.Instant | |
case class ADbRecord( | |
id: Option[Long] = None, | |
name: String, | |
isDeleted: Boolean = false, | |
createdAt: Instant = Instant.now, |
Based on this -https://gist.github.com/shennyg/1047737- modified to use the instructions from: https://help.github.com/articles/remove-sensitive-data/ | |
* This will overwrite your existing tags. |
Disable Hibernate for SSD Performance - From here: http://blog.alutam.com/2012/04/01/optimizing-macos-x-lion-for-ssd/#hibernation | |
!!! Check man pmset for more information | |
matt@macbook : ~ | |
$ pmset -g | |
Active Profiles: | |
Battery Power -1 | |
AC Power -1* | |
Currently in use: | |
standbydelay 4200 | |
standby 0 |
<!-- Place in /Library/LaunchDaemons/com.github.edwardsmatt.noatime.plist --> | |
<!-- execute: sudo chown root:wheel /Library/LaunchDaemons/com.github.edwardsmatt.noatime.plist --> | |
<!-- Restart --> | |
<!-- Verify: mount | grep " / " --> | |
<!-- you should see noatime in the parentheses --> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" | |
"http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> |
<!--Taken from: http://glaforge.appspot.com/article/building-your-groovy-2-0-projects-with-maven--> | |
<properties> | |
<gmavenVersion>1.4</gmavenVersion> | |
<gmavenProviderSelection>2.0</gmavenProviderSelection> | |
<groovyVersion>2.0.0</groovyVersion> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.codehaus.groovy</groupId> |
<!-- | |
Silent installer option: -mode=silent -silent_xml=/full/path/to/silent-installer-config.xml | |
--> | |
<bea-installer> | |
<input-fields> | |
<data-value name="BEAHOME" value="/web/bea"/> | |
<data-value name="WLS_INSTALL_DIR" value="/web/bea/wlserver_10.3"/> | |
<data-value name="WLW_INSTALL_DIR" value="/web/bea/workshop_10.3"/> | |
<data-value name="WLP_INSTALL_DIR" value="/web/bea/wlportal_10.3"/> | |
<data-value name="COMPONENT_PATHS" value="WebLogic Server/Core Application Server|WebLogic Server/Administration Console|WebLogic Server/Configuration Wizard and Upgrade Framework|WebLogic Server/Web 2.0 HTTP Pub-Sub Server|WebLogic \ |
(show-paren-mode 1) | |
(setq show-paren-delay 0) | |
(setq make-backup-files nil) | |
;(setq url-proxy-services '( | |
; ("http" . "localhost:3128"))) | |
(require 'package) | |
(add-to-list 'package-archives | |
'("melpa" . "http://melpa.milkbox.net/packages/") t) |
package com.octo.gwt.test.internal.patchers; | |
import com.google.gwt.xhr.client.ReadyStateChangeHandler; | |
import com.google.gwt.xhr.client.XMLHttpRequest; | |
import com.octo.gwt.test.internal.patchers.dom.JavaScriptObjects; | |
import com.octo.gwt.test.patchers.PatchClass; | |
import com.octo.gwt.test.patchers.PatchMethod; | |
/** | |
* Patch the GWT {@link XMLHttpRequest} class. |
package com.octo.gxt.test.internal.patchers; | |
import com.extjs.gxt.ui.client.widget.WidgetComponent; | |
import com.google.gwt.user.client.ui.Widget; | |
import com.octo.gwt.test.patchers.PatchClass; | |
import com.octo.gwt.test.patchers.PatchMethod; | |
import com.octo.gwt.test.utils.GwtReflectionUtils; | |
/** | |
* Patch the GXT {@link WidgetComponent#setParent(Widget, Widget) } method. |