This file has been truncated, but you can view the full file.
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
| K/wpN749czWcOVw1wc17N1I2MzgAmA84RNAROA40WjjC9ZE4WO/3OLKW9DjXDQM5Mj0fOT8nNTkQjQI6Jy0BOxomjDpRoX46xk+tOgIxDTsNBTc7OYs2O2zwCzv0TGE6s6CEOT/+hjkZJcc5y9rOOU5Qqjmedy452M+fOPLSbzj1XMs445LGOituIjtu0CY7dyWuOl382Tmh6KU5Yd/yObaXBTqoYRE6opISOn3uEDovyRE6JKSrOXt7sTmLSj06ry2xOgDlnjm5sZk5U1cvOdoWMTliPD05Tz9RORuTWDlGoVo5YcgHOQTjAzlRbgQ5vMRjOX4DaDl/AVU5bK6kOBBONzlVSuc4I5FiOAN1TzjUFjA4UtA9N9Md7jaWGJw2fTzYN0U1IDZs4Tw2rytzNkRAeDbNLqY4WqmRN7FcQjYAfk02Yn6INn83bTbqBAA4dOdqN6rFMzd6A/82HBjnNU7iWTc4zgM6eWEjOlIFIjrvEQc6FfUAOuC39zl83bQ5tzlXOUKuOzn1+/04iDDZOG6GEzkXzg45ej2nOF6AnzjfFb44Tk+LOH+DZDdFu2I20vgoNvuiHTYI3B82tlonNrsjeTZ5RZ424ASdNjMvZDZkODE2ckqWNdbM9zRdFkc1bQc0NhNCcTat8xs2XZz/M9DbxTG2ok4xEosAMKpIoi/pMPIvznENMXZpizFX/WAz+ObJNL5j4jRsaNA1NQVbN+tYZjdPo4U3r/ZoOIDQajhc22w40b++OHpnvzgBJcA4fODNODWAzDj6Lck4KjoAOGZb+TecFOo3TUnKNs0DxjbXz742Du1yNjxuczbGpHs29e+2NrChuDZ4pro2b+nBNr8PxTbQU/82fGgONyo3ETcjBBU3BuMiNwhmKDeqIyI3gDjPNbcHzDV7Rsg1l0rfNB9LyDSYjMc0LNwHNMKB8zO15/MzwXOcM78WlDOd9ZMz7rp1M1+McTN2bnAzyPb9MiQM5DKhCecyhqB8Mk9HWjL0u1oyhMQqMoF8HzLDVSAy |
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
| registry=http://registry.npm.taobao.org/ | |
| progress=false |
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 time | |
| ts = time.time() | |
| fin = open('144341511030664.txt') | |
| lines = fin.readlines() | |
| fin.close() | |
| pairs = [] | |
| sets = [] | |
| setbase = 0 |
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 sys | |
| from PyQt4.QtCore import * | |
| from PyQt4.QtGui import * | |
| from PyQt4.QtWebKit import * | |
| app = QApplication(sys.argv) | |
| web = QWebView() | |
| web.load(QUrl("http://map.baidu.com")) | |
| web.show() |
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 numpy as np | |
| import netCDF4 as nc | |
| fn = 'Daily.Combine.Surf.Column.AOD.together.d03.2016062' | |
| nc = nc.Dataset(fn) | |
| print(nc.variables) | |
| o3 = nc.variables['O3'] | |
| o3arr = o3[:] |
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/python | |
| import random | |
| import sys | |
| s = 'abcdefghijklmnopqrstuvwxyz' | |
| s += s.upper() | |
| s += '0123456789' | |
| random.seed() |
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/python | |
| import netCDF4 as nc | |
| import numpy as np | |
| import glob | |
| species = ['SO2'] | |
| def convert(ifn, ofn): | |
| ds0 = nc.Dataset(ifn) |
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 sublime, sublime_plugin | |
| import time | |
| class IsNoteCommand(sublime_plugin.TextCommand): | |
| def run(self, edit): | |
| pos = self.view.sel()[0].begin() | |
| noteid = self.noteid() | |
| message = "==NOTE-%d %s" % (noteid, time.strftime("%Y.%m.%d %H:%M:%S\n")) | |
| self.view.insert(edit, pos, message) |
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
| function autonaviTileLayer() { | |
| var opts = { | |
| subdomains:["1","2","3","4"], | |
| attribution: '高德地图' | |
| } | |
| return L.tileLayer('http://webrd0{s}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}', opts) | |
| } |
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 java.awt.*; | |
| import java.awt.Dimension; | |
| import java.awt.color.ColorSpace; | |
| import java.awt.geom.Area; | |
| import java.awt.image.ColorModel; | |
| import java.awt.image.ComponentColorModel; | |
| import java.awt.image.DataBuffer; | |
| import java.awt.image.Raster; | |
| import java.awt.image.SampleModel; | |
| import java.awt.image.WritableRaster; |