Skip to content

Instantly share code, notes, and snippets.

View gonzaloserrano's full-sized avatar
☁️
🧑‍💻

Gonzalo Serrano gonzaloserrano

☁️
🧑‍💻
View GitHub Profile
@gonzaloserrano
gonzaloserrano / opendiff.vim
Last active May 13, 2020 10:55
opendiff from vim map - xcode xcode-select macos
# if you got some complain from xcode run this:
# sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
# this is the map that goes to your vimrc
map <c-y> :!git difftool -y --tool=opendiff %<cr>
@gonzaloserrano
gonzaloserrano / goplsu.sh
Created May 17, 2020 10:00
gopls update
#! /bin/bash
set -e
gopls version
TMP_DIR="$(mktemp -d)"
cd "$TMP_DIR"
git clone [email protected]:golang/tools.git
cd tools/gopls
go install .
@gonzaloserrano
gonzaloserrano / index.html
Created December 20, 2024 14:03 — forked from egeozcan/index.html
image viewer
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fullscreen Image Viewer</title>
<style>
body {
font-family: Arial, sans-serif;
}