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
""" | |
Google calendar plugin for opensync. | |
Installation: | |
- Install the opensync python plugin (debian: opensync-module-python) | |
- Copy this file to /usr/lib/opensync/python-plugins/ (may have to create the directory) | |
Quite ugly, but works for me. | |
If someone wants to work on it: | |
- opensync-style configuration (Google AuthSub session token) |
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
""" | |
Get a google AuthSub token for google calendar | |
Usage: just run and follow the instructions. | |
Author: Max Schwarz <[email protected]> | |
""" | |
import gdata |
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
test2 |
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
#!/bin/bash | |
find . -name '*.aux' -print0 | xargs -0 rm | |
pdflatex report | |
dirs="dir1 dir2 dir3" | |
for dir in $dirs; do | |
for f in $dir/*.aux; do |
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
static void eject_dock(struct dock_station *ds) | |
{ | |
struct acpi_object_list arg_list; | |
union acpi_object arg; | |
acpi_status status; | |
acpi_handle tmp; | |
/* all dock devices should have _EJ0, but check anyway */ | |
status = acpi_get_handle(ds->handle, "_EJ0", &tmp); | |
if (ACPI_FAILURE(status)) { |
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
static void eject_dock(struct dock_station *ds) | |
{ | |
struct acpi_object_list arg_list; | |
union acpi_object arg; | |
acpi_status status; | |
acpi_handle tmp; | |
/* all dock devices should have _EJ0, but check anyway */ | |
status = acpi_get_handle(ds->handle, "_EJ0", &tmp); | |
if (ACPI_FAILURE(status)) { |
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
jhbuild -f jhbuildrc build \ | |
xserver \ # xorg core | |
xf86-video-intel \ # my video driver | |
xf86-input-evdev \ # input via evdev | |
xkeyboard-config \ # for keymaps and so on | |
xf86-input-synaptics # touchpad |
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
jhbuild -f jhbuildrc buildone inputproto xserver libXi xf86-input-evdev |
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
add_subdirectory(libpublictransporthelper) | |
add_subdirectory(applet) | |
add_subdirectory(applet-graphicaltimetableline) | |
add_subdirectory(engine-openstreetmap) | |
add_subdirectory(icons) | |
#add_subdirectory(runner) | |
add_subdirectory(applet-flights) | |
add_subdirectory(engine) | |
#add_subdirectory(timetablemate) |
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
#!/bin/bash | |
set -e | |
for i in /sys/devices/platform/dock*; do | |
if grep ata_bay "$i/type" &> /dev/null; then | |
dock="$i" | |
break; | |
fi | |
done |
OlderNewer