Skip to content

Instantly share code, notes, and snippets.

View maifeeulasad's full-sized avatar
⚔️
Open for work! Developing on-premise ML and full stack solutions for industries

Maifee Ul Asad maifeeulasad

⚔️
Open for work! Developing on-premise ML and full stack solutions for industries
View GitHub Profile
@maifeeulasad
maifeeulasad / Phonetizer.py
Last active September 15, 2020 17:05
Phonetizer using Google translate, developing, check out here - http://github.com/maifeeulasad/phonetizer-google
from urllib.request import Request, urlopen
from bs4 import BeautifulSoup
#https://translate.google.com/#view=home&op=translate&sl=en&tl=en&text=hello
#tlid-transliteration-content transliteration-content full
class Phonetizer:
def __init__(self,sentence : str,language_ : str = 'en'):
self.words=sentence.split()
self.language=language_
@maifeeulasad
maifeeulasad / 3.tex
Created October 12, 2019 18:33
Create matrix projection like view
\documentclass{article}
\usepackage{amsmath}
\usepackage{tikz}
\usepackage{tikz-3dplot}
\usetikzlibrary{backgrounds}
\begin{document}
\tdplotsetmaincoords{65}{60}
\begin{tikzpicture}[tdplot_main_coords]
\begin{scope}[canvas is xz plane at y=2,transform shape]
\node[inner xsep=-3pt,inner ysep=-0.3pt] (mat1){$\displaystyle
#!/usr/local/bin/python3
from PIL import Image
# Open Paddington
img = Image.open("input_file_name.jpg")
#increase for high resulation
si=16
@maifeeulasad
maifeeulasad / Sequential_blinking_12_led_s.ino
Created March 8, 2019 09:45
copy paste arduino code for 12 led
/* A simple program to sequentially turn on and turn off 12 LEDs */
int LED1 = 13;
int LED2 = 12;
int LED3 = 11;
int LED4 = 10;
int LED5 = 9;
int LED6 = 8;
int LED7 = 7;
@maifeeulasad
maifeeulasad / Java1.java
Created January 30, 2019 18:31
Extending size of JFrame according to JTextArea
import javafx.scene.input.KeyCode;
import javax.swing.*;
import javax.xml.soap.Text;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.security.Key;
public class Test extends JFrame {
@maifeeulasad
maifeeulasad / last_4_digits.cpp
Created December 9, 2018 11:29
find last 4 digit of (x^y) --- x and y are long long
#include<bits/stdc++.h>
using namespace std;
int main()
{
long long pow=1;
long long n=1;
while(cin >> n >> pow && pow && n)