Skip to content

Instantly share code, notes, and snippets.

View dimmduh's full-sized avatar
🎮
Learning Unity

Dmitrii Dukhnich dimmduh

🎮
Learning Unity
View GitHub Profile
<div class="entry-content">
<p>(last update: May 20, 2016)</p>
<p>This year’s GDC was awesome. Some amazing&nbsp;presentations and again I could chat with super-smart and inspiring people. Be&nbsp;sure to check out <a href="http://32ipi028l5q82yhj72224m8j.wpengine.netdna-cdn.com/wp-content/uploads/2016/03/GdcVdrLottes.pdf">“Advanced Techniques and Optimization of HDR Color Pipelines”</a>, <a href="http://www.frostbite.com/2016/03/optimizing-the-graphics-pipeline-with-compute/">“Optimizing the Graphics Pipeline with Compute”</a>&nbsp;and <a href="http://www.frostbite.com/2016/03/photogrammetry-and-star-wars-battlefront/">“Photogrammetry and Star Wars Battlefront”</a>&nbsp;. Growing list of presentations:</p>
<h1>Programming Track</h1>
<ul>
<li><a href="http://wili.cc/research/northlight_dx12/GDC16_Timonen_Northlight_DX12.pptx">“Developing The Northlight Engine: Lessons Learned”</a> –&nbsp;Ville Timonen (Remedy Entertainment)</li>
<li><a href="http://htmlpreview.github.io/?https://cdn.rawgit.com/niklasfry
@dimmduh
dimmduh / AppMetricaApi.php
Created October 1, 2016 07:13
Php class for manage Labels (folders) in greate service appMetrica (appmetrika.yandex.ru)
<?php
namespace frontend\components;
use Yii;
use yii\helpers\Json;
use yii\web\HttpException;
class AppMetricaApi
{
private $curl;
@dimmduh
dimmduh / App2TopApi.php
Created September 15, 2016 02:40
app2top.org api client lib 1.1 (still in progress and deprecated (cause app2top will be updated in late 2016)
<?php
namespace frontend\components;
use GuzzleHttp;
use yii\base\InvalidParamException;
use yii\helpers\Json;
class App2TopApi
@dimmduh
dimmduh / MusicManger.cs
Created September 3, 2016 05:29
simple music manager for unity
using com.ootii.Messages;
using UnityEngine;
using DG.Tweening;
namespace IOGames.Utils
{
[RequireComponent(typeof(AudioSource))]
public class MusicManger : SingletonPrefab<MusicManger>
{
public static function getPackageNameFromUrl($url, $check_on_google_play = true)
{
$url = trim(urldecode($url));
$parsedUrl = parse_url($url);
//add scheme if null
if (empty($parsedUrl['scheme']) && !empty($parsedUrl['query'])){
$url = 'https://' . $url;
$parsedUrl = parse_url($url);
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Devdog.InventorySystem;
//Связывает скилбар с фпс префабом
//если в скиллбар помещается оружие, то говорит фпс префабу, добавить оружие
public class UISkillbarToFPSPrefab : MonoBehaviour {
06-02 16:33:25.632: WARN/ResourceType(943): No package identifier when getting name for resource number 0x00000025
06-02 16:33:25.634: WARN/ResourceType(943): No package identifier when getting name for resource number 0x00000026
06-02 16:33:25.635: WARN/ResourceType(943): No package identifier when getting name for resource number 0x00000027
06-02 16:33:25.829: WARN/InputReader(708): inCount:16, pointer count:1
06-02 16:33:25.840: WARN/InputReader(708): inCount:16, pointer count:1
06-02 16:33:25.852: WARN/InputReader(708): inCount:16, pointer count:1
06-02 16:33:25.864: WARN/InputReader(708): inCount:16, pointer count:1
06-02 16:33:25.876: WARN/InputReader(708): inCount:16, pointer count:1
06-02 16:33:25.888: WARN/InputReader(708): inCount:16, pointer count:1
06-02 16:33:25.900: WARN/InputReader(708): inCount:16, pointer count:1
01-04 14:52:36.678: WARN/System.err(9136): android.os.DeadObjectException
01-04 14:52:36.678: WARN/System.err(9136): at android.os.BinderProxy.transact(Native Method)
01-04 14:52:36.678: WARN/System.err(9136): at com.total_book.harry_potter.libraryService.LibraryInterface$Stub$Proxy.getRecentBook(LibraryInterface.java:546)
01-04 14:52:36.678: WARN/System.err(9136): at com.total_book.harry_potter.libraryService.BookCollectionShadow.getRecentBook(BookCollectionShadow.java:182)
01-04 14:52:36.679: WARN/System.err(9136): at org.geometerplus.fbreader.fbreader.FBReaderApp.openBookInternal(FBReaderApp.java:297)
01-04 14:52:36.679: WARN/System.err(9136): at org.geometerplus.fbreader.fbreader.FBReaderApp$2.run(FBReaderApp.java:174)
01-04 14:52:36.679: WARN/System.err(9136): at org.geometerplus.android.util.UIUtil$3$1.run(UIUtil.java:120)
01-04 14:52:36.694: WARN/System.err(6385): at com.books.harry_potter_stone.libraryService.LibraryInterface$Stub$Proxy.getRecentBook(LibraryInterface.java:546)
01-04 14:52:36.699: WARN
1-04 14:40:06.811: WARN/GraphicBufferExtra_hal(144): gralloc extra device setBufInfo(...) is not supported
01-04 14:40:07.038: WARN/GooglePlayServicesUtil(6385): Google Play services out of date. Requires 6587000 but found 4325034
01-04 14:40:07.072: WARN/GooglePlayServicesUtil(6385): Google Play services out of date. Requires 6587000 but found 4325034
01-04 14:40:07.106: WARN/chromium(6385): [WARNING:proxy_service.cc(888)] PAC support disabled because there is no system implementation
01-04 14:40:07.148: WARN/GooglePlayServicesUtil(6385): Google Play services out of date. Requires 6587000 but found 4325034
01-04 14:40:07.249: WARN/GraphicBufferExtra_hal(144): gralloc extra device setBufInfo(...) is not supported
01-04 14:40:07.256: WARN/GraphicBufferExtra_hal(144): gralloc extra device setBufInfo(...) is not supported
01-04 14:40:07.346: WARN/GooglePlayServicesUtil(6385): Google Play services out of date. Requires 6587000 but found 4325034
01-04 14:40:07.347: ERROR/GooglePlayServicesUtil(6385): GooglePla
package utils;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdSize;
import com.google.android.gms.ads.AdView;
import utils.Utils;
import android.content.Context;
import android.preference.Preference;