Install-WindowsFeature -ConfigurationFilePath C:\Users\Administrator\Desktop\DeploymentConfigTemplate.xml


$appPort=1205

$appName="FKGameServer"

$physicalPath="c:\"+$appName

$existFolder=Test-Path $physicalPath

    If(-Not $existFolder) { New-Item -ItemType directory -Path $physicalPath }


New-NetFirewallRule -DisplayName $appName -Action Allow -Direction Inbound -Enabled True -LocalPort $appPort -Protocol 6


New-Website -Name $appName -PhysicalPath $physicalPath -Port $appPort

'Develop' 카테고리의 다른 글

gcm push  (0) 2016.04.20
powershell invoke-XXXX  (0) 2016.02.16
newtonsoft json assembly conflict  (0) 2015.11.18
VS filter 분류 정규표현식  (0) 2015.02.01
git 공간 정리  (0) 2014.10.20

http://stackoverflow.com/questions/17776090/newtonsoft-json-assembly-conflict




'Develop' 카테고리의 다른 글

powershell invoke-XXXX  (0) 2016.02.16
windows server add webservice  (0) 2016.01.12
VS filter 분류 정규표현식  (0) 2015.02.01
git 공간 정리  (0) 2014.10.20
git rebase 하다가 commit 날아갔을때  (0) 2014.08.18

//////////////////////


<ClCompile Include="..\\(.*)\\(.*cpp") />

<ClCompile Include="..\$1\$2>\n        <Filter>$1</Filter>\n    </ClCompile>


<ClInclude Include="..\\(.*)\\(.*h") />

<ClInclude Include="..\$1\$2>\n        <Filter>$1</Filter>\n    </ClInclude>


///////////////////////////////////


<ClCompile Include="unit_test\\(.*)\\(.*cpp") />

<ClCompile Include="unit_test\$1>\n        <Filter>unit_test\$1</Filter>\n    </ClCompile>



<ClInclude Include="..\\(.*)\\(.*h") />

<ClInclude Include="..\$1\$2>\n        <Filter>$1</Filter>\n    </ClInclude>


////////////////////////////////////////


<ClCompile Include="unit_test\\(.*)\\(.*cpp") />

<ClCompile Include="unit_test\$1>\n        <Filter>unit_test\$1</Filter>\n    </ClCompile>


<ClInclude Include="unit_test\\(.*)\\(.*h") />

<ClInclude Include="unit_test\$1>\n        <Filter>unit_test\$1</Filter>\n    </ClInclude>


////////////////////////////////////////


<None Include="unit_test\\(.*)\\(.*cpp") />

<ClCompile Include="unit_test\$1>\n        <Filter>unit_test\$1</Filter>\n    </ClCompile>


<ClInclude Include="unit_test\\(.*)\\(.*h") />

<ClInclude Include="unit_test\$1>\n        <Filter>unit_test\$1</Filter>\n    </ClInclude>


'Develop' 카테고리의 다른 글

windows server add webservice  (0) 2016.01.12
newtonsoft json assembly conflict  (0) 2015.11.18
git 공간 정리  (0) 2014.10.20
git rebase 하다가 commit 날아갔을때  (0) 2014.08.18
cocos2d-x 3.1 addTouchEventListener(std::function)  (0) 2014.06.11
git reset --hard
git clean -dqfx 
콘솔에서

git reflog

로 날아간 commit 번호 확인

git cherry-pick ####

으로 복구

conflict가 났다면 해결후

git cherry-pick --continue

로  커밋

'Develop' 카테고리의 다른 글

VS filter 분류 정규표현식  (0) 2015.02.01
git 공간 정리  (0) 2014.10.20
cocos2d-x 3.1 addTouchEventListener(std::function)  (0) 2014.06.11
Visual Studio 바꾸기 정규식 사용  (0) 2014.06.03
file copy  (0) 2014.04.10
cocos2d-x 3.1 부터 기존 핸들러가 deprecated가 됨.
엄청난 warning 발생함.

