Skip to content

Instantly share code, notes, and snippets.

View lchenneberg's full-sized avatar

Ludovic Chenneberg lchenneberg

  • TechnoConception
  • Montreal, QC
View GitHub Profile
@lchenneberg
lchenneberg / guessTheNumber.py
Created March 2, 2020 00:39
Eduonix eGrade - AI - ML
import random
def requestValidNum(message, min=None, max=None ):
num = None
while isinstance(num, int) != True:
try:
numStr = input(message)
tempNum = int(numStr)
@lchenneberg
lchenneberg / script.coffee
Created April 6, 2013 11:11
A CodePen by Ludovic Chenneberg. CSL_IteractiveMenu v1.0
class CSLMenu
elMenu: null
width: 200
height: 200
totalArcAngle: -1 * Math.PI / 2
radius1: .5
radius2: .75
btnWidth: 20
btnHeight: 20
itemButtons: new Array()
@lchenneberg
lchenneberg / script.coffee
Created April 6, 2013 11:11
A CodePen by Ludovic Chenneberg. CSL_IteractiveMenu v1.0
class CSLMenu
elMenu: null
width: 200
height: 200
totalArcAngle: -1 * Math.PI / 2
radius1: .5
radius2: .75
btnWidth: 20
btnHeight: 20
itemButtons: new Array()
@lchenneberg
lchenneberg / script.coffee
Created April 6, 2013 11:11
A CodePen by Ludovic Chenneberg. CSL_IteractiveMenu v1.0
class CSLMenu
elMenu: null
width: 200
height: 200
totalArcAngle: -1 * Math.PI / 2
radius1: .5
radius2: .75
btnWidth: 20
btnHeight: 20
itemButtons: new Array()