This file contains 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
$items = Get-ChildItem -File | |
foreach ($item in $items) { | |
$dest = '..\..\' + $item.Name | |
Write-Output $dest | |
if (Test-Path $dest) { | |
Rename-Item $dest -NewName "$item.old" | |
} | |
} |
This file contains 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
#!/bin/bash | |
# Date : (2014-02-02 00-45) | |
# Last revision : (2014-02-07 01-45) | |
# Wine version used : 1.7.11 | |
# Distribution used to test : Ubuntu 13.10 Saucy Salamander | |
# Author : monban | |
# Script licence : Public Domain | |
# Program licence : Commercial | |
# Depend : |
This file contains 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
<!-- Author: Menno Vogels; Version: 1.0.0.0 --> | |
<parser | |
id="ruby_function" | |
displayName="Ruby" | |
commentExpr="(?s:#.*?[\r\n]|(?-i:(?<=^|[\r\n])=begin).*?(?-i:[\r\n]=end(?=[\r\n]|$)))" > | |
<function | |
mainExpr="(?s:\b(?-i:def)[\t ]+(?!(?-i:alias|and|BEGIN|begin|break|case|class|def|defined\?|do|else|elsif|END|end|ensure|false|for|if|in|module|next|nil|not|or|redo|rescue|retry|return|self|super|then|true|undef|unless|until|when|while|yield|__FILE__|__LINE__))(?:[A-Za-z_]\w*[?!=]?(?:[\t ]*\([^)]*\))?|(?::{2}|\*{1,2}|![=~]?|=(?:~|={1,2})?|[~+\-/%&|\^]|<(?:<|=>?)?|>[>=]?|\[]=?)[\t ]*\([^)]*\)).+?(?-i:end))" | |
displayMode="$functionName" > | |
<functionName> | |
<nameExpr expr="(?s:\b(?-i:def)[\t ]+(?:[A-Za-z_]\w*[?!=]?(?:[\t ]*\()?|(?::{2}|\*{1,2}|![=~]?|=(?:~|={1,2})?|[~+\-/%&|\^]|<(?:<|=>?)?|>[>=]?|\[]=?)[\t ]*\())" /> |
This file contains 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
if ['2.3.8', '2.3.9', '2.3.10', '2.3.11', '2.3.18'].include?(Rails.version) && Gem.available?('mongrel', '~>1.1.5') && self.class.const_defined?(:Mongrel) | |
# Pulled right from latest rack. Old looked like this in 1.1.0 version. | |
# | |
# def [](k) | |
# super(@names[k] ||= @names[k.downcase]) | |
# end | |
# | |
module Rack | |
module Utils |