Skip to content

Instantly share code, notes, and snippets.

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

Erik Amaru Ortiz eriknyk

🏠
Working from home
View GitHub Profile
@eriknyk
eriknyk / github_desktop_ubuntu.sh
Created June 10, 2021 22:37 — forked from berkorbay/github_desktop_ubuntu.md
To install Github Desktop for Ubuntu
#sudo wget https://github.com/shiftkey/desktop/releases/download/release-2.1.0-linux1/GitHubDesktop-linux-2.1.0-linux1.deb
#sudo gdebi GitHubDesktop-linux-2.1.0-linux1.deb
# UPDATE (2021-03-05): Thanks to PaoloRanzi81's comment, the updated code is as follows https://gist.github.com/PaoloRanzi81
sudo wget https://github.com/shiftkey/desktop/releases/download/release-2.6.3-linux1/GitHubDesktop-linux-2.6.3-linux1.deb
### Uncomment below line if you have not installed gdebi-core before
# sudo apt-get install gdebi-core
sudo gdebi GitHubDesktop-linux-2.6.3-linux1.deb
@eriknyk
eriknyk / install-kafka.sh
Last active June 4, 2022 22:43
install-kafka
#!/bin/bash
VERSION=2.8.0
WORKING_DIR=/opt/kafka
echo "Verifying installation..."
if /opt/kafka/bin/kafka-topics.sh --version 2>/dev/null | grep "Commit" ; then
echo "apache kafka is ready!"
@eriknyk
eriknyk / go-interface-example.go
Created April 23, 2022 00:39
go-interface-example.go
package main
import (
"fmt"
"math"
)
type geometry interface {
area() float64
perim() float64