Install MacPorts
sudo port install clamavYou have to locate ClamAV config files, type this, it will fail and print the config folder:
freshclam| # 3D rotating cube in Python - only 15 lines of code https://imgur.com/87vnopo.gif | |
| import tkinter, math, time | |
| c = tkinter.Canvas(tkinter.Tk(), width=600, height=600) | |
| c.pack() | |
| while t := int(time.time()*60) : | |
| c.update() | |
| c.delete("all"); n = [] | |
| javascript:(function(){document.querySelector("video").style.filter = "brightness(0.5)";})() |
| <HTML> | |
| <HEAD> | |
| <HTA:APPLICATION ID="HelloExample" | |
| BORDER="thin" | |
| SCROLL="no" | |
| BORDERSTYLE="complex"/> | |
| <TITLE>HTA - Hello World</TITLE> | |
| <script> | |
| function fv(){ | |
| alert("hello"); |
| <?php | |
| header('Content-type: application/xml'); | |
| echo "<rss version='2.0' xmlns:atom='http://www.w3.org/2005/Atom'>\n"; | |
| echo "<channel>\n"; | |
| echo "<title>YouTube Channels RSS Feed</title>\n"; | |
| echo "<description>YouTube Channels RSS Feed</description>\n"; | |
| echo "<link>http://{$_SERVER[HTTP_HOST]}</link>\n"; | |
| echo "<atom:link href='http://{$_SERVER[HTTP_HOST]}' rel='self' type='application/rss+xml' />\n"; | |
| // Feed URLs - https://commentpicker.com/youtube-channel-id.php |
| #!/bin/bash | |
| # Creates an index.html file from every mp3,mp4 embedded, and every pdf linked in the html. | |
| echo -e "<meta charset='utf-8'>\n<h1> Archivum</h1>\n" >>index.html | |
| SAVEIFS=$IFS | |
| IFS=$(echo -en "\n\b") | |
| if [ $(ls -1 *.mp4 | wc -l) -eq 1 ] |
| <!-- | |
| Pomodoro timer | |
| -------------- | |
| The counter works unreliably when the tab is inactive (the browser slows down the counter). | |
| TODO: Rewrite to date + time based solution instead of setInterval. | |
| --> | |
| <!DOCTYPE html> |
Install MacPorts
sudo port install clamavYou have to locate ClamAV config files, type this, it will fail and print the config folder:
freshclam| # The 500 biggest folders except Google Drive, Trash etc... | |
| sudo du -hx / 2>/dev/null | sort -rh | grep -v "Google Drive" | grep -v "REPOS" | grep -v "Fotókönyvtár" | grep -v ".Trash" | grep -v "CameraUploads" | head -500 | |
| # The 500 biggest file that is older than 1 year | |
| sudo find / -type f -mtime +365 -exec ls -laT {} \; 2>/dev/null | awk '{print $5,$9,$10}' | sort -rh | head -500 |
| for f in *.jpg; do exiftool -all= "$f"; done && rm *_original |
| #!/bin/bash | |
| # Ellenőrzi, hogy melyek azok a fájlok amik itt megvannak | |
| # de az otherpath változóban írt helyen nincsenek. | |
| # Én az OSX és Windows Google Driveom tartalmát hasonlítom vele össze. | |
| # Az uconv programot használja az OSX furcsa ékezeteinek | |
| # visszaállítására rendes ékezetekké (e' -> é) | |
| # sudo apt install icu-devtools | |
| # Fura ékezetek neve: NFD normalied accents | |
| # Read more: https://en.wikipedia.org/wiki/Unicode_equivalence#Sources_of_equivalence |