Skip to content

Instantly share code, notes, and snippets.

View inuoshios's full-sized avatar
🐈
loompaland

inu inuoshios

🐈
loompaland
View GitHub Profile
@inuoshios
inuoshios / .bash_aliases
Created January 16, 2023 21:30 — 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
@inuoshios
inuoshios / lookUpIp.go
Last active January 1, 2022 18:18
Created this little Golang "script, maybe" to lookup the IP Address Not perfect, but yeah!
package main
import (
"flag"
"fmt"
"net"
"os"
)
var ip string
@inuoshios
inuoshios / typeCasting.go
Created December 31, 2021 17:23
Type Casting in Golang -> integers to strings and strings to integers
package main
import (
"fmt"
"strconv" // This is used for conversion
)
func main() {
// Type Casting in Golang -> Converting strings to integers and integers into strings