RequireJS config may be referenced via:
var config = requirejs.s.contexts._.config;
Given a require such as:
require.config({
property: "value"
});
# This .gitignore file should be placed at the root of your Unity project directory | |
# | |
# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore | |
# | |
/[Ll]ibrary/ | |
/[Tt]emp/ | |
/[Oo]bj/ | |
/[Bb]uild/ | |
/[Bb]uilds/ | |
/[Ll]ogs/ |
$ docker-compose up | |
Creating network "docker_default" with the default driver | |
Creating docker_wikidb_1 ... done | |
Creating docker_wikijs_1 ... done | |
Attaching to docker_wikidb_1, docker_wikijs_1 | |
wikidb_1 | 2018-06-22T04:28:15.063+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=468ee589b69d | |
wikidb_1 | 2018-06-22T04:28:15.063+0000 I CONTROL [initandlisten] db version v3.6.5 | |
wikidb_1 | 2018-06-22T04:28:15.063+0000 I CONTROL [initandlisten] git version: a20ecd3e3a174162052ff99913bc2ca9a839d618 | |
wikidb_1 | 2018-06-22T04:28:15.064+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1t 3 May 2016 | |
wikidb_1 | 2018-06-22T04:28:15.064+0000 I CONTROL [initandlisten] allocator: tcmalloc |
#!/bin/bash | |
#### Description: Build and install Haxe Foundation hxcpp haxelib for macOS | |
#### from latest GitHub: https://github.com/HaxeFoundation/hxcpp | |
#### Written by: Jason Sturges - [email protected] on 2017-03-29 | |
haxelib remove hxcpp | |
haxelib git hxcpp https://github.com/HaxeFoundation/hxcpp.git | |
cd /usr/local/lib/haxe/lib/hxcpp/git/tools/hxcpp |
<html lang="en" ng-app="app"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=1080"> | |
<title>Cats</title> | |
<style> | |
body { | |
margin: 0; | |
overflow-x: hidden; | |
} |
#target "photoshop" | |
if (BridgeTalk.appName == "photoshop") { | |
app.bringToFront(); | |
var inputFolder = Folder.selectDialog("Select the folder containing photos to be resized."), | |
imageSizes = [2048, 1024, 512, 256]; | |
if (inputFolder != null) { | |
var fileList = inputFolder.getFiles(/\.(jpg|jpeg|tif|psd|)$/i); |
RequireJS config may be referenced via:
var config = requirejs.s.contexts._.config;
Given a require such as:
require.config({
property: "value"
});
To start, open up Automator (in the Applications folder) and choose a Service template. From the library choose "Run Shell Script" and drag it across to the workflow area. In the text box paste the following command:
STATUS=`defaults read com.apple.finder AppleShowAllFiles`
if [ $STATUS == YES ];
then
defaults write com.apple.finder AppleShowAllFiles NO
else
defaults write com.apple.finder AppleShowAllFiles YES
fi
killall Finder
@MenuItem ("Terrain/Object to Terrain") | |
static function Object2Terrain () { | |
// See if a valid object is selected | |
var obj = Selection.activeObject as GameObject; | |
if (obj == null) { | |
EditorUtility.DisplayDialog("No object selected", "Please select an object.", "Cancel"); | |
return; | |
} | |
if (obj.GetComponent(MeshFilter) == null) { |
# ##### BEGIN GPL LICENSE BLOCK ##### | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
# JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm | |
## Directory-based project format | |
.idea/ | |
## File-based project format | |
*.ipr | |
*.iws | |
*.iml | |
# Visual Studio Code | |
.vscode/ |