Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View PirunSeng's full-sized avatar
💭
Happy coding 😄

Pirun Seng PirunSeng

💭
Happy coding 😄
View GitHub Profile
@PirunSeng
PirunSeng / main.cpp
Created August 10, 2019 05:39
OpenGL Lighting
#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() {
@PirunSeng
PirunSeng / my.component.ts
Last active August 14, 2019 09:19
Try takeUntil of RxJS operator
const notifier: Observable<any>;
const request = myService.getData();
request.pipe(
takeUntil(notifier)
).subscribe(response => console.log(response));