Skip to content

Instantly share code, notes, and snippets.

View kargaranamir's full-sized avatar
🕸️
Focusing

Amir Hossein Kargaran kargaranamir

🕸️
Focusing
View GitHub Profile
@kargaranamir
kargaranamir / even_2prime_conjecture.ipynb
Last active July 21, 2022 18:52
even_2prime_conjecture.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kargaranamir
kargaranamir / acm_copyright.md
Created January 25, 2022 19:17
How to remove the copyright box? in acm format
@kargaranamir
kargaranamir / rtl.md
Created December 11, 2021 14:06
RTL Markdown

این گونه عنوان بزرگ را تعیین کنید

این گونه عنوان کوچکتر را تعیین کنید

برای ارجاع دادن به لینک از این قالب استفاده کنید.

@kargaranamir
kargaranamir / setup.py
Created September 3, 2021 14:57
setup.py to install cpython extention xxx.so
from distutils.core import setup
setup (name = 'xxx',
version = '1.0',
author = "author_xxx",
description = """Desciption""",
py_modules = ["xxx"],
packages=[''],
package_data={'': ['_xxx.so']},
)
@kargaranamir
kargaranamir / myhref.md
Last active August 22, 2021 17:43
Create Custom Command Latex

Here is a simple custom command for adding underline to href package. Also there are another ways to do this but it's a good example to show how we can create a custom command!

\newcommand{\myhref}[2]{%
    \href{#1}{\underline{#2}}%
}