Skip to content

Instantly share code, notes, and snippets.

View shaggun's full-sized avatar
☁️
⚡️

shaggun shaggun

☁️
⚡️
  • Za Warudo
  • 14:43 (UTC -06:00)
View GitHub Profile
@gorangajic
gorangajic / es6-spread-immutable-cheatsheet.md
Last active April 11, 2024 08:32
es6 spread immutable cheatsheet

update object

var state = {
    id: 1,
    points: 100,
    name: "Goran"
};

var newState = {
@renaudbedard
renaudbedard / ADSR.cs
Last active August 3, 2023 09:14
ADSR Envelope for Unity
using System;
using System.Collections.Generic;
using UnityEngine;
/* ****************
* Sample Usage *
****************
// prerequisite : put a gameobject with the ADSR script on it in your scene
// this enables the update loop that transparently updates Envelope objects
@marsam
marsam / toallemployees.md
Created June 23, 2013 18:42
TO ALL EMPLOYEES

TO ALL EMPLOYEES

It has been brought to the management’s attention that some individuals have been using foul language in the course of normal conversation between employees. Due to complaints from some of the easily offended workers, this conduct will no longer be tolerated.

The management does, however, realize the importance of each person being able to properly express their feelings when communicating with their fellow employees. Therefore, the management has compiled the following code phrases so that the proper exchange of ideas and information can continue.

OLD PHRASE                                               NEW PHRASE

No fucking way ......................................... I’m not certain that’s feasible.

You’ve got to be shitting me ........................... Really.