Skip to content

Instantly share code, notes, and snippets.

View juliakm's full-sized avatar

Julia Kulla-Mader juliakm

View GitHub Profile
@juliakm
juliakm / happy-bouncing-balls-d.markdown
Created July 30, 2020 20:33
Happy bouncing balls :-D
package main
import (
"fmt"
"log"
"os"
"path/filepath"
"strings"
)
@juliakm
juliakm / functions.go
Created February 18, 2020 15:56
functions-temp.go
package main
import "fmt"
// kelvinToCelsius converts °K to °C
func kelvinToCelsius(k float64) float64 {
return k - 273.15
}
func CelsiusToFahrenheit(c float64) float64 {
@juliakm
juliakm / piggy.go
Created February 12, 2020 14:34
Get Programming with Go (6.4)
// Save some money to buy a gift for your friend.
// Write a program that randomly places nickels ($0.05), dimes ($0.10), and quarters ($0.25) into an empty piggy bank
// until it contains at least $20.00. Display the running balance of the piggy bank after each deposit,
// formatting it with an appropriate width and precision.
package main
import (
"fmt"
"math/rand"
package main
import "github.com/tatsushid/go-prettytable"
import (
"math/rand"
)
func main() {
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- task: GoTool@0
inputs:
version: '1.13.5'
Learn Git by editing the Write The Docs website
===============================================
Identify the page you want to edit
----------------------------------
1. Find an `existing issue`_, or a page you want to improve.
2. In the repo UI, find the file that corresponds to the page. For
example:
https://www.writethedocs.org/documentarians/ is produced by