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
;+ | |
; NAME: | |
; query_argonaut | |
; | |
; PURPOSE: | |
; Query the Argonaut server for 3D dust information or SFD | |
; | |
; CALLING SEQUENCE: | |
; qresult = query_argonaut(/struct, /debug, _extra=coords) | |
; |
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
#Load library mass and set seed | |
library(MASS) | |
set.seed(100) | |
# We are going to use 3 random variables | |
m <- 3 | |
# Number of samples to be drawn | |
n <- 2000 |
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
library(shiny) | |
shinyServer(function(input, output) { | |
# Make three independent, repeatable copies of rnorm so that the underlying | |
# random values don't change | |
rnorm1 = repeatable(rnorm) | |
rnorm2 = repeatable(rnorm) | |
rnorm3 = repeatable(rnorm) | |
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
# http://askubuntu.com/questions/192620/how-to-make-ubuntu-iso-bootable-on-a-usb-stick-with-osx | |
# | |
# Requirements: | |
# - pen drive formatted in FAT | |
# - iso file downloaded from: http://cdimage.debian.org/debian-cd/7.2.0/amd64/iso-dvd/debian-7.2.0-amd64-DVD-1.iso | |
# - pen drive is on /dev/disk1 -> check with "diskutil list" | |
hdiutil convert -format UDRW -o debianDVD.img debian-7.2.0-amd64-DVD-1.iso | |
diskutil unmountDisk /dev/disk1 | |
sudo dd if=debianDVD.img of=/dev/rdisk1 bs=1m |
NewerOlder