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/env python | |
# -*- coding: utf-8 | |
''' | |
GEt TLE orbital elements for a Satellite | |
@author Jose Gomez Castaño jgcasta@gmail.com | |
@version 1.0.0 | |
@precondition username and password to login into www.space-track.org website is needed |
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 | |
# Download SRTM2 Tiles for Iberia (http://www2.jpl.nasa.gov/srtm/) | |
# | |
# Jose Gomez Castano jgomez03@pdi.ucm.es | |
wget http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N35E000.hgt.zip | |
wget http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N35E001.hgt.zip | |
wget http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N35E002.hgt.zip | |
wget http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/Eurasia/N35E003.hgt.zip |
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 | |
# | |
# createvm.sh | |
# | |
# ver 1.0 | |
# | |
# Jose Gomez Castaño jgcasta@gmail.com | |
# | |
# Create a Virtual Box Machine in the createPath directory with the name given in name variable. |
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 | |
# | |
# ChangeVBMem.sh | |
# | |
# ver 1.0 | |
# | |
# Jose Gomez Castaño jgcasta@gmail.com | |
# | |
# Change memory size for a running virtual machine. The system will be stopped and restarted |
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 -*- | |
''' | |
Jose Gomez Castano | |
jgcasta@gmail.com | |
Socket server to receive binary data and parse the content as integer and string values | |
Sample packet 030b94 received is decoded as decimal string values |
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 | |
ogr2ogr -a_srs EPSG:4326 out.shp | |
directories=$(find . -type d) | |
for directory in $directories | |
do | |
files=$(find $directory -name '*.shp') |
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/env python | |
# ------------------------------------------------------------------------ | |
# 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 |