This is ported version of color theme xoria256.
Merge mintty-color-xoria256-rc into your .minttyrc
rm -rf ~/.gnupg/ | |
curl -#LO https://rvm.io/mpapis.asc | |
gpg --import mpapis.asc | |
\curl -sSL https://get.rvm.io | bash -s stable |
Go to Visual Studio Tools > start Developer Command Prompt for VS2013 | |
msbuild yourprojectname.build /target:buildall /property:BUILD_NUMBER=1 |
#!bin/bash | |
#set -xv | |
cpSource='your/root/folderxxx' | |
cpDest='your/root/folderxxx' | |
verbose=false | |
case "$1" in | |
-v) | |
verbose=true;; |
# Cygwin's cp discards ACLs (complex windows permissions). You have to copy them separately as follows: | |
# First copy files themselves, with timestamps: | |
cp -a folder1 folder2 | |
# Set all ACLs of copies to ACLs of originals: | |
cd folder2 | |
find . | while read f ; do getfacl ../folder1/"$f" | setfacl -f - "$f" ; done | |
# or when permissions are equal for all files / directories: | |
getfacl folder1 > folder-perms |
$ a=/cygdrive/c/projects/sandbox/projects | |
##match pattern from the left hand side. Double # means greedy. | |
hsuh@hsuh /cygdrive/c/projects/sandbox/projects | |
$ echo ${a##*sandbox} | |
/projects | |
##match pattern from the right hand side. Double % means greedy. | |
hsuh@hsuh /cygdrive/c/projects/sandbox/projects | |
$ echo ${a%%proj*} |
var msiversion = function msieversion() { | |
var ua = window.navigator.userAgent; | |
var msie = ua.indexOf("MSIE "); | |
if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) // If Internet Explorer, return version number | |
{ | |
return true; | |
} else { // If another browser, | |
return false; | |
} | |
return false; |
#if you haven't already | |
1. Install chere | |
#Run the line below in terminal | |
chere -i -t mintty -f | |
Add external tools on WebStorm(Settings): | |
Program: C:\cygwin64\bin\mintty.exe |
QUnit.begin(function(obj) { | |
console.log("Test amount:" + obj.totalTests); | |
}); | |
QUnit.moduleStart(function (obj) { | |
console.log("##teamcity[testSuiteStarted name='" + obj.name + "']"); | |
}); | |
QUnit.moduleDone(function (obj) { | |
console.log("##teamcity[testSuiteFinished name='" + obj.name + "']"); |
Install git on Cygwin | |
Might be an error - Can’t locate Term/ReadKey.pm when running git svn clone ... | |
In that case do this: | |
----------------------------------------- | |
Install GCC-core, make for cygwin | |
Install Perl - Term::ReadKey through cygwin as well | |
----------------------------------------- |