Skip to content

Instantly share code, notes, and snippets.

View atiris's full-sized avatar
😏
thinking about ...

Jozef Pažin atiris

😏
thinking about ...
View GitHub Profile
@atiris
atiris / _media-query-mixin-output.css
Last active May 14, 2019 14:32
Media query sass helper. Generate basic media query defined by constant breakpoints (xs, sm, md, lg) or by exact value. You can test it here https://www.sassmeister.com/gist/a9e485d45049c0bd6a1885622b85e38b
@media (min-width: 360px) and (max-width: 991px) {
body {
color: blue;
}
}
@media (min-width: 576px) {
body {
color: red;
}
}
@atiris
atiris / osmc-java-jdownloader-installer.sh
Last active September 8, 2023 13:01
Wizard to install the current version of JDownloader (jdownloader.org) on raspberry pi (running osmc or another linux). You can install (together or individually) latest java for RPI, download and install headless JDownloader (my.jdownloader.org) and create service to start JDownloader after boot and restart automatically after crash.
#!/bin/bash
# Script: osmc-java-jdownloader-installer.sh
# Author: Jozef Pažin
# Description: Wizard to install the current version of java and/or jdownloader on raspberry pi running osmc.
# License: MIT | use arbitrarily, attribution is not required
# How to run:
# - Check if this code is correct first because this script need to be run under root and run gist
# from web is not recommended in terms of security only that you know exactly what it does. Check it:
# curl -Ls https://gist.github.com/atiris/34dc670264274b3a472f2a718e4de83a/raw | nano -