Skip to content

Instantly share code, notes, and snippets.

@rhuang-astro
rhuang-astro / Pandas dataframe test.ipynb
Last active January 1, 2019 06:18
Pandas dataframe test
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhuang-astro
rhuang-astro / 函数式编程.ipynb
Created January 1, 2019 13:59
program/code_lab/函数式编程.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhuang-astro
rhuang-astro / plot M31 image optical and XMM FOV.ipynb
Created January 3, 2019 07:17
program/code_lab/plot M31 image optical and XMM FOV.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhuang-astro
rhuang-astro / SEM.ipynb
Last active January 10, 2019 10:02
GCS/SEM.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

echo "\033[46;38m\n Initial env \n author:rhuang \033[0m"

echo "\033[48;5;216;38;5;126m 我是216背景+126前景色 \033[0m"

让shell提示输入一个变量,赋值个MY_FILE_NAME
vim input.sh
#!/bin/bash
read -p "Please input a filename1:" MY_FILE_NAME1
read -p "Please input a filename3:" MY_FILE_NAME2
echo your input filename1="$MY_FILE_NAME1" filename2="$MY_FILE_NAME2"
1
2
3
This file has been truncated, but you can view the full file.
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"#D:\\THCA\\HXMT\\mutiPoly"
]