Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

ehza ehzawad

🎯
Focusing
View GitHub Profile
View patch-edid.rb
#!/usr/bin/ruby
# Create display override file to force Mac OS X to use RGB mode for Display
# see http://embdev.net/topic/284710
require 'base64'
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay`
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten
@ehzawad
ehzawad / Activate Office 2019 for macOS VoL.md
Created May 28, 2021 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file
View Activate Office 2019 for macOS VoL.md

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

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.

Ref

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.
View bioinformatics.md

Introduction

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

View boyermoore.py
# 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
View z_value.py
# 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
View paper-writing-suppliment.md
  • 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!
Quant:
View sample_nlp.py
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)
View edge_detection.py
import math
import sys
from PIL import Image, ImageFilter
# ensure correct usage
if len(sys.argv) != 2:
sys.exit("Usage: Python3 edge_detection.py imagefilename")