Skip to content

Instantly share code, notes, and snippets.

View RubenZagon's full-sized avatar
🏝️
Working from home

Ruben Zagon RubenZagon

🏝️
Working from home
View GitHub Profile
@RubenZagon
RubenZagon / Mac OS X 10.5+ - Ruben.xlm
Created February 9, 2023 09:51
Keymap to adapt the workflow from MacOS into Windows Jetbrains IDE
<keymap version="1" name="Mac OS X 10.5+ - Ruben" parent="$default">
<action id="$Delete">
<keyboard-shortcut first-keystroke="delete" />
<keyboard-shortcut first-keystroke="back_space" />
<keyboard-shortcut first-keystroke="ctrl back_space" />
</action>
<action id="$Undo">
<keyboard-shortcut first-keystroke="ctrl z" />
</action>
<action id="ActivateBookmarksToolWindow">
@RubenZagon
RubenZagon / powershell-setup.ps1
Last active June 23, 2024 04:05
Packages to install via scoop, winget, choco, and other tools...
<#
.SYNOPSIS
Script to Initialize my custom powershell setup.
.DESCRIPTION
Script uses scoop, winget and chocolatey to install some applications
to be ready to work.
Creation inspired by the script created by Mike Pruett
.NOTES
@RubenZagon
RubenZagon / create-source-video-obsidian.md
Created December 27, 2022 16:47
Template para Obsidian con el que agilizar el crear una nueva '💧 Fuente' de un 📺 Vídeo de YouTube del que ir extrayendo notas. ⚠️ Cosas a tener en cuenta: - Es necesario crear una API_KEY del servicio de Google "YouTube Data API v3" ⚠️

<%* videoUrl = await tp.system.prompt("URL del vídeo de YouTube");
async function getVideoData() {

const videoId = videoUrl.substring(32);
const apiKey = 'YOUR_API_KEY';  

const url = `https://www.googleapis.com/youtube/v3/videos?part=snippet&id=${videoId}&key=${apiKey}`;  

try {

@RubenZagon
RubenZagon / create-source-video-obsidian.md
Created December 27, 2022 16:45
Template para Obsidian con el que agilizar el crear una nueva '💧 Fuente' de un 📺 Vídeo de YouTube del que ir extrayendo notas.

<%* videoUrl = await tp.system.prompt("URL del vídeo de YouTube");
async function getVideoData() {

const videoId = videoUrl.substring(32);
const apiKey = 'YOUR_API_KEY';  

const url = `https://www.googleapis.com/youtube/v3/videos?part=snippet&id=${videoId}&key=${apiKey}`;  

try {

@RubenZagon
RubenZagon / create-source-video-obsidian.md
Created December 27, 2022 16:45
Template para Obsidian con el que agilizar el crear una nueva '💧 Fuente' de un 📺 Vídeo de YouTube del que ir extrayendo notas.

<%* videoUrl = await tp.system.prompt("URL del vídeo de YouTube");
async function getVideoData() {

const videoId = videoUrl.substring(32);
const apiKey = 'YOUR_API_KEY';  

const url = `https://www.googleapis.com/youtube/v3/videos?part=snippet&id=${videoId}&key=${apiKey}`;  

try {

Java - Live Templates

Java

Java Test

JUnit 5

  • _test (Add new Java test with Assertj)
@RubenZagon
RubenZagon / .bash_aliases
Created October 2, 2020 07:52 — forked from vratiu/.bash_aliases
Git shell coloring
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Reset
Color_Off="\[\033[0m\]" # Text Reset
@RubenZagon
RubenZagon / iterm2-solarized.md
Created August 26, 2020 20:17 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k