- Install Arduino IDE
- Open Arduino IDE > File > Examples > Firmata > StandardFirmataPlus
- A shared Trello board for all our resources, suggested by Kelvin
- Leave a comment here with your Trello username so I can add you to the baord
Similar shortcuts, plugins, and linters are available for Sublime Text and Brackets.
- Write a program that prints the lyrics to the "99 Bottles of Beer on the Wall".
- Your program should take in one argument for the starting number of bottles of beer.
- You can write your program in JavaScript or Ruby.
- Share your solution in the comments below.
99 bottles of beer on the wall, 99 bottles of beer.
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min.js"></script>
<script type="text/babel" src="index.js"></script>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Pet { | |
constructor () { | |
} | |
} |
Here are some shortcut keys worth remembering. They should also work for Sublime Text.
- Toggle view of sidebar -
CMD+K
,CMD+B
- Go to a file -
CMD+P
then type the file name - Select next -
CMD+D
(Find > Select Next) - Select all -
CTRL+CMD+G
(Find > Select All) - Go to beginning/end of the line -
CMD+LEFT/RIGHT
- Select to beginning/end of the line -
SHIFT+CMD+LEFT/RIGHT
(Selection > Select to Beginning/End of Line) - Select the entire line -
CMD+L
(Selection > Select Line) - Select the entire word -
SHIFT+CTRL+W
(Selection > Select Word)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const Square = () => { | |
const createLength = (length) => { | |
return 'x'.repeat(length) | |
} | |
const createHeight = (length) => { | |
return 'x' + ' '.repeat(length - 2) + 'x' | |
} | |
const createArray = (length) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am jsstrn on github. | |
* I am jsstrn (https://keybase.io/jsstrn) on keybase. | |
* I have a public key ASCG6WnBjTnsIlYCuk0PoUmbXEOhnBREUXI5DBNYj1pdKwo | |
To claim this, I am signing this object: |
9 steps to better software design today, by Jeff Bay
- http://www.xpteam.com/jeff/writings/objectcalisthenics.rtf
- http://www.pragprog.com/titles/twa/thoughtworks-anthology
We’ve all seen poorly written code that’s hard to understand, test, and maintain. Object-oriented programming promised to save us from our old procedural code, allowing us to write software incrementally, reusing as we go along. But sometimes it seems like we’re just chasing down the