Skip to content

Instantly share code, notes, and snippets.

View Coool's full-sized avatar
🐱
𝔾𝕚𝕥ℍ𝕦𝕓

ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝) Coool

🐱
𝔾𝕚𝕥ℍ𝕦𝕓
View GitHub Profile
@usinss
usinss / install.sh
Created February 23, 2022 20:43 — forked from aabele/install.sh
Instalēt Latvijas digitālo parakstu uz Ubuntu linux 20.10
sudo wget -qO - https://www.eparaksts.lv/files/ep3updates/debian/public.key | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://www.eparaksts.lv/files/ep3updates/debian focal eparaksts"
sudo apt-get install eparakstitajs3
sudo apt-get install awp
sudo apt-get install latvia-eid-middleware
sudo apt-get install eparaksts-token-signing
@cemerson
cemerson / archive.org-scanned-book-downloader-bookmarklet.md
Last active April 24, 2025 13:30
Archive.org Scanned Book Downloader Bookmarklet

Archive.org Scanned Book Downloader Bookmarklet

A simple "1-click" javascript approach to downloading a scanned book from archive.org to read at your leisure on the device of your choosing w/out having to manually screenshot every pages of the book by hand. In short it's a glorified "Save Image As..." approach but consolidated down to "1 click". BTW there may be a much better option than this out there - I just built this as an autistic project to see if it would work.

Demo Video

Archive.org SBDL Demo

Obligatory Legal/Disclaimer:

By using this script you agree to delete all book files/images after your 1 hour or 14 days is up! I don't support using this script for any other use cases. After all, none of us have ever kept a library book past it's return date, right?

@laacz
laacz / feedly.js
Last active August 3, 2022 00:23
If you have more than 1k unread entries in Feedly, this is what you do to get full counts
document.querySelector('#feedlyChrome__leftnav-wrapper > div > nav.LeftnavList > div.LeftnavList__feed-list > div:nth-child(2) > div.MockLink.LeftnavListRow.LeftnavListRow--selected > span.LeftnavListRow__count')
.innerText = Array.from(document.querySelectorAll('.LeftnavListRow__count')).map((val) => val === "1K+" ? 0 : parseInt(val.innerText, 10)).reduce((a, b) => a + b)
@aabele
aabele / install.sh
Last active April 19, 2025 14:36
Instalēt Latvijas digitālo parakstu uz Ubuntu linux 20.10
sudo wget -qO - https://www.eparaksts.lv/files/ep3updates/debian/public.key | sudo apt-key add -
sudo apt-add-repository "deb https://www.eparaksts.lv/files/ep3updates/debian focal eparaksts"
sudo apt-get install eparakstitajs3
sudo apt-get install awp
sudo apt-get install latvia-eid-middleware
sudo apt-get install eparaksts-token-signing
@laacz
laacz / API.md
Last active August 3, 2022 00:23
"Presē pirms 100 gadiem" API

Triviāli. Viena pati metode. https://periodika.laacz.lv/api/1/issues. Ar GET. API pieejamība netiek garantēta. API versijas ietvaros destruktīvas atgriežamo datu struktūru izmaiņas netiek plānotas (t.i. - pielietojot šo API, ņem vērā, ka, lai arī nost nekas neies, jauni atribūti var parādīties).

Tiek atgriezts (ja tiek, protams) sekojošas struktūras JSON.

{
    "issues": [ // Masīvs ar numuriem
        { 
            "id": 557973, 
            "periodical_id": 152,
@yogeshvar
yogeshvar / automator_setup.md
Last active August 6, 2024 02:33
Clearing Telegram cache & Automate using LaunchDaemons and Automator application

How to setup clear cache on login.

Note: If your mac is off, LaunchDaemons will not run. So, automator will clear the cache during login.

  1. Open Automator application -> select Application -> Click Choose

application

  1. Select run shell script -> copy & paste clear_telegram_cache.sh -> Click test run

@laacz
laacz / eveseliba-doc.md
Last active August 3, 2022 00:42
E-veselības doki

Viss > E-veselība > Dokumentācija

Ņemts no e-veselības dokumentācijas wiki.

  1. Pierakstu un nosūtījumu informācijas sistēma: Web lietotāju platformas darbnespējas lapas modulis. Programmatūras projektējuma apraksts
    Šis dokuments apraksta Veselības aprūpes WEB lietotāju platformas (Portāls) darbnespējas lapas moduļa detalizēto projektējumu.
  2. Pierakstu un nosūtījumu informācijas sistēma: Web lietotāju platformas darbnespējas lapas modulis. Programmatūras prasību specifikācija
    Šis dokuments apraksta Veselības aprūpes elektronisko nosūtījumu/elektronisko pierakstu informācijas sistēmas (Portāls) darbnespējas lapas apstrādes modulim izvirzītās funkcionālās prasības.
  3. [Pierakstu un nosūtījumu informācijas sistēma: Programmatūras projektējuma apraksts](https://viss.gov.lv/-/
@tjluoma
tjluoma / youtube-rss.sh
Last active January 3, 2023 09:00
Did you know YouTube has RSS feeds? No? Probably because YouTube makes them nearly impossible to find. But here's an easy way to get the RSS feed for any YouTube user. Inspired by <https://eggfreckles.net/notes/youtube-rss/>
#!/usr/bin/env zsh -f
# Purpose: get the RSS feed for a YouTube page
# Inspired By: https://eggfreckles.net/notes/youtube-rss/
# Gist: https://gist.github.com/tjluoma/fdbc63ceb78a2aecd3d638fd18b6ec6e
#
# From: Timothy J. Luoma
# Mail: luomat at gmail dot com
# Date: 2020-01-17; updated 2021-01-10
# 2021-01-10 YouTube currently has both 'rssUrl' and
@manhpham90vn
manhpham90vn / crack-with-navicat-keygen.sh
Created August 18, 2019 08:28 — forked from zthxxx/crack-with-navicat-keygen.sh
crack navicat premuim 12.04 with navicat-keygen
# make sure exist a keychain identity preference named "crack-for-navicat"
# ref: https://github.com/DoubleLabyrinth/navicat-keygen/tree/mac
# to gen a identity,
# https://support.apple.com/kb/PH7173?locale=en_US
# set the Name: crack-for-navicat
# set the Certificates Type: Code Signing
# after created, you need always trust this identity,
# then you can use this commad under to check:
# security find-identity -vp codesigning
@thefranke
thefranke / RSS.md
Last active April 29, 2025 05:33
A list of RSS endpoints, readers and resources

The RSS Endpoint List

Please refer to this blogpost to get an overview.

Replace *-INSTANCE with one of the public instances listed in the scrapers section. Replace CAPITALIZED words with their corresponding identifiers on the website.

Social Media

Twitter