Skip to content

Instantly share code, notes, and snippets.

💭
http://orschi.ro

Or Schiro orschiro

Block or report user

Report or block orschiro

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:641e397490a0de9fcd2b97aac40dcf7f
[Unit]
Description=Delayed hibernation trigger
Documentation=https://bbs.archlinux.org/viewtopic.php?pid=1420279#p1420279
Documentation=https://wiki.archlinux.org/index.php/Power_management
Conflicts=hibernate.target hybrid-sleep.target
Before=sleep.target
StopWhenUnneeded=true
[Service]
Type=oneshot
@orschiro
orschiro / README.md
Created May 23, 2018
Beginner Linux terminal text editors
View README.md
  1. ne: ne, the nice editor
  2. micro: A modern and intuitive terminal-based text editor
  3. wed: wed is a terminal text editor with key bindings commonly used in Windows based editors
@orschiro
orschiro / README.md
Last active May 19, 2018
Tools for more digital awareness
View README.md

Tools for more digital awareness

  1. Snooze Tabby: Establish new habits by making web pages reappear periodically.
  2. Anki: Train your memory using flash cards.
  3. 10 seconds of math: Practise some mental arithmetics regularly.
  4. Page Monitor: Receive a notification when something changes on a web page that is of interest to you so that you don't have to repeatedly check yourself.
  5. Safe Eyes: Perform regular eye exercises while working in front of the computer screen.
  6. Chrome Custom Search Engine: Directly search a website by typing in a specific keyword as the URL.
  7. FZF: Press
@orschiro
orschiro / README.md
Created Apr 24, 2018
Comparing Google Drive clients for Linux
View README.md
@orschiro
orschiro / fedora_flatpak_update.sh
Created Apr 11, 2018
Check for Fedora & Flatpak updates on boot
View fedora_flatpak_update.sh
#/bin/sh
echo "Ready to check for Fedora updates?"
select yn in "Yes" "No"; do
case $yn in
Yes ) sudo dnf upgrade --refresh --best --allowerasing; break;;
No ) exit;;
esac
done
@orschiro
orschiro / README.md
Last active Apr 21, 2018
#digital-consciousness
View README.md

https://orzanna.de


Hacks

  • Learn mouse and keyboard shortcuts
  • Automate workflows
  • Unsubscribe from noisy emails
  • Keep your email inbox empty
@orschiro
orschiro / decrease-brightness.desktop
Created Mar 2, 2018
Recipe to change brightness on GNOME
View decrease-brightness.desktop
# ~/.local/share/applications/decrease-brightness.desktop
[Desktop Entry]
Version=1.1
Type=Application
Name=Decrease brightness
Icon=~/.icons/decrease-brightness.png
Exec=gdbus call --session --dest org.gnome.SettingsDaemon.Power --object-path /org/gnome/SettingsDaemon/Power --method org.gnome.SettingsDaemon.Power.Screen.StepDown
Actions=
View gist:6910cf3a86e9a114255464b552d9f4cd
function enable() {
aggregateMenu = Main.panel.statusArea.aggregateMenu;
if (aggregateMenu.hasOwnProperty('_volume') && aggregateMenu._volume instanceof PanelMenu.SystemIndicator) {
volumeIndicator = aggregateMenu._volume;
_onVolumeIndicatorScrollEventId = volumeIndicator.indicators.connect('scroll-event', _onVolumeIndicatorScroll);
_onVolumeIndicatorClickEventId = volumeIndicator.indicators.connect('button-press-event', _onVolumeIndicatorClick);
_onAggregateMenuEnterEventId = aggregateMenu.menu.actor.connect('enter-event', _onAggregateMenuEnter);
_onAggregateMenuLeaveEventId = aggregateMenu.menu.actor.connect('leave-event', _onAggregateMenuLeave);
_onAggregateMenuClickEventId = aggregateMenu.actor.connect('button-press-event', _onAggregateMenuClick);
You can’t perform that action at this time.