Skip to content

Instantly share code, notes, and snippets.

@Riduidel
Last active February 19, 2024 20:04
Show Gist options
  • Save Riduidel/6223006cdd8d7ab5406c0a7960aae461 to your computer and use it in GitHub Desktop.
Save Riduidel/6223006cdd8d7ab5406c0a7960aae461 to your computer and use it in GitHub Desktop.
Mon boxstarter (histoire d'arrêter de perdre du temps à installer tous les logiciels dont j'ai besoin). A exécuter avec la commande du deuxième fichier. Et n'oublie pas que le dossier ne doit pas contenir d'espaces (donc pas de C:\Users\Nicolas Delsaux)
choco install office-tool
choco install git
choco install zip
choco install unzip
choco install chocolateygui
choco install lockhunter
choco install linkshellextension
# Required to have xmllint working in clink (which in turn is useful for maven decoration in flexprompt)
choco install xsltproc
choco install teracopy
choco install clink-maintained
choco install fzf
choco install bat
choco install lsd
choco install wget
choco install 7zip
choco install hurl
# Used at least for aadarchi notifications
Install-Module -Name BurntToast
New-Item -ItemType Directory -Force -Path C:\Users\nicolas-delsaux\AppData\Local\clink
git -C C:\Users\nicolas-delsaux\AppData\Local\clink\clink-completions pull; if (-not $?) { git clone --depth 1 https://github.com/vladimir-kotikov/clink-completions C:\Users\nicolas-delsaux\AppData\Local\clink\clink-completions }
echo "Run clink installscripts C:\Users\nicolas-delsaux\AppData\Local\clink\clink-completions\"
git -C C:\Users\nicolas-delsaux\AppData\Local\clink\more-clink-completions pull; if (-not $?) { git clone --depth 1 https://github.com/sebthom/more-clink-completions.git C:\Users\nicolas-delsaux\AppData\Local\clink\more-clink-completions }
echo "Run clink installscripts C:\Users\nicolas-delsaux\AppData\Local\clink\more-clink-completions\src\"
git -C C:\Users\nicolas-delsaux\AppData\Local\clink\fzf pull; if (-not $?) { git clone --depth 1 https://github.com/chrisant996/clink-fzf.git C:\Users\nicolas-delsaux\AppData\Local\clink\fzf }
echo "Run clink installscripts C:\Users\nicolas-delsaux\AppData\Local\clink\fzf\"
choco install starship
echo "Run clink installscripts C:\Users\nicolas-delsaux\AppData\Local\clink\fzf\"
Invoke-WebRequest -OutFile C:\Users\nicolas-delsaux\Downloads\cozydrive-install.exe -Uri https://nuts.cozycloud.cc/download/channel/stable/win
Invoke-WebRequest -OutFile C:\Users\nicolas-delsaux\Downloads\explorerpatcher-setup.exe -Uri https://github.com/valinet/ExplorerPatcher/releases/latest/download/ep_setup.exe
Invoke-WebRequest -OutFile C:\Users\nicolas-delsaux\Downloads\EitherMouse-Setup.exe -Uri https://eithermouse.com/EitherMouse%20Setup.exe
choco install wpd
choco install notepadplusplus
choco install paint.net
choco install ditto
choco install powertoys
choco install gsudo
choco install linkshellextension
choco install keepass
choco install keepass-plugin-favicon
choco install keepass-plugin-keeotp2
choco install keepass-plugin-keeagent
choco install keepass-plugin-kpscript
choco install keepass-plugin-autotypesearch
choco install pandoc
choco install vscodium
choco install firefox
choco install thunderbird
choco install eclipse
choco install curl
choco install rapidee
choco install sourcetree
set GIT_SSH=C:\Windows\System32\OpenSSH\ssh.exe
choco install droidcamclient
choco install spacedesk-server
choco install processhacker
choco install winscp
choco install visualsubst
choco install gcloudsdk
choco install brave
choco install nodejs
choco install composer
choco install xampp-81
choco install devtoys
choco install firacodenf
choco install monitorian
choco install oraclejdk
choco install maven
choco install greenshot
choco install rustup.install
cargo install cargo-release
cargo install git-journal
cargo install cargo-bloat
cargo install cargo-flamegraph
cargo install cargo-tarpaulin
# Once installed, add C++ build tools in UI
choco install visualstudio2022buildtools
New-Item -ItemType Directory -Force -Path C:\Users\nicolas-delsaux\.command-line-tools
Invoke-WebRequest -OutFile C:\Users\nicolas-delsaux\.command-line-tools\sensei.bat -Uri https://gist.github.com/Riduidel/6223006cdd8d7ab5406c0a7960aae461/raw/fada3cb9a1d1c1275ec7ebbd766886921557d912/sensei.bat
Invoke-WebRequest -OutFile C:\Users\nicolas-delsaux\.command-line-tools\tj.bat -Uri https://gist.github.com/Riduidel/6223006cdd8d7ab5406c0a7960aae461/raw/fada3cb9a1d1c1275ec7ebbd766886921557d912/tj.bat
Invoke-WebRequest -OutFile C:\Users\nicolas-delsaux\.command-line-tools\zspotify.bat -Uri https://gist.github.com/Riduidel/6223006cdd8d7ab5406c0a7960aae461/raw/fada3cb9a1d1c1275ec7ebbd766886921557d912/zspotify.bat
Invoke-Request -OutFile C:\Users\nicolas-delsaux\Downloads\HID-Wiimote-0.4.0.0_64Bit.zip -Uri https://www.julianloehr.de/hid-wiimote/HID-Wiimote-0.4.0.0_64Bit.zip
Invoke-WebRequest -OutFile C:\Users\nicolas-delsaux\.command-line-tools\hey.exe -Uri https://hey-release.s3.us-east-2.amazonaws.com/hey_windows_amd64
choco install python
choco install tagscanner
choco install rpi-imager
choco install rufus
choco install todolist
choco install wiztree
docker run --rm -ti --name=ctop --volume /var/run/docker.sock:/var/run/docker.sock:ro quay.io/vektorlab/ctop:latest
START https://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/Riduidel/6223006cdd8d7ab5406c0a7960aae461/raw/c955b5a2f793e6026fabe2a0a3cba8407854a7c3/boxstarter.txt
docker container run --pull always --interactive --tty --rm --volume %CD%:/training --workdir /training --publish 18080:8080 --env SENSEI_PORT --cap-add=SYS_ADMIN zenika/sensei %*
format = """
[](#9A348E)\
$os\
$username\
[](bg:#DA627D fg:#9A348E)\
$directory\
[](fg:#DA627D bg:#FCA17D)\
$git_branch\
$git_status\
[](fg:#FCA17D bg:#86BBD8)\
$c\
$elixir\
$elm\
$golang\
$gradle\
$haskell\
$java\
$julia\
$nodejs\
$nim\
$rust\
$scala\
[](fg:#86BBD8 bg:#06969A)\
$docker_context\
[](fg:#06969A bg:#33658A)\
$time\
[ ](fg:#33658A)\
"""
# Disable the blank line at the start of the prompt
# add_newline = false
# You can also replace your username with a neat symbol like  or disable this
# and use the os module below
[username]
show_always = true
style_user = "bg:#9A348E"
style_root = "bg:#9A348E"
format = '[$user ]($style)'
disabled = false
# An alternative to the username module which displays a symbol that
# represents the current operating system
[os]
style = "bg:#9A348E"
disabled = true # Disabled by default
[directory]
style = "bg:#DA627D"
format = "[ $path ]($style)"
truncation_length = 3
truncation_symbol = "…/"
# Here is how you can shorten some long paths by text replacement
# similar to mapped_locations in Oh My Posh:
[directory.substitutions]
"Documents" = " "
"Downloads" = " "
"Music" = " "
"Pictures" = " "
# Keep in mind that the order matters. For example:
# "Important Documents" = "  "
# will not be replaced, because "Documents" was already substituted before.
# So either put "Important Documents" before "Documents" or use the substituted version:
# "Important  " = "  "
[c]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[docker_context]
symbol = " "
style = "bg:#06969A"
format = '[ $symbol $context ]($style) $path'
[elixir]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[elm]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[git_branch]
symbol = ""
style = "bg:#FCA17D"
format = '[ $symbol $branch ]($style)'
[git_status]
style = "bg:#FCA17D"
format = '[$all_status$ahead_behind ]($style)'
[golang]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[gradle]
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[haskell]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[java]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[julia]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[nodejs]
symbol = ""
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[nim]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[rust]
symbol = ""
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[scala]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[time]
disabled = false
time_format = "%R" # Hour:Minute Format
style = "bg:#33658A"
format = '[ ♥ $time ]($style)'
docker run --name=taskjuggler --rm=true --net="none" -v %CD%:/tj3 treibholz/tj3:latest tj3 %*
docker run --rm -ti -v C:\Utilisateurs\nicolas-delsaux\.config\.zspotify:/config -v C:\Utilisateurs\nicolas-delsaux\Music:/download jsavargas/zspotify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment