I hereby claim:
- I am RazorNd on github.
- I am razornd (https://keybase.io/razornd) on keybase.
- I have a public key whose fingerprint is FFF4 E122 883B 4448 E9FD 3195 64E8 02AD 6AB9 DC6E
To claim this, I am signing this object:
import { Component } from '@angular/core'; | |
import { FormArray, FormControl, FormGroup, Validators } from "@angular/forms"; | |
@Component({ | |
selector: 'app-reactive-form', | |
templateUrl: './reactive-form.component.html', | |
styleUrls: ['./reactive-form.component.scss'] | |
}) | |
export class ReactiveFormComponent { | |
genders = ['male', 'female', 'other'] |
import { Component } from '@angular/core'; | |
import { FormArray, FormControl, FormGroup, Validators } from "@angular/forms"; | |
@Component({ | |
selector: 'app-reactive-form', | |
templateUrl: './reactive-form.component.html', | |
styleUrls: ['./reactive-form.component.scss'] | |
}) | |
export class ReactiveFormComponent { | |
genders = ['male', 'female', 'other'] |
import kotlin.jvm.JvmStatic | |
import kotlin.math.sqrt | |
data class Vector2D(val x: Double, val y: Double) { | |
val length: Double | |
get() = sqrt(x * x + y * y) | |
val normalized: Vector2D |
I hereby claim:
To claim this, I am signing this object:
#define если if | |
#define иначе else | |
#define пока while | |
#define для for | |
#define не ! | |
#define число int | |
#define пусто void | |
#define главная main | |
#define верни return | |
#define логическая bool |
function loggerDecorator(object, methodName) { | |
const method = object[methodName]; | |
function loggerWrapper () { | |
console.log("Method: " + methodName + " call with params: ", Array.prototype.join.call(arguments, ', ')); | |
console.trace(); | |
method.apply(object, arguments); | |
} | |
loggerWrapper.oldMethod = method; |
#include <iostream> | |
#include <unordered_map> | |
#include <typeindex> | |
#include <functional> | |
#include <algorithm> | |
#include <type_traits> | |
class Message {}; | |
class MessageBus |
#include <iostream> | |
#include <thread> | |
#include <SFML/Window.hpp> | |
#include <SFML/Graphics.hpp> | |
void handleEvents(sf::RenderWindow &window) | |
{ | |
while(window.isOpen()) | |
{ | |
sf::Event event; |