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
docker run --name SFTPName \ | |
-v /var/lib/docker/volumes/sftp-name/_data:/home/user/upload \ | |
-p 2222:22 \ | |
-d atmoz/sftp \ | |
user:password:1001 |
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
Field name | Mandatory? | Allowed values | Allowed special characters | |
---------- | ---------- | -------------- | -------------------------- | |
Seconds | No | 0-59 | * / , - | |
Minutes | Yes | 0-59 | * / , - | |
Hours | Yes | 0-23 | * / , - | |
Day of month | Yes | 1-31 | * / , - ? | |
Month | Yes | 1-12 or JAN-DEC | * / , - | |
Day of week | Yes | 0-6 or SUN-SAT | * / , - ? |
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 ( | |
"fmt" | |
"sync" | |
) | |
func main() { | |
letter, number := make(chan bool), make(chan bool) |
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 ( | |
"fmt" | |
"sync" | |
"time" | |
) | |
type value struct { | |
mu sync.Mutex |
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 ( | |
"fmt" | |
"runtime" | |
"sync" | |
) | |
func main() { | |
memConsumed := func() uint64 { |
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 ( | |
"fmt" | |
"sync" | |
"time" | |
) | |
func main() { | |
var wg sync.WaitGroup |
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 ( | |
"fmt" | |
"sync" | |
) | |
func main() { | |
var count int | |
var lock sync.Mutex |
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 ( | |
"fmt" | |
"math" | |
"os" | |
"sync" | |
"text/tabwriter" | |
"time" | |
) |
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
╔════════════════════════════╦══════╦════════════════════════════╗ | |
║ Tradicional ║ ║ Ágil ║ | |
╠════════════════════════════╬══════╬════════════════════════════╣ | |
║ times em silos ║ <--> ║ times ponta-a-ponta ║ | |
║ menos autonomia ║ <--> ║ mais autonomia ║ | |
║ maior custo de coordenação ║ <--> ║ menor custo de coordenação ║ | |
║ mais dependência ║ <--> ║ menos dependência ║ | |
║ maior leadtime ║ <--> ║ menor leadtime ║ | |
║ metas individuais ║ <--> ║ metas compartilhadas ║ | |
║ menor velocidade na tomada ║ <--> ║ maior velocidade na tomada ║ |
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 ( | |
"fmt" | |
"sync" | |
"time" | |
) | |
func main() { | |
c := sync.NewCond(&sync.Mutex{}) |