Skip to content

Instantly share code, notes, and snippets.

View debMan's full-sized avatar
👓
learn, learn, and learn !

MohamadAli debMan

👓
learn, learn, and learn !
View GitHub Profile
import requests
import json
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
query = 'http://members.tsetmc.com/tsev2/chart/data/Financial.aspx'
params = {
'i': '18027801615184692',
't': 'ph',
@skyzyx
skyzyx / homebrew-gnubin.md
Last active March 31, 2025 19:27
Using GNU command line tools in macOS instead of FreeBSD tools

macOS is a Unix, and not built on Linux.

I think most of us realize that macOS isn't a Linux OS, but what that also means is that instead of shipping with the GNU flavor of command line tools, it ships with the FreeBSD flavor. As such, writing shell scripts which can work across both platforms can sometimes be challenging.

Homebrew

Homebrew can be used to install the GNU versions of tools onto your Mac, but they are all prefixed with "g" by default.

All commands have been installed with the prefix "g". If you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH from your bashrc.

@IanColdwater
IanColdwater / twittermute.txt
Last active March 18, 2025 17:59
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
@ChrisTollefson
ChrisTollefson / bash_startup_files.md
Last active February 9, 2025 16:04
Bash Startup Files

Bash Startup Files