mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 04:26:41 +01:00
Add netplan static ip config example
This commit is contained in:
2
.bashrc
2
.bashrc
@@ -18,7 +18,7 @@ check_files_changed() {
|
|||||||
}
|
}
|
||||||
if [ "$color_prompt" = yes ]; then
|
if [ "$color_prompt" = yes ]; then
|
||||||
# to see the available colours: for COLOR in {1..255}; do echo -en "\e[38;5;${COLOR}m${COLOR} "; done; echo;
|
# to see the available colours: for COLOR in {1..255}; do echo -en "\e[38;5;${COLOR}m${COLOR} "; done; echo;
|
||||||
C_USER='48'
|
C_USER='99' # 48 for normal green, 99 for server purple
|
||||||
C_DIR='39'
|
C_DIR='39'
|
||||||
C_BRANCH='207'
|
C_BRANCH='207'
|
||||||
PS1='${debian_chroot:+($debian_chroot)}\[\e[01;38;5;'$C_USER'm\]\u@\h\[\033[00m\]:\[\e[01;38;5;'$C_DIR'm\]\w\[\e[38;5;'$C_BRANCH'm\]$(parse_git_branch)\[\033[01;90m\]$(check_files_changed)\[\033[00m\]\$ '
|
PS1='${debian_chroot:+($debian_chroot)}\[\e[01;38;5;'$C_USER'm\]\u@\h\[\033[00m\]:\[\e[01;38;5;'$C_DIR'm\]\w\[\e[38;5;'$C_BRANCH'm\]$(parse_git_branch)\[\033[01;90m\]$(check_files_changed)\[\033[00m\]\$ '
|
||||||
|
|||||||
2
init.vim
2
init.vim
@@ -44,6 +44,8 @@ Plug 'raimon49/requirements.txt.vim', {'for': 'requirements'}
|
|||||||
|
|
||||||
" solidity
|
" solidity
|
||||||
Plug 'tomlion/vim-solidity'
|
Plug 'tomlion/vim-solidity'
|
||||||
|
" circom
|
||||||
|
Plug 'iden3/vim-circom-syntax'
|
||||||
|
|
||||||
" deoplete
|
" deoplete
|
||||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||||
|
|||||||
20
raspberry/netplan-config.yaml
Normal file
20
raspberry/netplan-config.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# static ip configuration
|
||||||
|
|
||||||
|
network:
|
||||||
|
ethernets:
|
||||||
|
eth0:
|
||||||
|
dhcp4: true
|
||||||
|
optional: true
|
||||||
|
wifis:
|
||||||
|
wlan0:
|
||||||
|
dhcp4: no
|
||||||
|
dhcp6: no
|
||||||
|
addresses: [192.168.1.150/24]
|
||||||
|
gateway4: 192.168.1.1
|
||||||
|
nameservers:
|
||||||
|
addresses: [1.1.1.1, 8.8.8.8]
|
||||||
|
access-points:
|
||||||
|
"wifiname":
|
||||||
|
password: "password"
|
||||||
|
version: 2
|
||||||
|
|
||||||
Reference in New Issue
Block a user