Skip to content

Instantly share code, notes, and snippets.

View michaelaye's full-sized avatar

Michael Aye michaelaye

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Jul 9 10:58:35 triton kernel: [ 2051.318623] WARNING: CPU: 0 PID: 8971 at drivers/media/v4l2-core/v4l2-ioctl.c:1064 v4l_querycap+0x8b/0xa0 [videodev]
Jul 9 10:58:35 triton kernel: [ 2051.318624] Modules linked in: ccm rfcomm cmac algif_hash algif_skcipher af_alg bnep binfmt_misc snd_hda_codec_hdmi iwlmvm mac80211 edac_mce_amd nls_iso8859_1 libarc4 snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio btusb btrtl btbcm iwlwifi snd_hda_intel btintel snd_intel_dspcfg bluetooth snd_hda_codec eeepc_wmi asus_wmi ucsi_ccg joydev typec_ucsi snd_hda_core sparse_keymap wmi_bmof k10temp input_leds ecdh_generic typec snd_hwdep kvm ecc ccp cfg80211 mac_hid sch_fq_codel v4l2loopback(OE) snd_aloop snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd soundcore v4l2loopback_dc(OE) videodev mc parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid nouveau crct10dif_pclmul crc32_pclmul ghash_clmulni_intel mxm_wmi video aesni_inte
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@michaelaye
michaelaye / gitconfig.ini
Created June 9, 2020 17:04 — forked from tdd/gitconfig.ini
Nice, useful global Git configuration
# Put this in your ~/.gitconfig or ~/.config/git/config
# Windows users: "~" is your profile's home directory, e.g. C:\Users\<YourName>
[user]
name = Your Full Name
email = [email protected]
[color]
# Enable colors in color-supporting terminals
ui = auto
[alias]
# List available aliases
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from pathlib import Path
from astropy import units as u
from astropy.io import fits
opts = {
'display.width':200,
'display.max_colwidth': 100,
'display.max_rows': 100
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[D 15:34:01.167 LabApp] Searching ['/Users/klay6683/Dropbox/src', '/Users/klay6683/.jupyter', '/Users/klay6683/miniconda3/envs/py37/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[D 15:34:01.167 LabApp] Looking for jupyter_config in /etc/jupyter
[D 15:34:01.167 LabApp] Looking for jupyter_config in /usr/local/etc/jupyter
[D 15:34:01.167 LabApp] Looking for jupyter_config in /Users/klay6683/miniconda3/envs/py37/etc/jupyter
[D 15:34:01.167 LabApp] Looking for jupyter_config in /Users/klay6683/.jupyter
[D 15:34:01.167 LabApp] Looking for jupyter_config in /Users/klay6683/Dropbox/src
[D 15:34:01.168 LabApp] Looking for jupyter_notebook_config in /etc/jupyter
[D 15:34:01.168 LabApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter
[D 15:34:01.168 LabApp] Looking for jupyter_notebook_config in /Users/klay6683/miniconda3/envs/py37/etc/jupyter
[D 15:34:01.169 LabApp] Loaded config file: /Users/klay6683/miniconda3/envs/py37/etc/jupyter/jupyter_notebook_config.json
def plot_loglog(self, country, freq="2d"):
newdf = self.get_country(country)
return (
newdf.resample(freq)
.mean()
.hvplot.scatter(
x="Infections",
y="Rate",
logy=True,
logx=True,
Object = IsisCube
Object = Core
StartByte = 65537
Format = Tile
TileSamples = 512
TileLines = 512
Group = Dimensions
Samples = 1024
Lines = 1024