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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import pywikibot | |
import re | |
from pywikibot import textlib, page | |
import sys | |
parent_map = { | |
'Adapter': 'Structural', | |
'AirIntake': 'Utility', |
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 | |
if [ -z "$1" ]; then | |
echo "Parameter missing" | |
exit | |
fi | |
atmo=`echo "-5000*l(10^-6)" | bc -l` | |
velocity="42" #dummy value | |
echo "Atmospheric height: $atmo m" | |
echo "" | |
echo "" > vtdata |
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
G=6.674*10**-11 | |
M=5.2915793*10**22 | |
R=600000 | |
plot sqrt((250*G*M)/((R+x)**2*1.2230948554874*exp(-x/5000)*0.2)) title 'Terminal' with lines |
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
until (false) { | |
set x to eta:apoapsis. | |
print x. | |
if eta:apoapsis > 10 { print "if.". }. | |
when eta:apoapsis > 10 then print "when.". | |
if x > 10 { print "ifx.".}. | |
when x > 10 then print "whenx.". | |
wait 5. | |
}. |
This file has been truncated, but you can view the full file.
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
3:48:46 PM WARNING: TV-Browser was developed for Sun Java and may not run correctly with your Java implementation. | |
3:48:46 PM INFO: Using timezone Central European Time | |
3:48:46 PM INFO: Deleting expired TV listings... | |
3:48:46 PM INFO: Loaded plugin proxy /home/xzise/programs/TV Browser (test)/settings/3.2/GrowlPlugin.jar.proxy | |
3:48:46 PM INFO: Loaded plugin proxy /home/xzise/programs/TV Browser (test)/settings/3.2/I18NPlugin.jar.proxy |
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
8:31:37 PM LAZYBONES WARNING lazybones.TimerManager.getTimer: Unique program ID is null. Unable to find a timer for this program | |
8:31:37 PM LAZYBONES FINE org.hampelratte.svdrp.Connection.<init>: VDR is running with charset UTF-8 | |
8:31:37 PM LAZYBONES FINE org.hampelratte.svdrp.Connection.send: --> LSTC | |
8:31:38 PM LAZYBONES FINE org.hampelratte.svdrp.Connection.send: <-- 250 1 Das Erste HD;ARD:362000:C0M256:C:6900:6010=27:6020=deu@3,6021=mis@3;6022=deu@106:6030;6031=deu:0:11100:41985:1051:0 | |
2 ZDF HD;ZDFvision:370000:C0M256:C:6900:6110=27:6120=deu@3,6121=mis@3,6123=mul@3;6122=deu@106:6130;6131=deu:0:11110:1:1079:0 | |
3 SF2;Bonus:746000:C0M64:C:6900:502=2:503=deu@3,504=eng@3:506:0:22264:40984:231:0 | |
4 TELE 5;Frei deutsch:466000:C0M256:C:6900:702=2:703=deu@3:706:0:22006:40984:216:0 | |
5 SWR Fernsehen BW;ARD:346000:C0M256:C:6900:801=2:802=deu@3,803=mis@3;806=deu@106:804:0:28113:41985:1101:0 | |
6 SAT 1;Pro7 & Sat.1:121000:C0M64:C:6900:202=2:203=deu@3;205=deu@106:206:0:17500:40984:1107:0 | |
7 RTL Television,RTL;RTL:113000:C0M64: |
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
5:14:23 PM LAZYBONES FINE org.hampelratte.svdrp.Connection.<init>: VDR is running with charset UTF-8 | |
5:14:23 PM LAZYBONES FINE org.hampelratte.svdrp.Connection.send: --> LSTC | |
5:14:23 PM LAZYBONES FINE org.hampelratte.svdrp.Connection.send: <-- 250 1 Das Erste HD;ARD:362000:C0M256:C:6900:6010=27:6020=deu@3,6021=mis@3;6022=deu@106:6030;6031=deu:0:11100:41985:1051:0 | |
2 ZDF HD;ZDFvision:370000:C0M256:C:6900:6110=27:6120=deu@3,6121=mis@3,6123=mul@3;6122=deu@106:6130;6131=deu:0:11110:1:1079:0 | |
3 SF2;Bonus:746000:C0M64:C:6900:502=2:503=deu@3,504=eng@3:506:0:22264:40984:231:0 | |
4 TELE 5;Frei deutsch:466000:C0M256:C:6900:702=2:703=deu@3:706:0:22006:40984:216:0 | |
5 SWR Fernsehen BW;ARD:346000:C0M256:C:6900:801=2:802=deu@3,803=mis@3;806=deu@106:804:0:28113:41985:1101:0 | |
6 SAT 1;Pro7 & Sat.1:121000:C0M64:C:6900:202=2:203=deu@3;205=deu@106:206:0:17500:40984:1107:0 | |
7 RTL Television,RTL;RTL:113000:C0M64:C:6900:102=2:103=deu@3;105=deu@106:106;110=deu:0:12003:40984:1089:0 | |
8 RTL 2;RTL:113000:C0M64:C:6900:202=2:203=deu@3:206:0:12020:4 |
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
public static Long tryAndGetLong(String string, int radix) { | |
try { | |
return Long.parseLong(string, radix); | |
} catch (NumberFormatException e) { | |
return null; | |
} | |
} | |
private static final String DIGITS = "0123456789"; | |
private static final String UPPER_DIGIT_MAP = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; |
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
// Another way to handle the format related stuff | |
public class Resolution { | |
public static final Resolution FULL_HD = new Resolution(1920, 1080, "Full HD"); | |
public static final Resolution HALF_HD = new Resolution(1280, 720, "Half HD"); | |
public static final Resolution PAL = new Resolution( 720, 576, "PAL"); // Maybe 702? | |
public static final Resolution PALplus = new Resolution(1024, 576, "PALplus"); | |
private static final RESOLUTIONS[] resolutions = new Resolution[] { FULL_HD, HALF_HD, PAL, PALplus }; |
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 name(player, event, parameters) { | |
return player.getName(); | |
} |