Skip to content

Instantly share code, notes, and snippets.

<3 Table tennis!

Buleandra Cristian Cristy94

<3 Table tennis!
Block or report user

Report or block Cristy94

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Cristy94 / EventSystem.ts
Created Jan 15, 2020
TypeScript simple global Event System
View EventSystem.ts
export const enum EventType {
type DATA_INFO_UPDATED = string;
type IEventCallback<T> = (data: T) => void;
interface IEventSubscribers {
[eventType: number]: Array<IEventCallback<any>> | undefined;
View controlle-randomness.cpp
inline int round_positive_float(float f)
return static_castint〉(f + 0.5f);
class ControlledRandom
float state = 1.0f;
int index = 0;
static constexpr float constant_to_multiply[101] =
Cristy94 / react-vscode-snippets.json
Created Apr 2, 2018
React Typescript VSCode snippets for quickly creating components (use shorthand 'rc' or 'rcc')
View react-vscode-snippets.json
"React Connected Component": {
"prefix": "rcc",
"body": [
"import * as React from 'react';\r",
"import { connect } from 'react-redux';\r",
"interface IOwnProps {\r",
You can’t perform that action at this time.