Open Terminal
. Type javac -version
and check your current JDK version. If you seem to have javac 1.7.*
JDK version, you can skip this section.
- Open
Termianl
. - Type
sudo apt-get install openjdk-7-jdk
.
using UnityEngine; | |
// Solves problem: HorizontalLayoutGroup successfully alignes children which present as it's children no matter visible they are or not. | |
// Visibility is controlled by Canvas Group's alpha value. That script just removes child from children list when alpha is 0. So that visible | |
// elements are aligned properly without gap | |
public class HorizontalLayoutGroupHelper : MonoBehaviour { | |
private CanvasGroup[] children; | |
private int[] siblingIndexes; | |
private Transform parentTransform; |
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine.Assertions; | |
using System; | |
public class SkinnedMeshUpdater : MonoBehaviour | |
{ | |
[SerializeField] | |
SkinnedMeshRenderer original; |
# Copy and self modified from ys.zsh-theme, the one of default themes in master repository | |
# Clean, simple, compatible and meaningful. | |
# Tested on Linux, Unix and Windows under ANSI colors. | |
# It is recommended to use with a dark background and the font Inconsolata. | |
# Colors: black, red, green, yellow, *blue, magenta, cyan, and white. | |
# http://xiaofan.at | |
# 2 Jul 2015 - Xiaofan | |
# Machine name. | |
function box_name { |
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Folder\shell\Unity5] | |
@="" | |
"Icon"="%ProgramFiles%\\Unity\\Editor\\Unity.exe" | |
"MUIVerb"="Open as Unity Project" | |
[HKEY_CLASSES_ROOT\Folder\shell\Unity5\Command] | |
@="cmd /c start /D\"c:\\Program Files\\Unity\\Editor\\\" Unity.exe -projectPath \"%1\"" |
[global] | |
font = Ubuntu 10 | |
# Allow a small subset of html markup in notifications and formats: | |
# <b>bold</b> | |
# <i>italic</i> | |
# <s>strikethrough</s> | |
# <u>underline</u> | |
# | |
# For a complete reference see |
# | |
# ββββ ββββ βββββββ βββ ββββββββββββββββββ βββββββββ βββββββ | |
# βββββ βββββββββββββββββ βββββββββββββββββββ ββββββββββββββββββ | |
# ββββββββββββββ ββββββ βββββββββ βββ βββ βββ βββ βββ | |
# ββββββββββββββ βββββββ ββββββββββ βββ βββ βββ βββ βββ | |
# βββ βββ ββββββββββββ βββββββ ββββββββββββββββ βββ βββββββββ | |
# βββ βββ βββββββ βββββ βββββββββββββββ βββ βββββββ | |
# | |
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
# β https://github.com/denilsonsa/udev-joystick-blacklist β |
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4 |
#!/bin/sh | |
# Script to install, run, and open logcat for a Unity Android App. | |
# I needed this as one of my libraries has a critical post-build script so I can't use "Build and Run" anymore - this is the "and Run" part. | |
# Be sure to update these variables to match your app's publishing/build settings: | |
APK_PATH='builds/android/basecode.apk' | |
BUNDLE_ID='com.eliotlash.basecode' | |
alias unilogcat='adb logcat|egrep "Unity"' | |
adb install -r "${APK_PATH}" && adb logcat -c && adb shell am start -n "${BUNDLE_ID}/com.unity3d.player.UnityPlayerNativeActivity" && echo 'DONE, LOG:' && unilogcat |
#! /bin/sh | |
bspc config top_padding 24 | |
bspc config bottom_padding 0 | |
bspc config left_padding 0 | |
bspc config right_padding 0 | |
bspc config border_width 3 | |
bspc config window_gap 16 | |
# Borders and gaps |
Open Terminal
. Type javac -version
and check your current JDK version. If you seem to have javac 1.7.*
JDK version, you can skip this section.
Termianl
.sudo apt-get install openjdk-7-jdk
.