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
| 0xc011a73ee8576fb46f5e1c5751ca3b9fe0af2a6f | ||
|---|---|---|
| 0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e | ||
| 0x1f9840a85d5af5bf1d1762f925bdaddc4201f984 | ||
| 0x2260fac5e5542a773aa44fbcfedf7c193bc2c599 | ||
| 0x514910771af9ca656af840dff83e8264ecf986ca | ||
| 0x57ab1ec28d129707052df4df418d58a2d46d5f51 | ||
| 0x6b175474e89094c44da98b954eedeac495271d0f | ||
| 0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9 | ||
| 0x0f5d2fb29fb7d3cfee444a200298f468908cc942 | ||
| 0x408e41876cccdc0f92210600ef50372656052a38 |
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
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "time" | |
| "github.com/aws/aws-sdk-go-v2/aws" |
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
| package pocketbase | |
| import ( | |
| "errors" | |
| "fmt" | |
| "time" | |
| "github.com/duke-git/lancet/v2/convertor" | |
| "github.com/go-resty/resty/v2" | |
| "golang.org/x/sync/singleflight" |
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
| public function aws() { | |
| $bucket = "bucket"; | |
| $key = "your-key"; | |
| $secret = "your-secret"; | |
| $base = "http://e24files.com/"; | |
| $s3 = \Aws\S3\S3Client::factory([ | |
| "key" => $key, | |
| "secret" => $secret, | |
| "base_url" => $base, |
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
| $s3 = \Aws\S3\S3Client::factory([ | |
| "version" => "latest", | |
| "key" => "c0e2xxxxxxxxxxxxxxxx", | |
| "secret" => "fpZ1Rxxxxxxxxxxxxxxxx", | |
| "base_url" => "https://e24files.com", | |
| ]); | |
| $objects = $s3->getIterator('ListObjects', ["Bucket" => "d3j9939jdjsskdk430sa", "PathStyle" => true]); | |
| foreach ($objects as $o) { | |
| var_dump($o["Key"]); |
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
| alias ll='ls -alFthr' | |
| export PS1='\[\033[0;35m\]\u\[\033[0;32m\]\w\[\033[0m\]$\[\033[0m\] ' | |
| export PATH=/opt/local/bin:/opt/local/sbin:$PATH | |
| export SVN_EDITOR="/usr/bin/vi" | |
| export GOROOT=$HOME/Programs/go | |
| export PATH=$PATH:$GOROOT/bin | |
| export GOPATH=$HOME/Programs/gopath | |
| export PATH=$PATH:$GOROOT/bin:$GOPATH/bin | |
| export GOMAXPROCS=6 |