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 dir_revised($a) { | |
gci $a | sort-object Name | format-table -AutoSize | |
} | |
Function la($a) { | |
gci $a | sort-object Name | format-table -AutoSize | |
} | |
Function lad($a) { | |
gci -Directory $a | sort-object Name | format-table -AutoSize |
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
using namespace System.Management.Automation | |
using namespace System.Management.Automation.Language | |
Function la($a) { | |
gci $a | sort-object Name | |
} | |
Function lad($a) { | |
gci -Directory $a | sort-object Name | |
} |
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
@echo off | |
Title DOS | |
for %%* in (.) do set ADDRESS= %%~n* | |
prompt $E[1;30;40m[$E[1;35;40mZYP$E[1;34;40m-$E[1;32;40mDOS $E[1;31;40m@ $E[1;36;40m$d$E[1;30;40m]$E[1;31;40m$$$s$E[1;37;40m | |
:: Temporary system path at cmd startup | |
:: set PATH=%PATH%;"C:\Program Files\Sublime Text 2\" | |
call conda activate |
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
[Configuration] | |
RenameSelOnlyName=1 | |
UseNewDefFont=1 | |
SetEncoding=��.do.not.remove | |
firstmnu=1274 | |
FirstTimeIconLib=0 | |
FirstTime=0 | |
SeparateTree=0 | |
PanelsVertical=0 | |
Aligned extension=1 |
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
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. |
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
" COPY THIS FILE AS .vimrc in home folder. | |
" cp vimrc ~/.vimrc | |
" | |
" .vimrc | |
" | |
" Smylers's .vimrc | |
" http://www.stripey.com/vim/ | |
" | |
" 2000 Jun 1: for `Vim' 5.6 | |
" |
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
Set shell = CreateObject("WScript.Shell") | |
shell.CurrentDirectory = "E:\wsl_ubuntu_app" | |
shell.Run "cmd /c wsl-app-sudo-runner.bat gedit", 0, false |
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
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"actions": | |
[ | |
{ | |
"command": "unbound", | |
"keys": "ctrl+c" | |
}, | |
{ | |
"command": "unbound", |
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
{ | |
"argv": [ | |
"C:\\windows\\system32\\wsl.exe", | |
"-d", | |
"Ubuntu", | |
"/home/yuanpeng/anaconda3/envs/py37/bin/python", | |
"-m", | |
"ipykernel_launcher", | |
"-f", | |
"$(wslpath -a '{connection_file}')" |
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
# Automatically mount Windows drive when the distribution is launched | |
[automount] | |
# Set to true will automount fixed drives (C:/ or D:/) with DrvFs under the root directory set above. Set to false means drives won't be mounted automatically, but need to be mounted manually or with fstab. | |
enabled = true | |
# Sets the directory where fixed drives will be automatically mounted. This example changes the mount location, so your C-drive would be /c, rather than the default /mnt/c. | |
# root = / | |
# DrvFs-specific options can be specified. |
OlderNewer