This guide helps you setup a configuration like: mopidy -> icecast -> listner (bot) Where you can use mopidy to play from a wide selection of sources for example Spotify. At the moment I know of no Discord bots capable of controlling an mpd/mopidy server so the adding of playlists have to go through a webinterface or similar. In this guide I will focus on setting up Spotify. The full config files will also be in the gist.
| --- | |
| Language: Cpp | |
| AccessModifierOffset: -4 | |
| AlignAfterOpenBracket: DontAlign | |
| AlignConsecutiveAssignments: false | |
| AlignConsecutiveDeclarations: false | |
| AlignEscapedNewlines: Left | |
| AlignOperands: true | |
| AlignTrailingComments: true | |
| AllowAllParametersOfDeclarationOnNextLine: true |
FASTBuild is an open-source distributed build system, which could be a free alternative to Incredibuild. Unreal Engine 4 (UE4) does not support FASTBuild natively, however it's not hard to integrate it manually.
We assume you already have the full UE4 source code. First you'll need to grab the latest FASTBuild tools from here. We use v0.93 Windows x64 version in this tutorial. Download it and extract all the files. Here you have several choices:
- Place the files under any folder which could be found with your system's
PATHenvironment variable. To see where these folders are, run thePATHcommand in a command prompt window; - Place the files under the
Engine\Binaries\ThirdParty\FASTBuildfolder of your engine. This is the recommended place; - Place the files anywhere you like. This is not recommended because you'll have to hard-code the path later.
| # Unity | |
| *.cginc text | |
| *.cs diff=csharp text | |
| *.shader text | |
| # Unity YAML | |
| *.anim merge=unityyamlmerge eol=lf | |
| *.asset merge=unityyamlmerge eol=lf | |
| *.controller merge=unityyamlmerge eol=lf |
| ## Unity ## | |
| *.cs diff=csharp text | |
| *.cginc text | |
| *.shader text | |
| *.mat merge=unityyamlmerge eol=lf | |
| *.anim merge=unityyamlmerge eol=lf | |
| *.unity merge=unityyamlmerge eol=lf | |
| *.prefab merge=unityyamlmerge eol=lf |
| #!/usr/bin/python | |
| import os.path | |
| import csv | |
| import cjson | |
| import sys | |
| import gzip | |
| import ntpath | |
| def write_event(prefix, event_type, headers, event): | |
| data = prepare_data(headers, event) |
| -480p - Run tenfoot in 480p rather than 1080p | |
| -720p - Run tenfoot in 720p rather than 1080p | |
| -accesscode - | |
| -all_languages - show longest loc string from any language | |
| -batterytestmode - rapidly cycle battery percentages for testing | |
| -bigpicture - Start in Steam Big Picture mode | |
| -blefw - | |
| -cafeapplaunch - Launch apps in a cyber cafe context | |
| -candidates - Show libjingle candidates for local connection as they are processed | |
| -ccsyntax - Spew details about the localized strings we load |
#Intro
Kotlin is a new programming language for the JVM. It produces Java bytecode, supports Android and generates JavaScript. The latest version of the language is Kotlin M5.3
Kotlin project website is at kotlin.jetbrains.org.
All the codes here can be copied and run on Kotlin online editor.
Let's get started.
| -- Remove the history from | |
| rm -rf .git | |
| -- recreate the repos from the current content only | |
| git init | |
| git add . | |
| git commit -m "Initial commit" | |
| -- push to the github remote repos ensuring you overwrite history | |
| git remote add origin [email protected]:<YOUR ACCOUNT>/<YOUR REPOS>.git |
| git fetch upstream | |
| git reset --hard upstream/master |