Skip to content

Instantly share code, notes, and snippets.

View TejasAvinashShetty's full-sized avatar
🎯
Keep calm and carry on

Tejas Shetty TejasAvinashShetty

🎯
Keep calm and carry on
View GitHub Profile
@jeroendelfos
jeroendelfos / show_progress.py
Last active May 31, 2019 07:53
Show progress of a loop on one line
def show_progress(loop, loops):
print('Progress: [{}/{}]'.format(loop, loops), end='\r')
# Example code:
prime_numbers = []
for i in range(1e6):
for j in range(2,i):
if i % j == 0:
break
@max-mapper
max-mapper / bibtex.png
Last active March 10, 2024 21:53
How to make a scientific looking PDF from markdown (with bibliography)
bibtex.png
@math2001
math2001 / Revert sublime text 3 to a fresh state.md
Last active March 21, 2024 13:34
Revert Sublime Text 3 to a fresh state step by step 🙂

[UPDATE] Sublime Text 4

If you have the latest sublime text (version 4), you can just do:

subl --safe-mode

How do I revert Sublime Text 3 to a fresh state

@brunogaspar
brunogaspar / README.md
Last active October 7, 2022 09:08
Install wkhtmltopdf on Ubuntu (14.04 64-bit) or (16.04 64-bit)

Install wkhtmltopdf on Ubuntu

This was tested on:

  • Ubuntu 14.04 x64
  • Ubuntu 16.04 x64

Installation