Skip to content

Instantly share code, notes, and snippets.

View andymark-by's full-sized avatar
🏠
Working from home

Andy Mark andymark-by

🏠
Working from home
View GitHub Profile
@vieruuuu
vieruuuu / quasar.conf.js
Created November 10, 2021 15:42
disable quasar vue framework auto import of components for improved build size
module.exports = configure(function (ctx) {
return {
// disabled for js reduction
vendor: {
disable: true,
},
build: {
// the disabling part of quasar auto import
// found some outdated code online and updated it to work with latest quasar
@kenjij
kenjij / geoip.sh
Last active February 14, 2024 22:32
Downloading free MaxMind GeoIP file, use with NGINX
# Download the legacy format for NGINX compatibility
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
# Unzip
gunzip Geo*.gz
# Copy to /usr/share/GeoIP/
cp Geo*.dat /usr/share/GeoIP/