Skip to content

Instantly share code, notes, and snippets.

View Garfeild's full-sized avatar

Anton Kolchunov Garfeild

  • HelloFresh
  • Potsdam/Germany
View GitHub Profile
@Garfeild
Garfeild / ImageFadeIn.cs
Last active May 11, 2018 12:37 — forked from miguelSantirso/ImageFadeIn.cs
Erosion fade in shader used in "La Última Flor de Lazlar"
using UnityEngine;
using UnityEngine.UI;
// Set _ScaleAndOffset in the shader so that our math works as expected with textures in atlases :)
[ExecuteInEditMode]
public class ImageFadeIn : MonoBehaviour
{
[SerializeField]
private Image target;
@Garfeild
Garfeild / Easing.cs
Created March 16, 2018 21:47 — forked from ThomasFOG/Easing.cs
C# implementation of Robert Penner's easing functions
// TERMS OF USE - EASING EQUATIONS
//
// Open source under the BSD License.
//
// Copyright © 2001 Robert Penner
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Sequence (
WaitForEvent (_event_StartStage1),
TriggerEvent (_event_DebugWave)
),
//STAGE 1
Sequence (
WaitForEvent (BehaviourEventId.EVENT_DEBUG_NONE)
// Normal loop here
),
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setTimeStyle:NSDateFormatterFullStyle];
[dateFormatter setDateStyle:NSDateFormatterFullStyle];
NSDate *date1 = [NSDate dateWithTimeIntervalSinceNow:0];
NSDate *date2 = nil;
NSString *string = [dateFormatter stringFromDate:date1];
date2 = [dateFormatter dateFromString:string];
@Garfeild
Garfeild / README.md
Last active December 18, 2015 11:29 — forked from mbostock/.block

These donut charts are constructed from a CSV file storing the populations of various age groups in different states. (As a practical note, a normalized stacked area chart facilitates easier comparison of values.) The chart employs a number of D3 features:

@Garfeild
Garfeild / README.md
Last active December 18, 2015 11:29 — forked from mbostock/.block

This variation of a stacked bar chart shows percentages rather than absolute numbers.

@Garfeild
Garfeild / README.md
Last active December 18, 2015 10:29 — forked from mbostock/.block

This stacked bar chart is constructed from a CSV file storing the populations of different states by age group. The chart employs conventional margins and a number of D3 features:

function resetCartItems(){
$(document).find('#xml_01').empty();
$(document).find('#xml_02').empty();
$(document).find('#xml_03').empty();
loadCartItems();
loadCartItems2();
loadCartItems3();
}
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Market Share - eHealth strategy</title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Business Strategy - Change management</title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />