Skip to content

Instantly share code, notes, and snippets.


Ali Bahraminezhad al1b

Block or report user

Report or block al1b

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
al1b / linkdin-tahoma.js
Created Nov 13, 2016
Linkedin Tahoma Font - Grease Monkey Script
View linkdin-tahoma.js
// ==UserScript==
// @name Linkedn
// @namespace
// @version 0.1
// @description Automatically change font to Tahoma for rtl contents in LinkendIn.
// @author Ali Bahraminezhad -
// @match https://**
// @grant none
// ==/UserScript==
/* jshint -W097 */
al1b / blocking-page.js
Last active Aug 17, 2017
Replace Simple Blocking Page
View blocking-page.js
// ==UserScript==
// @name Simple Blocking Page
// @namespace
// @version 0.1
// @description Replace with a simpler page.
// @author You
// @grant none
// @include *
// ==/UserScript==
View library-fine.cs
Author: Ali Bahraminezhad
Your local library needs your help! Given the expected and actual return dates for a library book, create a program that calculates the fine (if any).
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
View CavityMap.cs
Author: Ali Bahraminezhad
Description: You are given a square map of size . Each cell of the map has a value denoting its depth. We will call a cell
of the map a cavity if and only if this cell is not on the border of the map and each cell adjacent to it has strictly smaller depth.
Two cells are adjacent if they have a common side (edge).
al1b /
Created Jul 14, 2016
A Python script to download today picture of and set it as Windows Desktop wallpaper.
import re, os, tempfile
import urllib.request
from urllib.parse import urlparse
def getBing():
url = ''
response = urllib.request.urlopen(url)
data =
al1b /
Created Jun 17, 2016
Python script to extract video urls and subtitles from Microsoft Virtual Academy.
__author__ = "Ali Bahraminezhad -"
__license__ = "GPL"
__version__ = "1.0.0"
__maintainer__ = "Ali Bahraminezhad"
import re
import os
import tempfile
import json
You can’t perform that action at this time.