Skip to content

Instantly share code, notes, and snippets.

View mehrab-haque's full-sized avatar
🎢
You can definitely make a brand new ending :)

mehrab-haque

🎢
You can definitely make a brand new ending :)
View GitHub Profile
@mehrab-haque
mehrab-haque / input.cpp
Last active May 27, 2022 02:59
C++ Line By Line Input String Tokens
#include <iostream>
#include <sstream>
#include <string>
#include <fstream>
using namespace std;
int main(){
string line;
@mehrab-haque
mehrab-haque / DS.js
Last active November 4, 2020 07:24
Problem Setter Console DS
{
//mandatory
uid:"setter_user_id",
draft:false,
timestamp: 158121845121, //in milliseconds
title:"title",
logo:"logo",
grade:3,
difficulty:1, //1=>easy, 2=>medium, 3=>hard
language:1, //1=>english, 2=>bengali
@mehrab-haque
mehrab-haque / AsyncGet.java
Created April 19, 2020 13:10
JavaFX async natured HTTP GET Request
import javafx.animation.AnimationTimer;
import org.json.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Observable;