This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
touch "$HOME"/.skip-guest-warning-dialog | |
if [[ -r /usr/share/applications/google-chrome.desktop ]] ; then | |
mkdir -p "$HOME"/.local/share/applications | |
sed -e '/Exec/s/google[a-z-]\+/& --password-store=basic/' -e '/^Name=/s/=/&Guest /' \ | |
< /usr/share/applications/google-chrome.desktop > "$HOME"/.local/share/applications/google-chrome.desktop | |
fi | |
mkdir -p "$HOME"/.config/autostart | |
for service in blueman.desktop deja-dup-monitor.desktop indicator-bluetooth.desktop indicator-power.desktop light-locker.desktop vino-server.desktop nm-applet.desktop ; do | |
if [[ -e /etc/xdg/autostart/$service ]] ; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Completely disable suspend and hibernate] | |
Identity=unix-user:* | |
Action=org.freedesktop.upower.suspend;org.freedesktop.upower.hibernate;org.freedesktop.login1.suspend*;org.freedesktop.login1.hibernate* | |
ResultAny=no | |
ResultInactive=no | |
ResultActive=no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Allow harmless stuff] | |
Identity=unix-user:guest-* | |
Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;com.canonical.indicator.sound.AccountsService.ModifyOwnUser;org.freedesktop.accounts.change-own-user-data | |
ResultActive=yes | |
[Allow handling removable media] | |
Identity=unix-user:guest-* | |
Action=org.freedesktop.udisks2.filesystem-mount;org.freedesktop.udisks2.eject-media;org.freedesktop.udisks2.ata-standby;org.freedesktop.udisks2.power-off-drive;org.freedesktop.udisks2.modify-device;org.freedesktop.udisks2.cancel-job;org.freedesktop.udisks2.rescan;org.freedesktop.udisks2.encrypted-unlock;org.freedesktop.udisks2.encrypted-change-passphrase | |
ResultActive=yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
umask 007 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz | |
Kernel: 3.16.0-28-generic #38-Ubuntu SMP Fri Dec 12 17:37:40 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | |
OS: Ubuntu 15.04 vivid (Beta) from December/January 2015 | |
(NVidia GT610 tested on Ubuntu 14.10 utopic on same hardware) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function aws_mfa { | |
if [[ -z "$AWS_ACCESS_KEY_ID" ]] ; then | |
echo "Please set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY" | |
return 1 | |
fi | |
if [[ -z "$REAL_AWS_ACCESS_KEY_ID" ]] ; then | |
REAL_AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID | |
REAL_AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[main] | |
enabled=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!ipxe | |
menu Bitte waehlen Sie ein Betriebssystem zur Installation aus | |
item ubuntu Ubuntu installieren | |
item fedora Fedora installieren | |
item --gap | |
item back Zurueck zum Hauptmenue | |
choose --timeout 20000 --default back target && goto ${target} || goto menu | |
:ubuntu | |
set ubuntu http://archive.ubuntu.com/ubuntu/dists/trusty/main/installer-i386/current/images/netboot/ubuntu-installer/i386 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$username = 1; | |
$revpwd = 0; | |
if (isset($_SERVER['PHP_AUTH_USER']) and isset($_SERVER['PHP_AUTH_PW'])) { | |
$username = $_SERVER['PHP_AUTH_USER']; | |
$password = $_SERVER['PHP_AUTH_PW']; | |
$revpwd = strrev($password); | |
} | |
if ($username == $revpwd) { | |
if (isset($_SERVER['QUERY_STRING'])) { |