Skip to content

Instantly share code, notes, and snippets.

Avatar
🏡
WFH

Justin Léger jusleg

🏡
WFH
View GitHub Profile
View article.md

articles.by

Hey there 👋 This is a demo of our current rendering engine for articles.by. I got sick of medium putting a paywall on every articles. If you ever wrote Markdown on Reddit, Discourse, or GitHub, you are pretty much good to go. We support the basic mardown thing like links, italic, bold, strikethrough, and a mix of all of them.

We got

a

couple

headers

@jusleg
jusleg / loops.rb
Created Dec 5, 2018
Draw cool loops in your terminal
View loops.rb
POINTS = 10000
PRE_ROTATION = Math::PI * 1
LOOPS = 5
DIMENSION = 101
values = Array.new(DIMENSION){Array.new(DIMENSION)}
middle = DIMENSION/2+1
POINTS.times do |i|
radius = DIMENSION / 2 * i / POINTS
@jusleg
jusleg / 345.md
Last active Mar 9, 2020
345 notes
View 345.md

Soen 345

Some definitions

Legacy code: code without tests. Without test, we don't know if the code is getting better of worse

Unit test: tests that run fast and help localize problems. They test a specific part of the code

Integration test: Test that spans across multiple modules. Not fast. Insure that a complete feature is working

Continuous integration: Automatically build, test and analyze software to every change to the source repo. New commit = building, testing and analyzing again. (Ex: Travis CI)

View keybase.md

Keybase proof

I hereby claim:

  • I am jusleg on github.
  • I am justinleger (https://keybase.io/justinleger) on keybase.
  • I have a public key whose fingerprint is 751A 4DB6 0646 1B51 F3B7 8EC7 BFFD 2891 2E54 26FC

To claim this, I am signing this object:

You can’t perform that action at this time.