Do yourself a favor and login as root to save yourself some time and headaches:
$ sudo su -
Install unattended-upgrades:
[Desktop Entry] | |
# Place this file in ~/.local/share/applications/ | |
Name=hydrapaper | |
GenericName=HydraPaper | |
Comment=A Gtk utility to set two different backgrounds for each monitor on GNOME | |
Exec=flatpak run org.gabmus.hydrapaper | |
Terminal=false | |
Type=Application | |
StartupNotify=true | |
# https://github.com/GabMus/HydraPaper/raw/master/data/icons/org.gabmus.hydrapaper.svg |
# Building Nitrogen on Ubuntu 16.04 | |
# https://github.com/l3ib/nitrogen | |
# Install dependencies | |
sudo apt-get install autoconf autopoint libgtk2.0-dev libgtkmm-2.4-dev libglib2.0-dev | |
# Download | |
cd ~/Downloads | |
wget https://github.com/l3ib/nitrogen/releases/download/1.6.1/nitrogen-1.6.1.tar.gz |
## Systemd user unit file for pulseaudio-dlna | |
# Copy to: ~/.config/systemd/user/pulseaudio-dlna.service | |
# Enable: systemctl --user enable pulseaudio-dlna | |
[Unit] | |
Description=PulseAudio-DLNA Service | |
[Install] | |
WantedBy=default.target |
#!/bin/bash | |
GREEN='\033[0;32m' | |
RED='\033[0;31m' | |
NC='\033[0m' # No Color | |
if [ $# -eq 0 ]; then | |
printf "Usage:\n" | |
printf " $0 http://example.com [interval]\n" | |
exit 1 |
#-- | |
# Copyright (c) 2010-2012 Engine Yard, Inc. | |
# Copyright (c) 2007-2009 Sun Microsystems, Inc. | |
# This source code is available under the MIT license. | |
# See the file LICENSE.txt for details. | |
#++ | |
module Warbler | |
module Traits | |
# The Bundler trait uses Bundler to determine gem dependencies to |
Flat profile of 0.25 secs (25 total ticks): SeedGenerator Thread | |
Thread-local ticks: | |
100.0% 25 Blocked (of total) | |
Flat profile of 0.25 secs (23 total ticks): SeedGenerator Thread | |
Thread-local ticks: |
Process 1673 (gnome-shell) of user 1000 dumped core. | |
Stack trace of thread 1673: | |
#0 0x00007fcf271efa0d g_type_check_instance_cast (libgobject-2.0.so.0) | |
#1 0x00007fcf24ed3960 st_label_set_text (libst-1.0.so) | |
#2 0x00007fcf218071c8 ffi_call_unix64 (libffi.so.6) | |
#3 0x00007fcf21806c2a ffi_call (libffi.so.6) | |
#4 0x00007fcf25e98cbb n/a (libgjs.so.0) | |
#5 0x00007fcf25e9a617 n/a (libgjs.so.0) | |
#6 0x00007fcf1f4d264d n/a (libmozjs-52.so.0) |
➤ phoronix-test-suite debug-benchmark pts/build-linux-kernel | |
Phoronix Test Suite v7.4.0 | |
To Install: pts/build-linux-kernel-1.8.0 | |
Determining File Requirements ...................................................................................................... | |
Searching Download Caches .......................................................................................................... | |
1 Test To Install |
➤ wc app/views/layouts/_flash_messages.html.haml | |
8 23 266 app/views/layouts/_flash_messages.html.haml | |
➤ ruby -v && JRUBY_OPTS='--dev --profile' haml-lint app/views/layouts/_flash_messages.html.haml | |
jruby 9.1.8.0 (2.3.1) 2017-03-06 90fc7ab OpenJDK 64-Bit Server VM 25.131-b11 on 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11 +jit [linux-x86_64] | |
Profiling enabled; ^C shutdown will now dump profile info | |
warning: parser/current is loading parser/ruby23, which recognizes | |
warning: 2.3.3-compliant syntax, but you are running 2.3.1. | |
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri. |