Skip to content

Instantly share code, notes, and snippets.

View mufidu's full-sized avatar
⛱️
Exploring around

Muhammad Mufid Utomo mufidu

⛱️
Exploring around
View GitHub Profile
@mufidu
mufidu / download_imgs.py
Last active November 1, 2024 07:00
Download all images in markdown files and rename the links to point to the local files. Moved to https://github.com/mufidu/markdown-image-downloader to allow for easier maintenance and contributions, if any.
import os
import urllib.parse
import urllib.request
import re
import time
import socket
from pathlib import Path
from typing import List, Tuple, Dict
from concurrent.futures import ThreadPoolExecutor, as_completed
from tqdm import tqdm
@mufidu
mufidu / numguessinggame.go
Created August 16, 2021 07:11
A number guessing game written in Go language
package main
import (
"fmt"
"math/rand"
"time"
)
func main() {
// accept user input