This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function bt-ctl(){ | |
| case "$1" in | |
| off) | |
| sudo launchctl unload /System/Library/LaunchDaemons/com.apple.blued.plist | |
| sudo kextunload -b com.apple.iokit.IOBluetoothSerialManager | |
| sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport | |
| ;; | |
| on) | |
| sudo launchctl load /System/Library/LaunchDaemons/com.apple.blued.plist | |
| sudo kextload -b com.apple.iokit.IOBluetoothSerialManager |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var items = null; | |
| Array = function(){ | |
| items = this; | |
| } | |
| console.log(items.length + " items"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Brick with correct file | |
| /var/log/glusterfs/nfs.log:2601:[2012-07-03 02:27:25.542113] W [afr-common.c:882:afr_detect_self_heal_by_iatt] 0-replicated-replicate-0: /path/to/file: gfid different on subvolume | |
| /var/log/glusterfs/nfs.log:2602:[2012-07-03 02:27:25.542147] I [afr-common.c:1038:afr_launch_self_heal] 0-replicated-replicate-0: background gfid self-heal triggered. path: /path/to/file | |
| /var/log/glusterfs/nfs.log:2603:[2012-07-03 02:27:25.547703] I [afr-self-heal-common.c:1203:sh_missing_entries_create] 0-replicated-replicate-0: no missing files - /path/to/file proceeding to metadata check | |
| /var/log/glusterfs/nfs.log:2604:[2012-07-03 02:27:25.550298] I [afr-self-heal-common.c:2077:afr_self_heal_completion_cbk] 0-replicated-replicate-0: background gfid self-heal completed on /path/to/file | |
| /var/log/glusterfs/nfs.log:4376:[2012-07-09 02:17:35.753527] I [afr-common.c:917:afr_detect_self_heal_by_lookup_status] 0-replicated-replicate-0: entries are missing in lookup of /path/to/file | |
| Brick with wrong file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --Do not remove this if you are using-- | |
| Original Author: Remiz Rahnas | |
| Original Author URL: http://www.htmlremix.com | |
| Published date: 2008/09/24 | |
| Changes by Nick Fetchak: | |
| - IE8 standards mode compatibility | |
| - VML elements now positioned behind original box rather than inside of it - should be less prone to breakage | |
| - Added partial support for 'box-shadow' style | |
| - Checks for VML support before doing anything |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'rubygems' | |
| require 'eventmachine' | |
| require 'socket' | |
| module RPCServer | |
| include EM::P::ObjectProtocol | |
| def post_init | |
| @obj = Hash.new | |
| end | |
| def receive_object method |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class String | |
| def blank? | |
| self.nil? || self == '' | |
| end | |
| end | |
| plugin 'rspec', :git => 'git://github.com/dchelimsky/rspec.git' | |
| plugin 'rspec-rails', :git => 'git://github.com/dchelimsky/rspec-rails.git' | |
| plugin 'cucumber', :git => 'git://github.com/aslakhellesoy/cucumber.git' | |
| plugin 'exception_notifier', :git => 'git://github.com/rails/exception_notification.git' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| default: -r features/support/env.rb -r features/support/plain.rb -r features/step_definitions features/plain | |
| selenium: -r features/support/env.rb -r features/support/enhanced.rb -r features/step_definitions features/enhanced |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mongrel_rails cluster::start -C config/mongrel_cluster.yml -v |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| svn status --no-ignore | grep '^\?' | sed 's/^\? //' | |
| svn status --no-ignore | grep '^\?' | sed 's/^\? //' | xargs rm -rf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| grep /pattern/ file | wc -l |
NewerOlder