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 python3 | |
import sys | |
import re | |
if __name__ == '__main__': | |
if len(sys.argv) == 2: | |
file_open_session = open(sys.argv[1]) | |
file_content = file_open_session.read() | |
file_content_list = file_content.split(sep='\n') |
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 python3 | |
import random | |
import time | |
random.seed(time.time()) | |
#NUMBER_OF_INT = eval(input()) | |
NUMBER_OF_INT = random.randint(0, 100) | |
numbers = [] | |
for i in range(0,NUMBER_OF_INT): |
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
0.8920 0.7500 56.7888 -4.8400 0 0 0 | |
0.8920 0.7500 60.2737 -2.4714 0 0 0 | |
0.8920 0.7500 64.9872 -0.3042 0 0 0 | |
0.8920 0.7500 68.4462 0.0000 0 0 0 | |
0.8920 0.7500 68.9350 0.0000 0 0 0 | |
0.8920 0.7500 65.6703 0.0000 0 0 0 | |
0.8920 0.7500 58.5651 0.0000 0 0 0 | |
0.8920 0.7500 47.9201 0.0000 0 0 0 | |
0.8920 0.7500 34.1991 0.0000 0 0 0 | |
0.8920 0.7500 17.9569 0.0000 0 0 0 |
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
c | |
123 | |
f | |
456 | |
i | |
789 |
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
# Makefile | |
# | |
# Converts Markdown to other formats (HTML, PDF, DOCX, RTF, ODT, EPUB) using Pandoc | |
# <http://johnmacfarlane.net/pandoc/> | |
# | |
# Run "make" (or "make all") to convert to all other formats | |
# | |
# Run "make clean" to delete converted files | |
# Convert all files in this directory that have a .md suffix |
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
diff --git a/bern2time.for b/bern2time_FN.for | |
index 665cdb7..b07dff7 100644 | |
--- a/bern2time.for | |
+++ b/bern2time_FN.for | |
@@ -31,7 +31,7 @@ c | |
read(*,*)fve | |
print*,'vn (mm/yr): ' | |
read(*,*)fvn | |
- print*,'vu (mm/yr): ' | |
+ print*,'vh (mm/yr): ' |
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/sh | |
#set -eux | |
#python3 -m gnsscal -gpswd 1877 2|grep 'Gregorian'|awk '{printf $3}'|cut -b 3-4,6-7,9-10 | |
#151229 | |
#for i in $(ls *.sp3);do python3 -m gnsscal -gpswd "$(ls "$i"|cut -b 4-7)" "$(ls "$i"|cut -b 8)";done | |
#1877 2 | |
for i in $(ls igs?????.sp3) |
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/sh | |
for i in 14 15 16 17 18 | |
do | |
for j in `seq -w 1 12` | |
do | |
for k in `seq -w 1 31` | |
do | |
mkdir -p "$i""$j""$k""A"; | |
done |
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/sh | |
set -eux | |
for i in $(seq -w 01 31); do mv -v ????"$(date -d 201601"$i"0000 +%j)1.16o" ../1601"$i"A/ ||true ; done | |
for i in $(seq -w 01 29); do mv -v ????"$(date -d 201602"$i"0000 +%j)1.16o" ../1602"$i"A/ ||true ; done | |
for i in $(seq -w 01 31); do mv -v ????"$(date -d 201603"$i"0000 +%j)1.16o" ../1603"$i"A/ ||true ; done | |
for i in $(seq -w 01 30); do mv -v ????"$(date -d 201604"$i"0000 +%j)1.16o" ../1604"$i"A/ ||true ; done | |
for i in $(seq -w 01 31); do mv -v ????"$(date -d 201605"$i"0000 +%j)1.16o" ../1605"$i"A/ ||true ; done | |
for i in $(seq -w 01 30); do mv -v ????"$(date -d 201606"$i"0000 +%j)1.16o" ../1606"$i"A/ ||true ; done |
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
Loaded libgmt: | |
binary dir: /usr/bin | |
cores: 12 | |
grid layout: rows | |
library path: /usr/lib/libgmt.so | |
padding: 2 | |
plugin dir: /usr/lib/gmt/plugins | |
share dir: /usr/share/gmt | |
version: 6.0.0 | |
============================= test session starts ============================== |
NewerOlder