Skip to content

Instantly share code, notes, and snippets.

@adrianhajdin
adrianhajdin / AppStyles.js
Last active March 3, 2024 17:33
Video Chat Styles
const useStyles = makeStyles((theme) => ({
appBar: {
borderRadius: 15,
margin: '30px 100px',
display: 'flex',
flexDirection: 'row',
justifyContent: 'center',
alignItems: 'center',
width: '600px',
border: '2px solid black',
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active June 3, 2026 12:36
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
@dhoss
dhoss / wc.go
Created November 18, 2013 18:26
Tour of Go (http://tour.golang.org) word count with maps solution
package main
import (
"strings"
"code.google.com/p/go-tour/wc"
)
func WordCount(s string) map[string]int {
words := strings.Fields(s)
wordCount := make(map[string]int)