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 pyarxiv import query, download_entries | |
from pyarxiv.arxiv_categories import ArxivCategory, arxiv_category_map | |
import PyPDF2,os | |
from ollama import chat | |
# Define search categories | |
wanted = [] | |
for i in list(arxiv_category_map.keys()): | |
if str(i).split('.')[1].startswith('cs'): |
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
#!/usr/bin/env python3 | |
import cv2 | |
import datetime | |
import ftplib | |
import ping3 | |
import pygame | |
import requests | |
import time | |
import os |
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
#!/usr/bin/env python3 | |
# https://willemjan.github.io/2021/10/07/iot-for-libraries.html | |
import contextlib # stackoverflow.com/q/51464455 | |
with contextlib.redirect_stdout(None): | |
import pygame | |
import os | |
import json |
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
#!/usr/bin/env python3 | |
import contextlib # stackoverflow.com/q/51464455 | |
with contextlib.redirect_stdout(None): | |
import pygame | |
import os | |
import json | |
import time |
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
#!/usr/bin/env python3 | |
import contextlib # stackoverflow.com/q/51464455 | |
with contextlib.redirect_stdout(None): | |
import pygame | |
import json | |
import time | |
import serial |
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
#!/usr/bin/env python3 | |
import json | |
from lxml import etree | |
from pprint import pprint | |
DEBUG = False | |
# DEBUG = True |
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
#!/usr/bin/env python3 | |
# © Mikael Frykholm <mikael@frykholm.com> | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
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
dari doeloe, politik jang dikeri | |
tik dengan hebat djoega oleh ka¬ | |
oem Katholik; akan diteroeskan | |
poela. | |
Dalam soerat2 kabar Katholik | |
kita ketemoe perasaan koerang | |
senang. Mereka telah oemoemkan | |
lebih dahoeloe pengharapan me¬ | |
reka, bahwa kabinet Colijn ini | |
jang mempoenjai 4 minister Kat |
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
dari doeloe , politik jang dikeri tik dengan hebat djoega oleh kaoem Katholik (B-per) ; akan diteroeskan poela . | |
Dalam soerat2 kabar Katholik (B-per) kita ketemoe perasaan koerang senang . | |
Mereka telah oemoemkan lebih dahoeloe pengharapan mereka , bahwa kabinet Colijn (B-per) ini jang mempoenjai 4 minister Kat (B-per) holik akan perdengarkan „ het verlossende woord , perdengar kan perkataan jang melepaskan kita dari pada perasaan sesat , Nah (B-per) , sekarang mereka ketjewa . | |
Sabahagian dari soerat2 kabar Katholik (B-per) menjelimoeti keketjewa an itoe , tetapi beberapa harian Katholik (B-per) jang berpengaroeh seperti „ De (B-org) Tijd (I-org) , dan „ De (B-misc) Mor (I-misc) gen perdengarkan keritik jang pedas , „ Oe (B-misc) Tijd (I-misc) `` madjoekan pertanjaan , apa adakah lagi alasan bagi minister2 katholik boeat doedoek lagi dalam kabinet Co (B-per) lijn (I-per) . | |
Djoega (B-per) dalam soerat2 ka bar dari lain2 partai kita batja keritik , tetapi tidak dengan tjara jang bisa membahajai kabinet Corij |
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
#!/usr/bin/env python3 | |
""" | |
https://opac.perpusnas.go.id/uploaded_files/dokumen_isi3/Terbitan%20Berkala/PERTJATOERAN_19[26-31]_[Januari|Februari|Maret|April|Mei|Juni|Juli|Agustus|September|Oktober|November|Desember]_03_Tahun_[III|IV|V|VI|VII]_No_[1-150]_001.pdf. | |
""" | |
import requests | |
month_names = "Januari|Februari|Maret|April|Mei|Juni|Juli|Agustus|September|Oktober|November|Desember" |
NewerOlder