I hereby claim:
- I am steveswing on github.
- I am steveswing (https://keybase.io/steveswing) on keybase.
- I have a public key ASCCLnafZRsTOMMRabUpInWhx7FXxsc-v_Qbd7d8eSFhtgo
To claim this, I am signing this object:
| // These lines go in ~/.sbt/0.13/global.sbt | |
| watchSources ++= ( | |
| (baseDirectory.value * "*.sbt").get | |
| ++ (baseDirectory.value / "project" * "*.scala").get | |
| ++ (baseDirectory.value / "project" * "*.sbt").get | |
| ) | |
| addCommandAlias("rtu", "; reload ; test:update") | |
| addCommandAlias("rtc", "; reload ; test:compile") | |
| addCommandAlias("ru", "; reload ; update") |
I hereby claim:
To claim this, I am signing this object:
| <link rel="import" href="../topeka-elements/theme.html"> | |
| <link rel="import" href="../topeka-elements/topeka-resources.html"> | |
| <link rel="import" href="../topeka-elements/topeka-app.html"> | |
| <link rel="import" href="../core-icons/core-icons.html"> | |
| <link rel="import" href="../core-icon/core-icon.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> |
| // | |
| // MultiDirectionAdjudicatingScrollView.swift | |
| // Khan Academy | |
| // | |
| // Created by Andy Matuschak on 12/16/14. | |
| // Copyright (c) 2014 Khan Academy. All rights reserved. | |
| // | |
| import UIKit | |
| import UIKit.UIGestureRecognizerSubclass |
| import java.io.File | |
| /** | |
| * A completely OS-Agnostic way of dealing with java.io.File paths | |
| */ | |
| object RichPath { | |
| sealed class RichBase[+A](left: A) { | |
| /** | |
| * Simple enrichment method designed to let you create a java.io.File | |
| * by simply writing "folderA" / "folderB" / "folderC" |
| sudo cp /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage.original | |
| # for Mountain Lion 10.8.3 - 10.8.5 | |
| sudo perl -pi -e 's|(\x52\x6F\x74\x61\x74\x69\x6F\x6E\x61\x6C\x00{1,20})[^\x00]{9}(\x00{1,20}\x54)|$1\x00\x00\x00\x00\x00\x00\x00\x00\x00$2|sg' /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage | |
| # for Mountain Lion 10.8.1-10.8.2 and Lion 10.7.5 | |
| #sudo perl -pi -e 's|(\x52\x6F\x74\x61\x74\x69\x6F\x6E\x61\x6C\x00{1,20})[^\x00]{9}(\x00{1,20}\x4D)|$1\x00\x00\x00\x00\x00\x00\x00\x00\x00$2|sg' /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage | |
| # for Mountain Lion 10.8.0 and Lion 10.7.4 BELOW | |
| #sudo perl -pi -e 's|(\x52\x6F\x74\x61\x74\x69\x6F\x6E\x61\x6C\x00{1,20})[^\x00]{9}(\x00{1,20}\x51)| |
| /* | |
| * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. | |
| * | |
| * Redistribution and use in source and binary forms, with or without | |
| * modification, are permitted provided that the following conditions | |
| * are met: | |
| * | |
| * - Redistributions of source code must retain the above copyright | |
| * notice, this list of conditions and the following disclaimer. | |
| * |
| Enable TRIM on non-Apple SSDs in OS X 10.8.2 Mountain Lion. | |
| WARNING: This is ONLY tested on 10.8.2 (IOAHCIBlockStorage version 2.3.1), and NOT earlier or later versions. | |
| Check /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/version.plist | |
| Technical note: The driver changed in 10.8.2 and similar perl commands that worked in earlier OS X versions did not work for me once I updated to 10.8.2. | |
| Run the following commands in Terminal… |
| Enable TRIM on non-Apple SSDs in OS X 10.8.2 Mountain Lion. | |
| WARNING: This is ONLY tested on 10.8.2, and NOT earlier or later versions. YMMV. | |
| Technical note: The driver changed in 10.8.2 and similar perl commands that worked in earlier OS X versions did not work for me once I updated to 10.8.2. | |
| Run the following commands in Terminal… | |
| 1. Backup the original driver. Added -p to preserve original metadata about the file | |
| sudo cp -p /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage ~root/IOAHCIBlockStorage-original |
| <?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"> | |
| <dict> | |
| <key>Label</key> | |
| <string>org.mongodb.mongod</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/usr/local/mongodb/bin/mongod</string> | |
| <string>run</string> |