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
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:2.3.0' | |
} | |
} |
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
using UnityEngine; | |
public class Ball : MonoBehaviour | |
{ | |
private Rigidbody rb; | |
[Header("Jumping")] | |
public Vector3 jumpForce = Vector3.up; | |
public float jumpTimeout = 0.1f; |
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 "Unlit/Tiling Transparent Texture" | |
{ | |
Properties | |
{ | |
_MainTex ("Texture", 2D) = "white" {} | |
_Tiling ("Tiling", Vector) = (1, 1, 0, 0) | |
} | |
SubShader | |
{ | |
Tags |
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
copy text from | |
https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/config_file.list?os=Ubuntu&dist=xenial&source=script | |
put to | |
nano /etc/apt/sources.list.d/gitlab_gitlab-ce.list | |
update | |
gitlab-rake gitlab:backup:create STRATEGY=copy | |
apt-get update && sudo apt-get install gitlab-ce |
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
/[Ll]ibrary/ | |
/[Tt]emp/ | |
/[Oo]bj/ | |
/[Bb]uild/ | |
/[Bb]uilds/ | |
/Assets/AssetStoreTools* | |
# Visual Studio 2015 cache directory | |
/.vs/ |
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
<?php | |
function flat_array($array, $delimiter = '/') | |
{ | |
$result = []; | |
foreach ($array as $key => $value) { | |
if (is_array($value)) { | |
$subResult = flat_array($value, $delimiter); | |
foreach ($subResult as $subKey => $subValue) { | |
$result[$key . $delimiter . $subKey] = $subValue; | |
} |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEditor; | |
using UnityEngine; | |
public class InspectorLabel : MonoBehaviour | |
{ | |
} |
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 void Start() | |
{ | |
Disconnect = false; | |
//@todo tune params! | |
var gConfig = new GlobalConfig | |
{ | |
ThreadPoolSize = threadPoolSize, | |
MaxPacketSize = maxPacketSize | |
}; |
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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class Tank : MonoBehaviour | |
{ | |
public Transform cabina; | |
public Transform dulo; |
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
package org.app2top.tracking.example; | |
import android.os.Bundle; | |
import android.support.design.widget.Snackbar; | |
import android.support.v7.app.AppCompatActivity; | |
import android.view.View; | |
import org.app2top.tracking.App2top; | |
public class MainActivity extends AppCompatActivity { |