아래 정규식으로 찾아바꾸기함.

->addTouchEventListener\(this, cui::SEL_TouchEvent\(&(.*)\)\);

->addTouchEventListener(std::bind(&$1, this, std::placeholders::_1, std::placeholders::_2));

'Develop' 카테고리의 다른 글

git 공간 정리  (0) 2014.10.20
git rebase 하다가 commit 날아갔을때  (0) 2014.08.18
Visual Studio 바꾸기 정규식 사용  (0) 2014.06.03
file copy  (0) 2014.04.10
[IOS] handleOpenURL & openURL  (0) 2014.02.11
원본 : {return lhs->grade < rhs->grade; });

검색 : {return (.*) < (.*); }\);

바꾸기 : {return compareStat($1, $2, inverse); });

결과 : {return compareStat(lhs->grade, rhs->grade, inverse); });


# vs2013 에서 사용
# visual studio 구버전에서는 그룹을 {}, 변수를 \1로 사용했다고 함

'Develop' 카테고리의 다른 글

git rebase 하다가 commit 날아갔을때  (0) 2014.08.18
cocos2d-x 3.1 addTouchEventListener(std::function)  (0) 2014.06.11
file copy  (0) 2014.04.10
[IOS] handleOpenURL & openURL  (0) 2014.02.11
ios 빛나는 효과 제거  (0) 2014.02.06
import os
import shutil
from os import listdir
from os.path import isfile, join

onlyfiles = [ f for f in listdir('.') if isfile(join('.',f)) and f[-3:] == 'png' ]


for f in onlyfiles:
    a = f[:-5]
    c = os.path.join(os.getcwd(), f)
    print f
    for i in range(5):
        b = a + str(i+1) + '.png'
        print b
        dstdir =  os.path.join(os.getcwd(), b)
        shutil.copy(c, dstdir)

'Develop' 카테고리의 다른 글

cocos2d-x 3.1 addTouchEventListener(std::function)  (0) 2014.06.11
Visual Studio 바꾸기 정규식 사용  (0) 2014.06.03
[IOS] handleOpenURL & openURL  (0) 2014.02.11
ios 빛나는 효과 제거  (0) 2014.02.06
CCLabelTTF 위치  (0) 2014.01.09
- (BOOL)application:(UIApplication*)application handleOpenURL:(NSURL *)url
{
    return YES;
}

- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *) sourceApplication annotation:(id)annotation
{
    return YES;
}

handleOpenURL 은 구버젼이고
openURL은 신버전 OS부터 사용된다고 한다.
고로 두개다 구현을 해야 한다 

그리고 앱간 통신은 main ViewController가 메시지를 받는다 

'Develop' 카테고리의 다른 글

Visual Studio 바꾸기 정규식 사용  (0) 2014.06.03
file copy  (0) 2014.04.10
ios 빛나는 효과 제거  (0) 2014.02.06
CCLabelTTF 위치  (0) 2014.01.09
Release 에서 UserDefault.xml 경로  (0) 2013.10.17
 
 
http://stackoverflow.com/questions/4398450/uiprerenderedicon-glossy-problem
 
여기까지 했는데 콰펑에 반영이 안되었음.
포기하고 commit 하다가
Resource/info.plist 를 보니
1의 내용이 추가되어 있었음
근데 보니 아래에 "~ipad" 항목에는 2번이 빠져있는것을 발견함
 
추가 해보니 잘됨
 
 
xcode 에서는 저런 이름으로 항목이 생겼음
 
덤으로
3번째 그림의 3번은
com.mobilfactory.----- 이라고 나왔던 문제의 원인임
productname 이 한자라서 저렇게 나온것.

'Develop' 카테고리의 다른 글

file copy  (0) 2014.04.10
[IOS] handleOpenURL & openURL  (0) 2014.02.11
CCLabelTTF 위치  (0) 2014.01.09
Release 에서 UserDefault.xml 경로  (0) 2013.10.17
collapse all  (0) 2013.08.28

+ Recent posts