国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
| #!/bin/bash | |
| REPOS="$1" | |
| TXN="$2" | |
| SVNLOOK=svnlook | |
| MAGICWORD='The Shawshank Redemption' | |
| # Magic Word: The Shawshank Redemption. | |
| # via http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-repository-hooks.html |
| /** | |
| * script for export sprite sheet from Unity to Cocos2d | |
| * | |
| * @author bman ([email protected]) | |
| * @version 1.0 1/3/2014 | |
| * @version 1.1 6/9/2014 add image slice exporter | |
| */ | |
| using UnityEngine; | |
| using UnityEditor; |
| Per https://code.google.com/p/v8/codesearch#v8/trunk/src/runtime.cc | |
| %CreateSymbol | |
| %CreatePrivateSymbol | |
| %CreateGlobalPrivateSymbol | |
| %NewSymbolWrapper | |
| %SymbolDescription | |
| %SymbolRegistry | |
| %SymbolIsPrivate |
| start(() => { | |
| while(true) | |
| { | |
| print("a"); | |
| sleep(1000); | |
| } | |
| }) | |
| while(true) | |
| { |
| using UnityEngine.Networking; | |
| using System.IO; | |
| using System; | |
| /// <summary> | |
| /// 使用方式: | |
| /// UnityWebRequest unityWebRequest = new UnityWebRequest("url"); | |
| /// unityWebRequest.downloadHandler = new DownloadHandlerFileRange("文件保存的路径", unityWebRequest); | |
| /// unityWebRequest.SendWebRequest(); | |
| /// </summary> |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
| /// <summary> | |
| /// Get a value from a config file for the project of the current target | |
| /// </summary> | |
| /// <returns>true if a value was found for the given section and key</returns> | |
| bool TryGetConfigValue(ConfigHierarchyType ConfigType, string SectionName, string KeyName, out string Value) | |
| { | |
| ConfigHierarchy Config = ConfigCache.ReadHierarchy(ConfigType, DirectoryReference.FromFile(Target.ProjectFile), Target.Platform); | |
| if (Config != null) | |
| { | |
| ConfigHierarchySection Section = Config.FindSection(SectionName); |
If you want to run V8 on your local machine, please use jsvu
Ignition. Ignition is optimized to make code run as soon as possible. Ignition converts js code to bytecodeLiftoff which, like Ignition, is geared to get your code running quickly, at the cost of generating potentially suboptimal execution speed.Sparkplug takes Ignition’s output (the infamous “bytecode”) and turns it into non-optimized machine code, yielding better performance at the cost of increased memory footprint.TurboFan kicks in and generates low-level machine code that| @REM You can use --dry-run to just print what will be downloaded. | |
| @REM You can use --cache to specify a custom path for the download cache. | |
| @REM call Setup.bat --dry-run --threads=%NUMBER_OF_PROCESSORS% --cache=C:\Code\Cache\ue-gitdeps ^ | |
| call Setup.bat --threads=%NUMBER_OF_PROCESSORS% --cache=C:\Code\Cache\ue-gitdeps ^ | |
| --exclude=HoloLens ^ | |
| --exclude=Linux ^ | |
| --exclude=linux-64 ^ | |
| --exclude=linux32 ^ | |
| --exclude=linux64 ^ |