Skip to content

Instantly share code, notes, and snippets.

View mehmetabak's full-sized avatar
:atom:

Mehmet Abak mehmetabak

:atom:
View GitHub Profile
@mehmetabak
mehmetabak / github_non_followers.py
Created July 1, 2024 19:28
This Python script basically helps you identify GitHub users you follow who do not follow you back.
import requests
import re
def validate_username(username):
if re.match(r'^[a-zA-Z0-9-]{1,39}$', username):
return True
else:
return False
def get_following(GITHUB_USERNAME):
@TrevTV
TrevTV / ArcOn10.md
Last active October 23, 2025 19:22
Guide to installing Arc Browser on Windows 10

NOTICE: Arc now supports Windows 10 officially. This guide is no longer necessary.

As this is not an official way of installing Arc, if you encounter any issues do NOT report them to the developers, they did not intend for people to be running Arc on Windows 10.

@mikowl
mikowl / oneliners.js
Last active September 24, 2025 19:23
👑 Awesome one-liners you might find useful while coding.
// Inspired by https://twitter.com/coderitual/status/1112297299307384833 and https://tapajyoti-bose.medium.com/7-killer-one-liners-in-javascript-33db6798f5bf
// Remove any duplicates from an array of primitives.
const unique = [...new Set(arr)]
// Sleep in async functions. Use: await sleep(2000).
const sleep = (ms) => (new Promise(resolve => setTimeout(resolve, ms)));
// or
const sleep = util.promisify(setTimeout);