#Auto Assignment Aligner
This is a little script that will take in a file, rip through it aligning the assignment characters into a column.
"=", ":", "-=", "*=", "+=", "=~", ".="
Example:
var bob = {
#Auto Assignment Aligner
This is a little script that will take in a file, rip through it aligning the assignment characters into a column.
"=", ":", "-=", "*=", "+=", "=~", ".="
Example:
var bob = {
## ! | |
## ! Simply add in the items here to the | |
## ! atom keymap file -- not intended as complete | |
## ! file. | |
## ! | |
'body': | |
'alt-cmd-right': 'pane:split-right' | |
'alt-cmd-left': 'pane:split-left' | |
'alt-cmd-up': 'pane:split-up' |
/* Full tutorial: http://codevinsky.ghost.io/phaser-2-0-tutorial-flappy-bird-part-4/ */ | |
'use strict'; | |
var Pipe = function(game, x, y, frame) { | |
Phaser.Sprite.call(this, game, x, y, 'pipe', frame); | |
this.anchor.setTo(0.5, 0.5); | |
this.game.physics.arcade.enableBody(this); | |
this.body.allowGravity = false; | |
this.body.immovable = true; |
/* Full tutorial: http://codevinsky.ghost.io/phaser-2-0-tutorial-flappy-bird-part-3/ */ | |
'use strict'; | |
var Bird = function(game, x, y, frame) { | |
Phaser.Sprite.call(this, game, x, y, 'bird', frame); | |
this.anchor.setTo(0.5, 0.5); | |
this.animations.add('flap'); | |
this.animations.play('flap', 12, true); | |
/* Full tutorial: http://codevinsky.ghost.io/phaser-2-0-tutorial-flappy-bird-part-2/ */ | |
'use strict'; | |
var Bird = function(game, x, y, frame) { | |
Phaser.Sprite.call(this, game, x, y, 'bird', frame); | |
this.anchor.setTo(0.5, 0.5); | |
// add flap animation and begin playing it | |
this.animations.add('flap'); | |
this.animations.play('flap', 12, true); |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
fruitList : null, | |
init() { | |
this._super(...arguments); | |
let fruit = Ember.A(); | |
fruit.addObject({name:'Apple'}); |
void main() { | |
test('bob'); | |
test('Bob'); | |
test('jimmy'); | |
test('Hello there colorful world'); | |
test('Help'); | |
test('hell'); | |
test('D0D0D0'); | |
test('##@#!!#**#'); | |
} |
.lv : Print Variable | |
ANY → print(f"[M@] $expr$ = [{$expr$}]")$END$ | |
// ./public/electron.js | |
// --------------- | |
const PORT = 3000; | |
const WIN_WIDTH = 800; | |
const WIN_HEIGHT = 600; | |
const LAUNCH_FILE = '../build/index.html'; | |
// --------------- | |
const path = require('path'); |