Skip to content

Instantly share code, notes, and snippets.

View Jeannot-Muller's full-sized avatar
💭
I may be slow to respond.

Jeannot Muller Jeannot-Muller

💭
I may be slow to respond.
View GitHub Profile
// Defining a single-dimensioned array, which will contain all our cars
var results() as vehicle
// Creating 6 cars (with drivers)
// the id is only for information purposes
for x as integer = 0 to 5
var result as new vehicle
result.id = x
select case x
case 0
@Jeannot-Muller
Jeannot-Muller / intelliJCommonShortcuts.txt
Last active April 15, 2023 10:33
intelliJCommonShortcuts
F1 help
F3 set or delete bookmark
F6 move function
F6 & COMMAND change signature
CONTROL & SPACE/CONTROL code completion
CONTROL & T refactoring options
CONTROL & V version control
COMMAND & 0 git
@Jeannot-Muller
Jeannot-Muller / read console.go
Last active November 8, 2022 12:57
read key input on console
reader := bufio.NewReader(os.Stdin)
reader.ReadString('\n')
OR:
package main
import (
"fmt"
"github.com/eiannone/keyboard"