This file contains hidden or 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 | |
# Script, welches die HDD /dev/sdb so einstellt, dass sie sich möglichst | |
# schnell schlafen legt und dann das Schlafen auch einmal manuell ausführt | |
# | |
# sollte in /etc/pm/sleep.d/ plaziert werden und ausführbar (755) sein | |
# | |
case "$1" in | |
hibernate|suspend) | |
;; |
This file contains hidden or 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 | |
# | |
# Script that disables your wifi if a wired connection turns on | |
# and it reenabkes wifi if the wired connection is going down. | |
# | |
# should be placed in /etc/NetworkManager/dispatcher.d/ and should | |
# be executable | |
if [[ -n `echo $1 | grep "em*"` ]]; then | |
case "$2" in |
This file contains hidden or 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
/****************************************************************************** | |
* Projekt Template für einen Versuch im Assemblerpraktikum * | |
* * | |
* Versuch-Nr.: 1 (Digital-Voltmeter) * | |
* Gruppen-Nr.: * | |
* * | |
* Mitglieder der Gruppe: | |
* - Philipp Böhm | |
* - Mathias Perlet | |
* |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<seriesindex> | |
<series name="2 Broke Girls"> | |
<episodes lang="de"> | |
<episode name="S01E01 - Reboot in Brooklyn.mkv"></episode> | |
<episode name="S01E02 - Private Grenzen.mkv"></episode> | |
<episode name="S01E03 - Shopping Krieg.mkv"></episode> | |
<episode name="S01E04 - Die Probleme der Reichen.mkv"></episode> | |
<episode name="S01E05 - Schuldenkrise.mkv"></episode> | |
<episode name="S01E06 - Das Schrankbett.mkv"></episode> |
This file contains hidden or 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
# plowshare | |
Add in your /etc/apt/sources.list: | |
deb http://mcrapet.free.fr/debian/ unstable/ | |
# unrar | |
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=11389 |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<config version="2" xmlns="http://mediatomb.cc/config/2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mediatomb.cc/config/2 http://mediatomb.cc/config/2.xsd"> | |
<server> | |
<ui enabled="yes" show-tooltips="yes"> | |
<accounts enabled="no" session-timeout="30"> | |
<account user="mediatomb" password="mediatomb"/> | |
</accounts> | |
</ui> | |
<name>MediaTomb RPi</name> |
This file contains hidden or 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
SELECT | |
(SELECT location | |
FROM mt_cds_object | |
WHERE id = m.ref_id) as episode_path | |
FROM mt_cds_object m | |
WHERE ref_id is not null | |
AND episode_path LIKE "%/pi/Queue/%" | |
AND flags != 1 | |
ORDER BY episode_path; |
This file contains hidden or 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
From fd8c2f000f6d84cba8db8a76e2590a40c34574b5 Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?Philipp=20B=C3=B6hm?= <[email protected]> | |
Date: Thu, 17 Jan 2013 17:12:45 +0100 | |
Subject: [PATCH] Added global_namespace flag to API | |
You can now create projects in the global namespace through the API. | |
This is made by introducing an optional field `global_namespace` to the | |
method that responds to 'POST /projects'. | |
--- | |
lib/api/projects.rb | 10 ++++++++++ |
This file contains hidden or 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
# put these lines into your .[bash|zsh]rc file and start a new shell | |
alias feature="git checkout -b" | |
function merge_with_master { | |
branch_name=$(git branch | grep "*" | sed "s/* //") | |
test $branch_name = "master" &&\ | |
echo "Already on master, checkout your feature branch" && return | |
git checkout master | |
grep "origin" .git/config > /dev/null && git pull | |
git merge --ff-only $branch_name && git branch -d $branch_name \ |
This file contains hidden or 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
<?xml version="1.0" ?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one or more | |
contributor license agreements. See the NOTICE file distributed with | |
this work for additional information regarding copyright ownership. | |
The ASF licenses this file to You under the Apache License, Version 2.0 | |
(the "License"); you may not use this file except in compliance with | |
the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
OlderNewer