Skip to content

Instantly share code, notes, and snippets.

View mraza007's full-sized avatar
:shipit:
Hi :)

Muhammad mraza007

:shipit:
Hi :)
View GitHub Profile
@mraza007
mraza007 / email-test.py
Created March 13, 2024 03:51
A simple script which allows you send email (Written for a blog)
import smtplib
from email.mime.text import MIMEText
# Set up the email content
subject = "Test Email"
body = "This is a test email\n Hello World"
sender_email = "testing_email@xyz.com"
receiver_email = "recipient_test@abc.com"
message = MIMEText(body)
@mraza007
mraza007 / python-cp.py
Last active November 10, 2023 05:44
cp command implemented using python
import os
import sys
def copy(src: str, dest: str) -> None:
"""
Copy the contents of the source file to the destination file or directory.
If dest is a directory, the file will be copied into it with the same filename.
Args:
@mraza007
mraza007 / talks_2018
Created January 24, 2021 06:04
Compiled list of interesting talks according to HN (2018 Edition)
Q: Why Do Keynote Speakers Keep Suggesting That Improving Security Is Possible? A: Because Keynote Speakers Make Bad Life Decisions and Are Poor Role Models | USENIX
usenix_logo_notag_white - https://www.usenix.org/conference/usenixsecurity18/presentation/mickens
The Wisdom of James Mickens | James Mickens - https://mickens.seas.harvard.edu/wisdom-james-mickens
What Bodies Think About: Bioelectric Computation Outside the Nervous System - NeurIPS 2018 - YouTube - https://www.youtube.com/watch?v=RjD1aLm4Thg
Maybe Not - Rich Hickey - YouTube - https://www.youtube.com/watch?v=YR5WdGrpoug
Text.Parsec.Combinator - http://hackage.haskell.org/package/parsec-3.1.13.0/docs/Text-Parsec-Combinator.html#v:optionMaybe
Byrne's Blog » Blog Archive » Why Are Middlebrow Dismissals So Tempting? - http://www.byrnehobart.com/blog/why-are-middlebrow-dismissals-so-tempting/
Contracts For Getting More Programs Less Wrong - Strange Loop - https://www.thestrangeloop.com/2018/contracts-for-getting-more-programs-less
@mraza007
mraza007 / README.md
Created March 6, 2020 02:45 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>CryptoCurrency News</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.8.0/css/bulma.min.css">
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
</head>
<body>
#RPi Pinouts
#I2C Pins
#GPIO2 -> SDA
#GPIO3 -> SCL
#Import the Library Requreid
import smbus
import time
@mraza007
mraza007 / AI-cheatsheet.md
Last active July 17, 2019 09:32
A Gist that contains all the cheatsheets related to AI development work
@mraza007
mraza007 / npm-commands.md
Created May 22, 2019 09:31 — forked from ankurk91/npm-commands.md
Useful npm commands and tricks

npm v3.10 - ◾

⚠️ This gist is outdated, but most of the commands are still relevant.

Update npm itself

npm install -g npm
# Downgrade to a specific version
npm install -g npm@2
@mraza007
mraza007 / Cliref.md
Created April 8, 2019 20:59 — forked from yunga/Cliref.md
CLIRef.md
_________ _____ _______________       _____
\_   ___ \\    \\___________   \____ / ____\     ~/.bash/cliref.md
/    \  \/|    | |   ||       _/ __ \  __\    copy/paste from whatisdb
\     \___|__  |_|_  ||    |   \  __/|_ |   http://pastebin.com/yGmGiDQX
 \________  /_____ \_||____|_  /____  /_|     yunga.palatino@gmail.com
 20160515 \/ 1527 \/         \/     \/

alias CLIRef.txt='curl -s "http://pastebin.com/raw/yGmGiDQX" | less -i'

@mraza007
mraza007 / frontendDevlopmentBookmarks.md
Created January 8, 2019 18:48 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.