Skip to content

Instantly share code, notes, and snippets.

View PushoN's full-sized avatar
💭
MS makes github terrible.

Alexey Panov PushoN

💭
MS makes github terrible.
View GitHub Profile
@PushoN
PushoN / StackMob.cs
Created March 19, 2014 05:44 — forked from SidneyAllen/StackMob.cs
Helper for OAuth2.0 try for VK or othrs
using UnityEngine;
using System.Collections;
using System.Security.Cryptography;
using System;
using System.Text;
public class StackMob : MonoBehaviour
{
public const string acceptHeader = "application/vnd.stackmob+json; version=0"; // 0 = development, 1 = production
public const string apiKey = "e78a2646-d479-47b1-9ae5-65732c5eabdc"; // nixApp
// C# example
using UnityEditor;
using System.IO;
using System.Collections;
using UnityEngine;
using System.Collections.Generic;
class PerformBuild
{
static string[] GetBuildScenes()
#!/bin/sh
#
# jenkins-slave: Launch a Jenkins BuildSlave instance on this node
#
# chkconfig: - 99 01
# description: Enable this node to fulfill build jobs
#
JENKINS_WORKDIR="/var/jenkins"
JENKINS_USER="jenkins"
// C# example
using UnityEditor;
using System.IO;
using System.Collections;
using UnityEngine;
using System.Collections.Generic;
class PerformBuild
{
static string[] GetBuildScenes()
@PushoN
PushoN / PlanetShader.frag
Last active August 31, 2015 19:57 — forked from neutrino84/PlanetShader.frag
GLSL Planet Shader
precision lowp float;
uniform sampler2D channel0;
uniform float time;
varying vec2 vTextureCoord;
// rendering params
const float sphsize = 0.8; // planet size
const float dist = 0.08; // distance for glow and distortion
@PushoN
PushoN / PukingPony.json
Last active June 21, 2019 10:28
Xamarine Highlight theme
{
"name":"PukingPony",
"version":"1.0",
"description":"Color, color, color is everything! Now supports Xamarin & VS Mac 6.x",
"originator":"Panov Alexey <prog.uspn@gmail.com>",
"baseScheme":"Visual Studio",
"colors":[
{"name": "Usages(Rectangle)", "color":"#4E81A0", "secondcolor":"#66ABD4" },
{"name": "Changing usages(Rectangle)", "color":"#DDB738", "secondcolor":"#ECC94B" },
{"name": "Current Line Marker", "color":"#000000", "secondcolor":"#000000" },
@PushoN
PushoN / MoveCamera.cs
Created May 30, 2016 14:23 — forked from JISyed/MoveCamera.cs
Camera movement script in Unity3D. Supports rotating, panning, and zooming. Attach to the main camera. Tutorial explaining code: http://jibransyed.wordpress.com/2013/02/22/rotating-panning-and-zooming-a-camera-in-unity/
// Credit to damien_oconnell from http://forum.unity3d.com/threads/39513-Click-drag-camera-movement
// for using the mouse displacement for calculating the amount of camera movement and panning code.
using UnityEngine;
using System.Collections;
public class MoveCamera : MonoBehaviour
{
//
// VARIABLES
@PushoN
PushoN / FSScrollController.cs
Created June 2, 2016 08:13 — forked from russianryebread/FSScrollController.cs
Inertial Scrolling for Unity 3D
using UnityEngine;
using System.Collections;
using Holoville.HOTween;
namespace FS.Handlers
{
public class FSScrollController : MonoBehaviour {
public float contentOverflowY = 0f;
public float contentHeight = 0f;
<?php
namespace App;
use Carbon\Carbon;
Class EloquentVueTables implements VueTablesInterface {
public function get($model, Array $fields) {