This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* #include <iostream> | |
using namespace std; | |
class A { | |
int a; | |
public: | |
A(int a) { cout << "def A" << endl; } | |
A() { cout << "param A" << endl; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdbool.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
// from lab | |
int main() { | |
int n; | |
bool state = 1; | |
scanf("%d", &n); | |
int currentClass = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef Bismillah | |
#include <algorithm> | |
#include <cmath> | |
#include <cstdlib> | |
#include <iomanip> | |
#include <iostream> | |
#include <map> | |
#include <set> | |
#include <vector> | |
using namespace std; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int test(int n, int m) { | |
int k; | |
__asm__ __volatile__( | |
"movl %1, %%eax;" | |
"movl %2, %%ebx;" | |
"xorl %%edx, %%edx;" | |
"idivl %%ebx;" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @author tasmirz, zakariazishan | |
*/ | |
#include <bits/stdc++.h> | |
using namespace std; | |
ifstream in; | |
ofstream out; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
NewerOlder