Skip to content

Instantly share code, notes, and snippets.

View SebastiaAgramunt's full-sized avatar
🥕

Sebastia SebastiaAgramunt

🥕
  • San Francisco, California
View GitHub Profile
@SebastiaAgramunt
SebastiaAgramunt / 0-vscode-extensions-backup.md
Created January 12, 2022 13:16 — forked from illvart/0-vscode-extensions-backup.md
VSCode - Visual Studio Code extensions backup

VSCode - Visual Studio Code extensions backup

If you are use Unix/Linux create a bash script with a loop. In this case I want to backup the extensions list and install again:

First create a list of the extensions:

$ code --list-extensions > extensions.txt

Create a bash script for example with the name vscode-extension-install.sh and input the following code:

@SebastiaAgramunt
SebastiaAgramunt / vscode_plugins.sh
Last active March 16, 2022 10:30
vscode setup
#!/bin/bash
# Visual Studio IntelliCode
code --install-extension visualstudioexptteam.vscodeintellicode
# Python
# ============== #
# Basics
@SebastiaAgramunt
SebastiaAgramunt / install-quake3.sh
Created May 31, 2021 12:24 — forked from simonewebdesign/install-quake3.sh
Install Quake 3: Arena on a mac
#!/bin/bash
# Install Quake 3: Arena on a mac
# Copyright (c) 2016 simonewebdesign
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
@SebastiaAgramunt
SebastiaAgramunt / Brewfile
Last active March 23, 2022 15:41 — forked from ryanhanwu/Brewfile
New Mac Setup Script 2019
# Taps
tap 'homebrew/bundle'
# Install CLI Tools
## Shell Utilities
brew 'coreutils'
brew 'findutils'
brew 'zsh'
brew 'zsh-completions'
brew 'docker-compose'
@SebastiaAgramunt
SebastiaAgramunt / pyenv_venv.md
Last active January 21, 2022 13:38
Setting up pyenv and working with virtual environments venv

Python pyenv and venv setup

We'll use pyenv to manage python versioning and venv (comes with python 3) to manage virtual environments.

Install Pyenv

Pyenv allows you to have several python versions in your machine.

brew update
@SebastiaAgramunt
SebastiaAgramunt / config
Last active April 26, 2019 13:04
A typical config file for remote ssh access
# This file should be placed in ~/.ssh/ folder
# along with the private keys specified for each host
# To access raspberry machine type ssh raspberry in terminal
Host raspberry
HostName 0.0.0.0
User pi
Port 5555
IdentityFile ~/.ssh/id_rsa_rpi_2
## Creating user profile for name.surname
# Add a user to the system while creating a folder for him/her
useradd -m name.surname
# Change shell to bash
chsh -s /bin/bash name.surname
# Add user to a group called ai
usermod -a -G ai name.surname

Python pyenv and virtualenvwrapper setup

This document will help you set up python for development on MacOS.

Install Pyenv

Pyenv allows you to have several python versions in your machine.

brew update
@SebastiaAgramunt
SebastiaAgramunt / gist:5291a84fd5078f8444cde9d8556f9e27
Created March 27, 2019 16:58 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@SebastiaAgramunt
SebastiaAgramunt / Docker.sh
Last active November 29, 2019 11:53
Docker useful commands
# Check all containers
docker ps -a
# Check all images
docker images
#in docker-compose (docker-compose.yml file)
docker-compose up
# Build an image called datascience from