Skip to content

Instantly share code, notes, and snippets.

💭
Happy coding 😄

Pirun Seng PirunSeng

💭
Happy coding 😄
Block or report user

Report or block PirunSeng

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
@PirunSeng
PirunSeng / my.component.ts
Last active Aug 14, 2019
Try takeUntil of RxJS operator
View my.component.ts
const notifier: Observable<any>;
const request = myService.getData();
request.pipe(
takeUntil(notifier)
).subscribe(response => console.log(response));
@PirunSeng
PirunSeng / main.cpp
Created Aug 10, 2019
OpenGL Lighting
View main.cpp
#include<windows.h>
#include <GL/glut.h>
#include <GL/glu.h>
#include <GL/gl.h>
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
void drawGoldSphere() {
You can’t perform that action at this time.