Skip to content

Instantly share code, notes, and snippets.

View Teerut26's full-sized avatar
🎯
Focusing

Teerut Srithongdee Teerut26

🎯
Focusing
View GitHub Profile
@Teerut26
Teerut26 / GenEdKU.json
Last active January 12, 2024 08:46
General Education Kasetsart University (Last update 12 Jan 23)
[
{
"subjectGroup": "อยู่ดีมีสุข",
"subjectCode": "01175111",
"subjectName": " กรีฑาลู่-ลาน เพื่อสุขภาพ \n (Track and Field for Health)",
"subjectCredits": "1(0-2-1)",
"subjectFaculty": "คณะศึกษาศาสตร์"
},
{
"subjectGroup": "อยู่ดีมีสุข",
const fs = require("fs");
const zlib = require("zlib");
const args = process.argv.slice(2);
if (args.length < 1) {
console.error("Usage: node emkunpack.js <file>");
process.exit(1);
}
const data = fs.readFileSync(args[0]);
{
"ref": "https://github.com/KU-Table/KU-Table-server/blob/main/data/newGenEd.json",
"D14": {
"60": {
"Wellness": 3,
"Entrepreneurship": 3,
"Thai_Citizen_and_Global_Citizen": 3,
"Language_and_Communication": 13,
"Aesthetics": 3,
"Other": 5,
#include <iostream>
using namespace std;
typedef struct binary_tree
{
int key;
struct binary_tree *parent;
struct binary_tree *leftChild;
struct binary_tree *rightCild;
#include <iostream>
using namespace std;
int **createGraph(int n)
{
int **martix = (int **)malloc(sizeof(int *) * n);
for (int i = 0; i < n; i++)
{
#include <iostream>
using namespace std;
typedef struct node_
{
int key;
int total_size;
struct node_ *parent;
struct node_ *leftChild;
// Online C++ compiler to run C++ program online
#include <iostream>
#include <vector>
#include <queue>
using namespace std;
typedef vector<int> Vector;
Vector *createGraph(int n){
@Teerut26
Teerut26 / jdh
Created June 30, 2019 00:50
Test
dbbb
##