Skip to content

Instantly share code, notes, and snippets.

View smallstepman's full-sized avatar
🦀

Marcin Nowak-Liebiediew smallstepman

🦀
  • Switzerland
  • 03:40 (UTC +01:00)
View GitHub Profile
@smallstepman
smallstepman / cloudSettings
Last active January 21, 2021 16:58
vscode2020Q1
{"lastUpload":"2021-01-21T16:57:45.009Z","extensionVersion":"v3.4.3"}
@smallstepman
smallstepman / VSCode
Last active January 24, 2020 19:27
VSCode
code --install-extension 2gua.rainbow-brackets
code --install-extension be5invis.vscode-custom-css
code --install-extension Dart-Code.dart-code
code --install-extension Dart-Code.flutter
code --install-extension dbaeumer.vscode-eslint
code --install-extension dunstontc.dark-plus-syntax
code --install-extension equinusocio.vsc-material-theme-icons
code --install-extension gjhuerte.black-looks-good-theme
code --install-extension hoovercj.vscode-settings-cycler
code --install-extension ipedrazas.kubernetes-snippets
import pip
from subprocess import call
packages = [dist.project_name for dist in pip.get_installed_distributions()]
call("pip install --upgrade " + ' '.join(packages), shell=True)
[CmdletBinding()] Param(
$pythonVersion = "3.6.2"
$pythonUrl = "https://www.python.org/ftp/python/$pythonVersion/python-$pythonVersion.exe"
$pythonDownloadPath = 'C:\Tools\python-$pythonVersion.exe'
$pythonInstallDir = "C:\Tools\Python$pythonVersion"
)
(New-Object Net.WebClient).DownloadFile($pythonUrl, $pythonDownloadPath)
& $pythonDownloadPath /quiet InstallAllUsers=1 PrependPath=1 Include_test=0 TargetDir=$pythonInstallDir
if ($LASTEXITCODE -ne 0) {
cd ~/Downloads
wget https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh
bash Anaconda3-5.0.1-Linux-x86_64.sh -b -p ~/anaconda
rm Anaconda3-5.0.1-Linux-x86_64.sh
echo 'export PATH="~/anaconda/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
conda update conda
apm install hydrogen