Skip to content

Instantly share code, notes, and snippets.

View dumindu's full-sized avatar
🌱
One step at a time...

Dumindu Madunuwan dumindu

🌱
One step at a time...
View GitHub Profile
Warmly welcome your suggestions, desired changes, and innovative ideas
to improve https://learning-cloud-native-go.github.io docs.
Good luck with Learning Cloud Native Go! ~ Dumindu
Warmly welcome your suggestions, desired changes, and innovative ideas
to improve https://learning-rust.github.io docs.
Good luck with learning Rust! ~Dumindu Nuwan
package main
import (
"fmt"
)
func main() {
ch := make(chan string)
go func() {
package main
import (
"fmt"
)
func main() {
ch1 := make(chan string)
ch2 := make(chan string)
package main
import (
"fmt"
"sync"
)
var wg sync.WaitGroup
func main() {
package main
import (
"fmt"
)
var closed = make(chan struct{})
func main() {
go write()
package main
import (
"fmt"
)
var done = make(chan bool, 1)
func main() {
go write()
package main
import (
"fmt"
"sync"
)
func main() {
items := []int{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
.tab-background {
border-radius: 6px 6px 0 0 !important;
margin-block: 0 !important;
}
/* -- OPTIONAL -- */
.titlebar-spacer[type="pre-tabs"] {
width: 30px !important;
}
.titlebar-spacer[type="post-tabs"] {
@dumindu
dumindu / userChrome.css
Last active June 7, 2021 00:26
Firefox Night Owl - V2
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
:root:-moz-lwtheme-brighttext {
--chrome-background-color: #424242 !important;
--chrome-color: #8f8f8f !important;
--chrome-secondary-background-color: #363636 !important;
--toolbox-border-bottom-color: #333333 !important;
--url-and-searchbar-border-color: #333333 !important;
--focus-ring-box-shadow: #191917 !important;
--url-and-searchbar-background-color: #363636 !important;