Skip to content

Instantly share code, notes, and snippets.

View LubeckHuaman's full-sized avatar

Lubeck Huaman LubeckHuaman

  • BairesDev
  • peru
View GitHub Profile
@squarism
squarism / iterm2.md
Last active May 18, 2025 11:48
An iTerm2 Cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
@svalleru
svalleru / GoOS.go
Last active March 7, 2021 04:45
Detect OS in Go
package main
import "fmt"
import "runtime"
func main() {
fmt.Println("OS Detected: ", runtime.GOOS)
switch os := runtime.GOOS; os {
case "darwin":
fmt.Println("Mac OS Hipster")
@harding
harding / instructions.md
Last active March 30, 2025 14:48
Working With Multiple Repositories On GitHub

Working With Multiple Repositories On GitHub

Most projects on GitHub have a main repository that's the focal point of activity. For example, the Example organization has the Example.com repository:

https://github.com/example/example.com

Developers of Example.com typically call this the 'upstream' repository. We'll come back to it in a moment.

@mattetti
mattetti / multipart_upload.go
Last active March 22, 2025 23:09
Example of doing a multipart upload in Go (golang)
package main
import (
"bytes"
"fmt"
"io"
"log"
"mime/multipart"
"net/http"
"os"
@wilmoore
wilmoore / js-crossword-puzzle.md
Created February 9, 2013 04:02
Javascript Trivia Crossword Solution

Javascript Trivia Crossword Solution