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
import os | |
def Test2(rootDir, filehandle): | |
for lists in os.listdir(rootDir): | |
path = os.path.join(rootDir, lists) | |
print path | |
filehandle.write(path + '\n') | |
if os.path.isdir(path): | |
Test2(path,filehandle) | |
if __name__ == '__main__': |
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
import os | |
import paramiko, base64 | |
""" only add file here, if you delete file in the client, server wont delete | |
""" | |
luaRoot = './www/game/test/luaRoot/' | |
def LoginServer(serverRoot, username, psw): | |
transport = paramiko.Transport((serverRoot,22)) | |
transport.connect(username = username, password = psw) |
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
Shader "Outline" { | |
Properties { | |
_Color ("Main Color", Color) = (.5,.5,.5,1) | |
_OutlineColor ("Outline Color", Color) = (0,0,0,1) | |
_Outline ("Outline width", Range (0.0, 0.03)) = .005 | |
_MainTex ("Base (RGB)", 2D) = "white" { } | |
} | |
CGINCLUDE | |
#include "UnityCG.cginc" | |
struct appdata { |
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
swagger: '2.0' | |
info: | |
description: >- | |
This is a sample server Petstore server. You can find out more about | |
Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, | |
#swagger](http://swagger.io/irc/). For this sample, you can use the api | |
key `special-key` to test the authorization filters. | |
version: 1.0.0 | |
title: Swagger Petstore | |
termsOfService: 'http://swagger.io/terms/' |
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
public interface AvailabilityChecker { | |
Observable<ValidationResult<String>> isEmailAvailable(@NonNull String email); | |
Observable<ValidationResult<String>> isUsernameAvailable(@NonNull String email); | |
ValidationResult<String> isEmailAvailableSync(@NonNull String email); | |
ValidationResult<String> isUsernameAvailableSync(@NonNull String email); | |
} |
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
public interface AvailabilityChecker { | |
Observable<ValidationResult<String>> isEmailAvailable(@NonNull String email); | |
Observable<ValidationResult<String>> isUsernameAvailable(@NonNull String email); | |
ValidationResult<String> isEmailAvailableSync(@NonNull String email); | |
ValidationResult<String> isUsernameAvailableSync(@NonNull String email); | |
} |
OlderNewer