Skip to content

Instantly share code, notes, and snippets.

View jsstrn's full-sized avatar
🕺
Your best friend

Jesstern Rays jsstrn

🕺
Your best friend
  • Singapore
  • 20:32 (UTC +08:00)
View GitHub Profile
  1. Install Arduino IDE
  2. Open Arduino IDE > File > Examples > Firmata > StandardFirmataPlus
@jsstrn
jsstrn / setup.md
Last active March 7, 2016 03:25
Web developer tools setup

Web development setup

Trello

  • 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

Atom

Similar shortcuts, plugins, and linters are available for Sublime Text and Brackets.

Instructions:

  1. Write a program that prints the lyrics to the "99 Bottles of Beer on the Wall".
  2. Your program should take in one argument for the starting number of bottles of beer.
  3. You can write your program in JavaScript or Ruby.
  4. Share your solution in the comments below.

Lyrics:

99 bottles of beer on the wall, 99 bottles of beer.

@jsstrn
jsstrn / es6.md
Last active March 29, 2016 02:04
Intro to ES6

Introduction to ES6

Try ES6 online:

Getting ES6 to work in your browser

<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>

@jsstrn
jsstrn / class.js
Last active April 1, 2016 11:32
Object Oriented Programming in JavaScript
class Pet {
constructor () {
}
}
@jsstrn
jsstrn / tips.md
Last active May 31, 2016 08:35
Atom shortcuts worth remembering

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)
@jsstrn
jsstrn / developer-conferences.md
Last active October 18, 2016 04:14
List of developer conferences in the region

January

February

March

April

May

export const Square = () => {
const createLength = (length) => {
return 'x'.repeat(length)
}
const createHeight = (length) => {
return 'x' + ' '.repeat(length - 2) + 'x'
}
const createArray = (length) => {
### 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:
@jsstrn
jsstrn / object-calisthenics.md
Last active May 24, 2017 02:47
Object Calisthenics