If you ever need to use Virtual Box with USB and VT-d on Ubuntu, I recommend installing Users and Groups.
sudo apt-get install gnome-system-tools
Than open it
Select the user which will run Virtual Box.
@echo off | |
for %%f in (*.png) do ( | |
echo %%~nf | |
convert.exe "%%~nf.png" -gravity center -crop 2592x1458+0-84 +repage "..\out3\%%~nf.png" | |
) |
#!/bin/bash | |
# This script assumes you have a Raspberry Pi (or other always on server) running | |
# a Transmission-Daemon. It allows you to download you Magnet torrents on it, from | |
# yours PC browser (Firefox on Linux) on it, remotely. Save it as executable on | |
# your script folder, such as /usr/local/sbin . | |
# Open Firefox and in the address bar type: | |
# about:config | |
# There, right click anywhere to create a new boolean entry (New->Boolean) called: | |
# network.protocol-handler.expose.magnet | |
# Set it's value as false. |
[Desktop Entry] | |
Version=0.1 | |
Name=MPDC | |
Comment=Connect to MPD Server | |
Exec=gnome-terminal --geometry=48x16 -e "bash -c \"/usr/bin/ncmpcpp -h 192.168.0.3; exec bash\"" | |
Terminal=true | |
Type=Application | |
Categories=Application; |
#!/bin/bash | |
# Requires: espeak, crontab, mktemp. | |
# | |
# Script for checking if this computer is connected to internet. | |
# If you copy it to $installdir, give this script execution permission. | |
# And remember to set proper ownership (using chown). | |
# Use Example: | |
# | |
# sudo chmod +x checkinternet.sh | |
# sudo cp checkinternet.sh /usr/local/sbin/ |
shading flat# | |
map = [[0, 110, 49]/255, | |
[0, 152, 19]/255, | |
[0, 212, 0]/255, | |
[49, 255, 0]/255, | |
[203, 255, 0]/255, | |
[255, 239, 0]/255, | |
[255, 121, 0]/255, | |
[255, 1, 0]/255, | |
[197, 0, 0]/255, |
#!/bin/bash | |
grep --recursive "error" /var/log/ 2>&1 | sed "s/$HOSTNAME/HoStNaMe/g" | sed "s/$USER/uSeRnAmE/g" > ~/allerrors.log |
I created a file mymime.xml
<?xml version='1.0' encoding='utf-8'?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="text/myapp">
<comment>my format</comment>
<glob pattern="*.myformat"/>
</mime-type>
</mime-info>
I have an old Asus EEE PC 701 (4GB SSD 2GB RAM) with Crunchbang and since Crunchbang development stopped, decided to try Lubuntu in it. So I made a Lubuntu 16.04 i386 bootable flash using unetbootin and a 8GB pen drive under Ubuntu.
At the system start, selecting the option Try Lubuntu without installing gives me a non-pae cpu error. Using tab I see that this option is made like this.
/casper/vmlinuz initrd=/casper/initrd.lz file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --- persistent
So I try forcepae option to boot. This will boot, but error on [ OK ] Started Update UTMP about System Runlevel Changes
. To fix, we need to boot twice, first let's add nomodeset.
/casper/vmlinuz initrd=/casper/initrd.lz file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash nomodeset forcepae -- forcepae --- persistent
from distutils.version import StrictVersion | |
from fgmk import __version__ | |
try: | |
import xmlrpclib | |
except ImportError: | |
import xmlrpc.client as xmlrpclib | |
def is_this_newest(): | |
try: | |
pypi = xmlrpclib.ServerProxy('https://pypi.python.org/pypi') |