Remote Operations On Files (ROOF)
Remote Operations On Files
Источник: Remote Operations On Files (ROOF).
Remote Operations On Files
Источник: Remote Operations On Files (ROOF).
Linux: Как написать модуль ядра:
The Kernel Newbie Corner: Your First Loadable Kernel Module | Linux.com.
http://www.tldp.org/LDP/lkmpg/2.6/html/
CMake:
Отличные примеры, в т.ч. компиляции модуля ядра через CMAKE: How to use cmake
Как все было на самом деле. Избирательный участок №6 г. Москва. Хроника одного дня.
Источник: cifidiol — Как все было на самом деле. Избирательный участок №6 г. Москва. Хроника одного дня..
Это что-то не то: http://sourceforge.net/projects/pixie/
OpenJDK 7 Java Runtime
sudo apt-get install openjdk-7-jre
install Java for browser – firefox/chrome…
sudo apt-get install icedtea6-plugin
Источник: how to install java on ubuntu 11.10.
strace -f -e trace=open
1. Создаем обработчик события fn-f7:
echo "event=ibm/hotkey HKEY 00000080 00001007" > /etc/acpi/events/lenovo-fn-f7
echo "action=/usr/bin/autoswitch.sh" >> /etc/acpi/events/lenovo-fn-f7
2. Рестартуем ACPI
sudo service acpid restart
3. Содержимое /usr/bin/autoswitch.sh:
#!/bin/bash
#
#
# http://www.thinkwiki.org/wiki/Sample_Fn-F7_script
screen_change() {
VGA1_CONNECTED=$( $SU xrandr -q | grep "VGA1 connected" )
echo `date` ${VGA1_CONNECTED} >> /tmp/333
if [ -n "${VGA1_CONNECTED}" ]; then
echo "VGA1 is connected"
xrandr --output VGA1 --auto && xrandr --output LVDS1 --off
else
echo "VGA1 is not connected"
xrandr --output LVDS1 --auto && xrandr --output VGA1 --off
fi
}
# based on /etc/acpi/screenblank.sh (Ubuntu 7.10)
# . /usr/share/acpi-support/power-funcs # for getXuser
getXuser() {
user=`finger| grep -m1 ":$displaynum " | awk '{print $1}'`
if [ x"$user" = x"" ]; then
user=`finger| grep -m1 ":$displaynum" | awk '{print $1}'`
fi
if [ x"$user" != x"" ]; then
userhome=`getent passwd $user | cut -d: -f6`
export XAUTHORITY=$userhome/.Xauthority
else
export XAUTHORITY=""
fi
}
# end of getXuser from /usr/share/acpi-support/power-funcs
#
for x in /tmp/.X11-unix/*; do
displaynum=`echo $x | sed s#/tmp/.X11-unix/X##`
getXuser;
if [ x"$XAUTHORITY" != x"" ]; then
export DISPLAY=":$displaynum"
screen_change
fi
done
ThinkPad fn-F7: http://www.thinkwiki.org/wiki/Sample_Fn-F7_script
xrandr -q | grep ‘VGA1 connected’ \ && xrandr —output LVDS1 —off —output VGA1 —auto \ || xrandr —output LVDS1 —auto —output VGA1 —off
Источник: Верхом на Debian GNU Linux: Простое переключение мониторов.
Еще кое-чего по теме: http://www.helplinux.ru/wiki/kb:ubuntu-eeepc-switch-display
Генерируем ключи:
ssh-keygen
Копируем публичный ключ на нужные тачки:
ssh-copy-id -i ~/.ssh/id_rsa.pub hostname
В случае, если скрипта ssh-copy-id в дистрибутиве нет, то его можно скачать тут:
ssh-copy-id