Skip to content

Instantly share code, notes, and snippets.

View xorvo's full-sized avatar

Horvo Haoriwa xorvo

View GitHub Profile
@xorvo
xorvo / gclone.rb
Created February 17, 2024 14:37
Clone git repositories to dedicated path
#!/usr/bin/env ruby
# For pulling git repo into a destination directory based on global path of the repo
# example: git@github.com:rabbitmq/rabbitmq-server.git => ~/projects/github.com/rabbitmq/rabbitmq-server
require 'fileutils'
PROJECTS_DIR="#{Dir.home}/projects"
url = ARGV[0]
@xorvo
xorvo / elixir-hls-server-demo.livemd
Last active April 11, 2024 17:23
Elixir HLS Server Example

HLS Server Demo - My TV Station

Mix.install([
  {:plug_cowboy, "~> 2.6"}
])