Skip to content

Instantly share code, notes, and snippets.

View cvetan's full-sized avatar

Cvetan Šimšić cvetan

View GitHub Profile
@cvetan
cvetan / UbuntuFirefoxProblems.md
Created August 22, 2026 20:21 — forked from dirksan28/UbuntuFirefoxProblems.md
Ubuntu - Firefox Apparmor problems in log / switch from SNAP to Mozilla APT-Repo

Complete Firefox Migration Guide: From Snap to Debian APT .deb (Ubuntu)

Restore Firefox’s stability and performance on Ubuntu by switching from the Snap package to Mozilla’s official .deb to overcome configuration caveats and recent Firefox Snap issues.

Motivation:

While using Firefox, numerous
apparmor="DENIED" profile="snap.firefox.firefox" name="/proc/pressure/memory" comm="MemoryPoller"
messages flooded the syslog, making log analysis impossible.

See also

@cvetan
cvetan / serbia_zip_codes.csv
Created December 4, 2017 14:13 — forked from nebjak/serbia_zip_codes.csv
List of Serbia zip codes with cities in CSV
zip_code city
11000 Beograd
11010 Beograd Vozdovac
11030 Beograd Čukarica
11050 Beograd Zvezdara
11060 Beograd Palilula
11070 Novi Beograd
11080 Beograd Zemun
11090 Beograd Rakovica
11130 Kaluđerica
@cvetan
cvetan / serbia_zip_codes2.json
Created December 4, 2017 14:12 — forked from nebjak/serbia_zip_codes2.json
List of Serbia zip codes with cities in form of one JSON object per line
{ "city" : "Beograd", "_id" : 11000 }
{ "city" : "Beograd Vozdovac", "_id" : 11010 }
{ "city" : "Beograd Čukarica", "_id" : 11030 }
{ "city" : "Beograd Zvezdara", "_id" : 11050 }
{ "city" : "Beograd Palilula", "_id" : 11060 }
{ "city" : "Novi Beograd", "_id" : 11070 }
{ "city" : "Beograd Zemun", "_id" : 11080 }
{ "city" : "Beograd Rakovica", "_id" : 11090 }
{ "city" : "Kaluđerica", "_id" : 11130 }
{ "city" : "Rušanj", "_id" : 11194 }