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/python | |
# -*-coding:utf-8-*- | |
from ftplib import FTP | |
import logging | |
import sys | |
import os | |
ftp_host="ftp.discover-earth.org" | |
ftp_dir="sst/daily/tmi_amsre/" |
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 | |
# issue 1427 | |
# get GFS files from NOAA (http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_hd.pl) and save to $SAVE_DIR directory | |
# @author <zx1986> 02-2349-1219 | |
### Global Configuration ### | |
# absolute path of the directory which saves all downloading files | |
SAVE_DIR=/users3/mavis/noaadata |
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
function my_fun(var) | |
{ | |
this.var = var; | |
alert(this.var); | |
} | |
$('#id').click( my_fun('hello') ); | |
message = 'hello'; | |
$('#id').click( my_fun(message) ); |
NewerOlder