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 | |
| # | |
| # Define environment | |
| Machine='[Machine Name]' | |
| User='[User Name]' | |
| PromaxData='/Promax/ProMAX/data/[Project Name]/[Line Name]' | |
| OutData="[Output Path]" | |
| # Read number Code of flow. I usually introduce initial numbers for my workflows. |
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
| import re | |
| def markdown_to_bbcode(s): | |
| links = {} | |
| codes = [] | |
| def gather_link(m): | |
| links[m.group(1)]=m.group(2); return "" | |
| def replace_link(m): | |
| return "[url=%s]%s[/url]" % (links[m.group(2) or m.group(1)], m.group(1)) | |
| def gather_code(m): |
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
| dd bs=3200 count=1 conv=ascii if=data.segy | sed 's/.\{80\}/&\n/g' | sed 's/^.\{3\}/& /g' > header.txt |
NewerOlder