Skip to content

Instantly share code, notes, and snippets.

View orue's full-sized avatar
🏠
Working from home

Carlos Orue orue

🏠
Working from home
View GitHub Profile
@orue
orue / menu.html
Created December 3, 2022 04:08
create a menu with an unorder list
<!DOCTYPE html>
<html>
<head>
<style>
ul {
list-style-type: none;
}
li {
float: left;
@orue
orue / nerd_fonts.sh
Created June 17, 2022 05:24 — forked from davidteren/nerd_fonts.md
Install Nerd Fonts via Homebrew [updated & fixed]
# Nerd Fonts for your IDE
# https://www.nerdfonts.com/font-downloads
brew tap homebrew/cask-fonts && brew install --cask font-3270-nerd-font
brew tap homebrew/cask-fonts && brew install --cask font-fira-mono-nerd-font
brew tap homebrew/cask-fonts && brew install --cask font-inconsolata-go-nerd-font
brew tap homebrew/cask-fonts && brew install --cask font-inconsolata-lgc-nerd-font
brew tap homebrew/cask-fonts && brew install --cask font-inconsolata-nerd-font
brew tap homebrew/cask-fonts && brew install --cask font-monofur-nerd-font
brew tap homebrew/cask-fonts && brew install --cask font-overpass-nerd-font
@orue
orue / .hyper.js
Last active January 20, 2023 04:09
Hyper Terminal Setup
'use strict';
// 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: {
opacity: 0.9,
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
@orue
orue / .vimrc
Created February 21, 2021 02:36 — forked from miguelgrinberg/.vimrc
My .vimrc configuration for working in Python with vim
" plugins
let need_to_install_plugins = 0
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
let need_to_install_plugins = 1
endif
call plug#begin()
Plug 'tpope/vim-sensible'
@orue
orue / setting.json
Last active April 2, 2023 17:38
VSCode Web Development Setup
{
// * Workbench - Theme ======================================================
"workbench.colorTheme": "Learn with Sumit - Professional",
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "none",
// * Editor =================================================================
"editor.fontFamily": "'Dank Mono', 'Courier New', monospace",
"editor.fontSize": 16,
"editor.lineHeight": 25,
@orue
orue / install.sh
Created July 11, 2020 23:48
installation for Vue and Firebase
yarn add --dev @fortawesome/fontawesome-free @fortawesome/fontawesome-svg-core @fortawesome/free-solid-svg-icons @fortawesome/vue-fontawesome bootstrap jquery popper.js firebase
@orue
orue / vscode_eslint_prettier.md
Last active April 26, 2020 03:06
VSCode - ESLint, Prettier & Airbnb Style Guide Setup
@orue
orue / vue_date_props.js
Created April 2, 2020 07:21
Use Array/Object in props as default value
date: {
type: Date,
required: false,
default: function(){return new Date()}
}
//or ES6
default: () =>new Date()
@orue
orue / .eslintrc.js
Created March 31, 2020 09:47
eslint configuration for nuxt,js
module.exports = {
root: true,
env: {
node: true,
browser: true
},
extends: [
'plugin:vue/recommended',
'eslint:recommended',
'prettier/vue',
@orue
orue / auto_venv.zsh
Last active March 7, 2020 18:22
Auto Activate/Deactivate Python Virtual Enviroment
# Auto Activate/Deactivate Python Virtual Enviroment
function venv_activate() {
if [[ -d $PWD/venv ]]; then
echo 'Activating Python virtualenv'
source $PWD/venv/bin/activate
else
if [ "$VIRTUAL_ENV" ] && [ ! -d $PWD/venv ]; then
echo "Deactivating Python Virtualenv"
deactivate