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 | |
# *** Zaladowanie pliku GPX do garmina *** | |
# | |
# Trasa z http://www.gmap-pedometer.com/ ma nieokreslona nazwe: | |
# <name>Gmaps Pedometer Route</name> | |
# Przed zaladowaniem nalezy to recznie poprawic bo inaczj sie zle | |
# wyswietla w Garminie | |
grep Pedometer $1 > /dev/null | |
if [ $? == 0 ] ; then |
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
#!/usr/bin/perl | |
# Compute time offset between digital camera time and GPS time (in seconds) | |
# Usage exif_datetime.pl -f picture [ -t gps_display_time ] [ -o gps_offset ] | |
# Where: gps_display_time - gps_offset = gps_internal_time | |
# And: time_offset = gps_internal_time - $camera_time | |
# | |
# Use following format for time-related parameters: | |
# gps_display_time = hh:mm:ss ; gps_offset = seconds | |
# | |
# My GPS for example uses GMT internally and diplays local time. |
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
#!/usr/bin/perl | |
# Generuje plik .fd dla maksymalnie o¶miu odmian kroju | |
# Por. | |
use Getopt::Long; | |
my $debug = 0; | |
GetOptions( |
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
# Corrupt countries were more likely to support the OOXML document format | |
# Kirjoittaja: Kai Puolamäki, Syyskuu 5, 2007 - 08:22. | |
# http://www.effi.org/blog/kai-2007-09-05.en.html | |
# | |
# Read in the data table: | |
B <- read.csv("http://www.effi.org/system/files?file=ooballot_0.txt") | |
# CPI indices of the countries that voted for approval: | |
capp <- B[!is.na(B[,"CPI"]) & (B[,"Vote"]=="Approval" | |
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
%% Rysowanie diagramow sciezkowych w programie MetaPost | |
%% *** (c) T.Przechlewski 2009 *** | |
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% | |
%% zmienna mierzalna: | |
ux := 1mm ; %% jednostka | |
%% | |
rwd:=5ux; %% szerokosc prostokata | |
rht:=3ux; %% wysokosc prostokata | |
err:=4ux; %% dlugosc strzalki oznaczajacej blad |
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
#!/usr/bin/perl | |
# HTML to Blogger conversion script. | |
# | |
# Usage: blogspot-import.pl file1 file2 file3... > import-file.xml | |
# | |
# The resulting file import-file.xml is Atom [ http://tools.ietf.org/html/rfc4287 ] | |
# compatible and thus ready to be imported with | |
# Blogger import facility. | |
# | |
# It is assumed the following structure of each HTML file: |
NewerOlder