Make cyclists like myself fear for their lives on the stunning A82. Bench dine at Oban's Seafood Shack. Try catch the Vatersay Boys on Bara or at least visit vatersay's beaches or catch a fishing boat to Mingulay or watch planes land at the worlds only airport who "scheduled flights use a beach as the runway". Dodge otters on the many Hebridean causeways and drive past rugged mountains dressed in pristine white sanded beaches. Walk to a Gatliff. Catch the chessmen in Uig. Sleep, read books and drive north from Ullapool's Ceilidh place. Have a fear of heights here. See true nothingness and catch the [The
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
1948447748 | |
2986689877 | |
9660869883 | |
9660869883 | |
9660869883 |
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
B947E88A51BD0F3A886E546966DF3A735901D3DCF32AE4E5181E467D4450687488D6985FBCFD05BFBA112862AE422E7E1FE7EADA2025E94ED91F56F15BCA501B |
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
import { Subject } from 'rxjs/Subject'; | |
import { Subscription } from 'rxjs/Subscription'; | |
import { Observable } from 'rxjs/Observable'; | |
export class ReactiveProperty extends Subject { | |
constructor( v ) { | |
super(); | |
var value = v; | |
this.notifyOnSubscribe = arguments.length > 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
// Peak content from below the fold above the fold | |
var defaultPeekAmount = 80; | |
$( '[data-peek]' ) | |
// Find the closest | |
.sort( ( a, b ) => { | |
if( a.getBoundingClientRect().top - $( window ).height() < b.getBoundingClientRect().top - $( window ).height() + $( window ).scrollTop() ) { | |
return -1; | |
} else { | |
return 1; |
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 UnityEngine; | |
[ExecuteInEditMode] | |
public class PointLightsImageEffect : MonoBehaviour { | |
private Camera _camera; | |
public Material EffectMaterial; |
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 System.Linq; | |
using System.Text.RegularExpressions; | |
using UnityEngine; | |
public class DataLoader : MonoBehaviour { | |
// Filename (make sure it is in a folder called "Resources" so Unity includes it in the build) |
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
// Modules | |
// ======= | |
// | |
// gulp gulp-plumber gulp-concat gulp-if gulp-rename gulp-sourcemaps browser-sync gulp-csso gulp-less gulp-autoprefixer gulp-uglify gulp-babel babel-preset-es2015 gulp-jade git://github.com/oroce/gulp-jade-php#v2.0.0-0 gulp-sass | |
// Gulp | |
// ---- | |
var gulp = require( 'gulp' ); | |
var gulpif = require( 'gulp-if' ); | |
var concat = require( 'gulp-concat' ); |
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
uniform sampler2D tDiffuse; | |
uniform sampler2D tLut; | |
uniform int lutSize; | |
uniform bool isEnabled; | |
varying vec2 vUv; | |
// Ref: http://www.khronos.org/webgl/wiki/WebGL_and_OpenGL_Differences#No_3D_Texture_support | |
vec4 sampleAs3DTexture( sampler2D tex, vec3 texCoord, float size ) { | |
float sliceSize = 1.0 / size; // space of 1 slice | |
float slicePixelSize = sliceSize / size; // space of 1 pixel |
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; | |
using System.Collections; | |
public class LightToggler : MonoBehaviour { | |
[RangeAttribute(0.01f, 20.0f)] | |
public float toggleEvery = 1; | |
private float _lastToggle; | |
// Use this for initialization |
NewerOlder