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:
I hereby claim:
To claim this, I am signing this object:
0x503c3B443B66677C4Fe84A9afFcd7B6bbdDbd029 |
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 |
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)
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
require 'pry' | |
# Extend the Binding class with the loud_pry method | |
class Binding | |
def loud_pry() | |
# Play the sound | |
`afplay /System/Library/Sounds/Purr.aiff` | |
# Announce the activation | |
`say "binding loud pry activated"` |