Skip to content

Instantly share code, notes, and snippets.

@uborzz
uborzz / cursos-iniciacion-programacion.md
Last active January 21, 2024 16:46
Cursos Iniciación

recomendación cursos

cursos recomendados para iniciación en programación y desarrollo

Nota

Existen cantidad de cursos gratuitos en portales como coursera, edx o udacity. Basta con hacer una búsqueda y leer algunos de los comentarios, mirar contenido o la puntuación para hacerte una idea de si está bien montado y se ajusta a lo que quieres aprender. Aunque conseguir un certificado o diploma puede tener un coste en estos portales, seguir el curso y obtener los conocimientos es totalmente gratuito ;)

Linux

Curso básico de linux. Tiene capítulos interesantes. Hay que ser crítico y echar un ojo con cariño a los capítulos más útiles ya que hay varios de poca utilidad que se pueden pasar con menos atención: el de aplicaciones gráficas, printing, o editores de texto resultan poco interesantes.

@uborzz
uborzz / git-basic-commands.md
Last active October 11, 2023 14:29
Git commands easy & fast!

Basic: Add, commit and push!

  • git add .
  • git commit -m "yummie! bananas!"
  • git push origin master
    • -u (set upstream to use only git push)

Checks

  • git status
  • git diff HEAD / git diff --staged
  • git log
@uborzz
uborzz / git-orphan-branch.md
Last active April 8, 2021 08:32
Rama por proyecto en repo único

Crear repo nuevo y subir

Guiaburros para... Caso de un único repositorio remoto. Se crea cada proyecto nuevo en una rama de ese repositorio. Si el proyecto local ya había sido inicializado como un repo git, no se guardaría la historia anterior.

Inicializar en LOCAL el repositorio

git init

Añadir el remoto

@uborzz
uborzz / pack-unpack.md
Last active April 28, 2020 17:35
pack - unpack dictionaries

For instance, check this out:

function(**{"key": "value"})

It is the same as the following:

function(key="value")

Typing vagrant from the command line will display a list of all available commands.

Be sure that you are in the same directory as the Vagrantfile when running these commands!

Creating a VM

  • vagrant init -- Initialize Vagrant with a Vagrantfile and ./.vagrant directory, using no specified base image. Before you can do vagrant up, you'll need to specify a base image in the Vagrantfile.
  • vagrant init <boxpath> -- Initialize Vagrant with a specific box. To find a box, go to the public Vagrant box catalog. When you find one you like, just replace it's name with boxpath. For example, vagrant init ubuntu/trusty64.

Starting a VM

  • vagrant up -- starts vagrant environment (also provisions only on the FIRST vagrant up)
@uborzz
uborzz / keras-opencv.md
Last active May 15, 2019 07:53
keras-opencv conda env

With python 3.6 create conda env called keras-cv (GUI...)

On the prompt: Activate your new environment by typing the following in Terminal.

  • source activate keras-cv //// (Windows) activate keras-cv

Install packages

  • pip install --upgrade pip
  • pip install tensorflow
  • pip install keras
@uborzz
uborzz / raspi-daemon-example.md
Last active October 28, 2018 08:34
raspi-daemon-example

Script

#!/bin/sh
# /etc/init.d/livestream.sh
### BEGIN INIT INFO
# Provides:          livestream.sh
# Required-Start:    $network
# Required-Stop:     $network
# Default-Start:     2 3 4 5
@uborzz
uborzz / conda-commands.md
Created January 31, 2018 08:06
anaconda basics

Basics of Anaconda environment management

Creating an environment

conda create --name myNewEnv python=x.x.x

Activating an environment

activate myNewEnv

Deactivating an environment

deactivate myNewEnv

@uborzz
uborzz / tmux-cheatsheet.markdown
Created September 22, 2017 13:05 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname