Skip to content

Instantly share code, notes, and snippets.

View iostreamdoth's full-sized avatar
😈
Dream on, Dream on, Dream on ...

Nishant Sharma iostreamdoth

😈
Dream on, Dream on, Dream on ...
View GitHub Profile
package misc;
import java.util.Arrays;
import java.util.Comparator;
public class LargestNumber {
static Comparator<String> o = new Comparator<String>() {
public int compare(String str1, String str2)
{
package misc;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
public class GraphRun {
public static void main(String[] args) {
// TODO Auto-generated method stub
int main(int argc,char** argv)
{
PyObject* py_imp_str;
PyObject* py_imp_handle;
PyObject* py_imp_dict; //borrowed
PyObject* py_imp_load_source; //borrowed
PyObject* py_dir; //stolen
PyObject* py_lib_name; //stolen
PyObject* py_args_tuple;
PyObject* py_lib_mod;
@iostreamdoth
iostreamdoth / progress.py
Created September 14, 2021 15:51 — forked from vladignatyev/progress.py
Python command line progress bar in less than 10 lines of code.
# The MIT License (MIT)
# Copyright (c) 2016 Vladimir Ignatev
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the Software
# is furnished to do so, subject to the following conditions:
#