Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View remulocosta's full-sized avatar
🎯
Focusing

Remulo Costa remulocosta

🎯
Focusing
  • Brasil
View GitHub Profile
@remulocosta
remulocosta / settings.json
Last active June 2, 2020 00:45
Settings for VSCode
{
"extensions.ignoreRecommendations": true,
"workbench.activityBar.visible": true,
// Define o tema do VSCode
"workbench.colorTheme": "Omni",
"workbench.editor.labelFormat": "short",
// Define o tema dos ícones na sidebar
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "newUntitledFile",
// Configura tamanho e família da fonte
@remulocosta
remulocosta / keybindings.json
Created January 7, 2020 05:23
keybindings for VSCode
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+'",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "ctrl+shift+[BracketLeft]",
"command": "-workbench.action.terminal.toggleTerminal"
},
@remulocosta
remulocosta / vs_code_extensions_list.txt
Created January 7, 2020 05:32
VSCode List instaled extensions
❯ code --list-extensions
dbaeumer.vscode-eslint
dracula-theme.theme-dracula
eamodio.gitlens
EditorConfig.EditorConfig
esbenp.prettier-vscode
gamunu.vscode-yarn
jpoissonnier.vscode-styled-components
luongnd.edge
mikestead.dotenv
@remulocosta
remulocosta / .hyper.js
Created January 7, 2020 05:37
hyper settings
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
@remulocosta
remulocosta / .zshrc
Created January 7, 2020 05:39
oh-my-zsh settings
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
export ANDROID_HOME=~/Android/Sdk
export PATH="$PATH:$ANDROID_HOME/tools"
export PATH="$PATH:$ANDROID_HOME/platform-tools"
# Path to your oh-my-zsh installation.
export ZSH="/Users/remulo/.oh-my-zsh"
export PATH="$PATH:/usr/local/bin"
@remulocosta
remulocosta / export_vscode_end_install.txt
Created January 7, 2020 05:46
VSCode Export and install extensions
So as treehead's edit or MarkP's answer showed you can now list all extensions installed so the way to install that list of extensions would be to:
code --list-extensions >> vs_code_extensions_list.txt
Transfer the newly created file to the machine that you want to install those extensions to. On that machine you would:
cat vs_code_extensions_list.txt | xargs -n 1 code --install-extension
Which will then go through each extension in that file and install the extension.
If you want a clean install (AKA remove all existing extensions on that machine) you could run this before you install the new extensions (otherwise you will remove those new extensions too). BE CAREFUL as this will remove all extensions in VS Code:
#HD All Partitions
VBoxManage internalcommands createrawvmdk -filename "<path file name>.vmdk" -rawdisk /dev/disk
#HD Indicated Partitions
VBoxManage internalcommands createrawvmdk -filename "<path file name>.vmdk" -rawdisk /dev/disk2 -partitions 1,2,3,4
#Permissions to file and device
#file
chmod 777 "path file name.vmdk"
#device
//upgrade package.json
npm install -g npm-check-updates
ncu
ncu -u
@remulocosta
remulocosta / .editorconfig
Last active March 27, 2020 03:48
React projects
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
@remulocosta
remulocosta / .editorconfig
Created March 30, 2020 17:20
Initial styled code NodeJS commonJS airbnb-base
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true