Models | Examples |
---|---|
Display ads | Yahoo! |
Search ads |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fresh Install | |
Installing Minio packages for macOS is done via brew. | |
``` | |
brew install minio/stable/minio | |
minio server ~/Photos | |
``` | |
Upgrade |
- Download this : https://cloud.google.com/sdk/downloads
- Run the command and complete authentication for the first time
gcloud init
- If you are reauthenticating use this command instead
gcloud beta auth application-default login
- Perform the authentication using your minio.io email address (the CLI will launch a broswer window or show you a link)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func upload(w http.ResponseWriter, r *http.Request) { | |
file, header, err := r.FormFile("file") | |
if err != nil { | |
http.Error(w, err.Error(), http.StatusInternalServerError) | |
return | |
} | |
defer file.Close() | |
fname := header.Filename |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func setUp() { | |
minioClient, err := minio.New("192.168.1.15:9000", "minio", "minio123", false) | |
if err != nil { | |
log.Fatalln(err) | |
} | |
queueArn := minio.NewArn("minio", "sqs", "", "1", "postgresql") | |
queueConfig := minio.NewNotificationConfig(queueArn) | |
queueConfig.AddEvents(minio.ObjectCreatedAll, minio.ObjectRemovedAll) | |
bucketNotification := minio.BucketNotification{} | |
bucketNotification.AddQueue(queueConfig) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func processOCR(minioClient *minio.Client, bucketname string, objectname string) string {\ | |
// This is the simplest way :) | |
object, err := minioClient.GetObject(bucketname, objectname, minio.GetObjectOptions{}) | |
if err != nil { | |
fmt.Println(err) | |
return "" | |
} | |
localFile, err := os.Create("/tmp/" + objectname) | |
if err != nil { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "19", | |
"credential": { | |
"accessKey": "minio", | |
"secretKey": "minio123" | |
}, | |
"region": "", | |
"browser": "on", | |
"logger": { | |
"console": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- json flag in CLI to get json output | |
- Remove file in config.json and upgrade version (migration code) | |
- Log messages : remove logrus dependencyl | |
- 2 separate structs for logging and startup | |
- Levels of logging: | |
- Error | |
- Fatal | |
- Debug | |
- Research json grouping of similar messages (50 times ): <same error message> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Remove Maps and replace with Website Map | |
* Enhance the data. Create a new db. For every entry requery APIS and enrich. Point to new database eventually. | |
-X- | |
* Advanced search model with dynamic dropdowns | |
* Widgets for canned queries such as : 1. Popular platforms. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What should a support product entail : | |
* Customer Portal : Create account with moderation. | |
* Should be able to learn what they will get without having to login | |
* License Management | |
* Service plans levels (if there are more than 1) | |
* Hours of coverage | |
* Scope of coverage | |
* How to do escalations | |
* Whats not covered |
OlderNewer