I think human consciousness is a tragic misstep in evolution. We became too self-aware. Nature created an aspect of nature separate from itself. We are creatures that should not exist by natural law. We are things that labor under the ilusion of having a self, this accretion of sensory experience and feeling, programmed with total assurance what we are each somebodywhen, in fact, everbody's nobody. I think the honorable thing for our species to do is deny our programming.
View calenderto_bangla.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from enum import Enum | |
import calendar | |
class BengaliMonths(Enum): | |
January = 'জানুয়ারী' | |
February = 'ফেব্রুয়ারী' | |
March = 'মার্চ' | |
April = 'এপ্রিল' | |
May = 'মে' | |
June = 'জুন' |
View comment.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>react</title> | |
<script src="https://unpkg.com/react@latest/dist/react.min.js" async></script> | |
<script src="https://unpkg.com/react-dom@latest/dist/react-dom.min.js" async></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.21.1/babel.min.js"></script> | |
</head> | |
<body> |
View gist:53b614cabc15087578afc646b88c302d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
absl-py==0.13.0 | |
aio-pika==6.8.2 | |
aiofiles==23.1.0 | |
aiohttp==3.7.4 | |
aiormq==3.3.1 | |
APScheduler==3.7.0 | |
astunparse==1.6.3 | |
async-generator==1.10 | |
async-timeout==3.0.1 | |
attrs==21.2.0 |
View python.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You can use the GitHub API to search for repositories, code, commits, issues, users, topics etc. Here is an example of how to search for repositories using Python's `requests` library. | |
```python | |
import requests | |
import json | |
def search_github(keyword): | |
url = 'https://api.github.com/search/repositories' | |
params = {'q': keyword} | |
response = requests.get(url, params=params) |
View install-openssl-from-src-mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install OpenSSL from source on Mac OS X | |
# prepare workspace | |
mkdir -p ~/code/build-from-src/ && cd $_ | |
# download source code | |
curl -LO https://www.openssl.org/source/openssl-1.1.1d.tar.gz | |
# expand tar | |
tar -xzvf openssl-1.1.1d.tar.gz |
View numa.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ "$EUID" -ne 0 ]]; then | |
echo "Please run as root." | |
exit 1 | |
fi | |
PCI_ID=$(lspci | grep "VGA compatible controller: NVIDIA Corporation" | cut -d' ' -f1) | |
#PCI_ID="0000:$PCI_ID" | |
for item in $PCI_ID | |
do | |
item="0000:$item" |
View diaglog_GPTMFST.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
absl-py==0.15.0 | |
asttokens==2.4.0 | |
astunparse==1.6.3 | |
backcall==0.2.0 | |
cachetools==5.3.1 | |
certifi==2023.7.22 | |
charset-normalizer==3.2.0 | |
clang==5.0 | |
comm==0.1.4 | |
decorator==5.1.1 |
View rasa_req.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
absl-py==0.13.0 | |
aio-pika==6.8.2 | |
aiofiles==23.1.0 | |
aiohttp==3.7.4 | |
aiormq==3.3.1 | |
APScheduler==3.7.0 | |
astunparse==1.6.3 | |
async-generator==1.10 | |
async-timeout==3.0.1 | |
attrs==21.2.0 |
View YTmusic.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from ytmusicapi import YTMusic | |
# Initialize YTMusic using your OAuth credentials | |
ytmusic = YTMusic("oauth.json") | |
# Search for a song | |
search_results = ytmusic.search('Blank Space By Taylor Swift') | |
# Check if search results are empty | |
if not search_results: |
NewerOlder