Skip to content

Instantly share code, notes, and snippets.

@tasmirz
tasmirz / client.js
Created December 6, 2023 16:47
Course List - BRAC
import https from 'https'
import fs from 'fs'
const URL = 'https://usis-cdn.eniamza.com/usisdump.json'
const options = {
method: 'GET'
};
let out = ""
let codes = ["CSE110", "CSE230", "MAT120"]
let d = ["courseCode",
/* #include <iostream>
using namespace std;
class A {
int a;
public:
A(int a) { cout << "def A" << endl; }
A() { cout << "param A" << endl; }
#include <bits/stdc++.h>
using namespace std;
int main() {
srand(static_cast<unsigned int>(std::time(0)));
freopen("data.csv", "w", stdout);
vector<int> numbers;
for (int i = 1; i <= 121; ++i) {
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
// from lab
int main() {
int n;
bool state = 1;
scanf("%d", &n);
int currentClass = 0;
#ifndef Bismillah
#include <cstdlib>
#include <iostream>
using namespace std;
#define endl '\n'
#define range(i, a, b) for (int i = a; i < b; i++)
#endif
typedef union {
struct {
#ifndef Bismillah
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <map>
#include <set>
#include <vector>
using namespace std;
@tasmirz
tasmirz / saleque_t1.c
Last active January 22, 2023 15:10
saleque_t1.c
#include <stdio.h>
int test(int n, int m) {
int k;
__asm__ __volatile__(
"movl %1, %%eax;"
"movl %2, %%ebx;"
"xorl %%edx, %%edx;"
"idivl %%ebx;"
/*
* @author tasmirz, zakariazishan
*/
#include <bits/stdc++.h>
using namespace std;
ifstream in;
ofstream out;
Roll ID Subject rank
1 2731053 CSE 1
2 3449064 CSE 2
3 2339148 CSE 3
4 2693778 CSE 6
5 2293132 CSE 8
6 3486894 CSE 11
7 3461430 CSE 12
8 2266483 CSE 14
9 3640284 CSE 15
const https = require('https')
const HTMLParser = require('node-html-parser')
const fs = require('fs')
const events = require('events')
const state = new events.EventEmitter()
const { Webhook, MessageBuilder } = require('discord-webhook-node');
const hook = new Webhook(process.env.DiscordBracUAnnoncementWebhook)
//Preset