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 | |
oldifs=$IFS | |
IFS=' | |
' | |
[ $# -ne 2 ] && { echo "Usage: $0 sourceDirectory destinationDirectory" ; exit 1; } | |
[ ! -d "$1" ] && { echo "$1 is not a valid directory"; exit 1; } | |
[ ! -d "$2" ] && { mkdir -p "$2"; } | |
src=$(cd "$1" ; pwd) | |
dst=$(cd "$2" ; pwd) | |
find "$src" -type d | |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<root testAttr="testValue"> | |
<result> | |
<child>data1</child> | |
<child>A1343358848.646</child> | |
<child> | |
<internal> | |
<data>one</data> | |
<data>two</data> | |
<unique>Z1343358848.646</unique> |
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/env python | |
""" | |
nsb_entropy.py | |
June, 2011 written by Sungho Hong, Computational Neuroscience Unit, Okinawa Institute of | |
Science and Technology | |
May, 2019 updated to Python 3 by Charlie Strauss, Los Alamos National Lab | |
This script is a python version of Mathematica functions by Christian Mendl |
NewerOlder