Skip to content

Instantly share code, notes, and snippets.


ehza ehzawad

View GitHub Profile
View patch-edid.rb
# Create display override file to force Mac OS X to use RGB mode for Display
# see
require 'base64'
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay`
ehzawad / Activate Office 2019 for macOS
Created May 28, 2021 — forked from zthxxx/Activate Office 2019 for macOS
crack activate office on mac with license file
View Activate Office 2019 for macOS

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above


Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.


View outputttttt.txt
This file has been truncated, but you can view the full file.
BLASTN 2.11.0+
Reference: Zheng Zhang, Scott Schwartz, Lukas Wagner, and Webb
Miller (2000), "A greedy algorithm for aligning DNA sequences", J
Comput Biol 2000; 7(1-2):203-14.


Inexact or appropriate matching means some errors will be there

Alignment generally means lining up characters of strings, allowing mismatches as well as matches, and allowing characters of one string to be placed opposite spaces made in opposing string

It is central in computational molecular biology because of active mutational process

Duplication and modification is the central part of protein evolution

# Python3 program for Boyer Moore Algorithm with
# Good Suffix heuristic to find pattern in
# given text string
# preprocessing for strong good suffix rule
def preprocess_strong_suffix(shift, bpos, pat, m):
# m is the length of pattern
i = m
# Find the Z-array for the given string
def z_array(thatString):
# length of that string
lengthOfTheString = len(thatString)
# make room for Z array; construct Z array
z = [0] * lengthOfTheString
# keep track of z-boxes
# [l, r] makes a window which matches with prefix
  • paper 01

Sequence-to-sequence Bangla Sentence Generation with LSTM

In this paper, they have discussed Bangla text generation, using a deep learning approach, LSTM, predicts the very next point of a given time sequence.

  • paper 02

Bangla Text Classification using transformers

View gre_tips.txt
Tips for the GRE exam.
General tips for the entire exam:
- Make sure to get a good night's sleep the day before.
- Be relaxed, you prepared. There's people that spend 1-2 weeks in total and still get good scores. You spent way more time.
- Have a bottle of water beside you.
- Have a protein snack beside you.
- Kill that MF yo!
import numpy as np
freqs = build_freqs(tweets, labels)
X = np.zeros((m, 3))
for i in range(m):
p_tweet = process_tweet(tweets[i])
X[i, :] = extract_features(p_tweet, freqs)
import math
import sys
from PIL import Image, ImageFilter
# ensure correct usage
if len(sys.argv) != 2:
sys.exit("Usage: Python3 imagefilename")