Skip to content

Instantly share code, notes, and snippets.

View binary4cat's full-sized avatar
🤑
I may be slow to respond.

cat binary4cat

🤑
I may be slow to respond.
View GitHub Profile
@binary4cat
binary4cat / compress.go
Created January 14, 2022 07:42 — forked from bussiere/compress.go
compress uncompress a string in golang
package main
import (
"bytes"
"compress/gzip"
"fmt"
"encoding/base64"
"io/ioutil"
)
@binary4cat
binary4cat / Howto_Zsh5-6-2_Centos7.md
Created March 31, 2021 07:14 — forked from Semo/Howto_Zsh5-6-2_Centos7.md
How to install Zsh version 5.6.2 into CentOS 7

How to install Zsh version 5.6.2 into CentOS 7

Given that you have a clean installation of CentOS 7 which was already updated, by you, then you still have some dependencies to install make and install the external Zsh from the source. You must be root to get the stuff done.

Install GCC Development Tools

yum groupinstall "Development tools"

Check if it's working

@binary4cat
binary4cat / sse.go
Created April 7, 2020 06:59 — forked from ismasan/sse.go
Example SSE server in Golang
// Copyright (c) 2017 Ismael Celis
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// The above copyright notice and this permission notice shall be included in all