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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Circley</title> | |
<style type="text/css"> | |
body { | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
width: 960px; | |
height: 500px; | |
position: relative; |
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 | |
import sys | |
import argparse | |
from PIL import Image | |
import numpy as np | |
def scramble_ary(img_ar, mask_ar): | |
""" |
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 | |
in_file="$1" | |
out_file="$2" | |
out_base=$(dirname "${out_file}") | |
tmp_dir=$(mktemp -d -p "${out_base}") | |
if [ $? -ne 0 ]; then | |
echo "Can't make a temporary directory in ${out_base}" >&2 |
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 ruby | |
require 'tmpdir' | |
require 'fileutils' | |
fix_file = ARGV[0] | |
vid_file = ARGV[1] | |
out_file = ARGV[2] | |
FIXATION_FRAMES=10 | |
VID_FRAMES=25 |
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 | |
in_path=$1 | |
if [[ "$in_path" == "" ]] || [[ "$in_path" == "-h" ]]; then | |
cat <<USAGE | |
Usage: link_tree PATH [--dry-run] | |
Finds every symbolic link in PATH/subdirectory** and creates links to them in | |
/subdirectory** |
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 | |
GATING_DIR=${GATING_DIR:-/usr/g/service/log/gating} | |
DEST_BASE=${DEST_BASE:-/mri-upload/ge_physio} | |
MAX_AGE_MINUTES=${3:-120} | |
study=$1 | |
ppt=$2 | |
if [[ "${study}" == "" ]] || [[ "${ppt}" == "" ]] || [[ "${study}" == "-h" ]]; then |
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 ruby | |
require 'mechanize' | |
require 'pp' | |
def coins_login(agent, username, password) | |
page = agent.get "https://chronus.mrn.org/cas/login.php?rp=https%3A%2F%2Fchronus.mrn.org%2Fmicis%2Findex.php%3Fsubsite%3Dasmt" | |
uname_match = page.body.match /name="([^"]+)" placeholder="Username/ | |
uname_field = uname_match[1] | |
pw_match = page.body.match /name="([^"]+)" placeholder="Pa\$\$w0rd/ |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> | |
<title>Force Layouts - Collision</title> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.26.0"></script> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.geom.js?1.26.0"></script> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.layout.js?1.26.0"></script> | |
<style type="text/css"> |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Pan math fun</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"> </script> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"> </script> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.layout.js"> </script> | |
<script type="text/javascript"> | |
OlderNewer