Skip to content

Instantly share code, notes, and snippets.

Ember, back and there again

Rajasegar Chandran rajasegar

Ember, back and there again
Block or report user

Report or block rajasegar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
rajasegar / ruby-ast-explorer.yml
Created Aug 31, 2019
A Gist generated by ruby-ast-explorer
View ruby-ast-explorer.yml
View ruby-ast-explorer.yml
rajasegar / parse-test.rb
Created Aug 27, 2019
Converting s-exp to json
View parse-test.rb
require 'parser/current'
require 'json'
code ='sample.rb')
ast = Parser::CurrentRuby.parse(code)
#pp ast
@indent = 0
rajasegar / source.rb
Created Aug 19, 2019
View source.rb
tips = ["hello", "world"]
def print_tips

This was a long pending blog post (since 2018) but I wish not to miss the deadline this time. After having worked with Angular for a brief period of 6 months, building websites with jQuery and creating products with Ember, I am so grateful that I have decided to stay with this framework for 4 long years and would still continue to do so. So here are my thoughts or rather the wish list that Ember as a community should solve in the near future.

1. Documentation / easing new developer onboarding

Being an experienced Ember developer myself, on-boarding new and fresh minds from a different background of frameworks into teams that use Ember, has been quite a challenge. Not because it is difficult to learn, but the dots around the documentation need a bit more connectivity. I’m su

rajasegar / bash_alias
Last active Nov 15, 2019
My list of bash aliases
View bash_alias
# to describe aliase => $ type rd
# to view list of aliases => $ alias
# my bash aliases
alias rd='rm -Rf'
alias cx='cp -R'
alias lst='ls -lh'
alias ls='ls -lhGs'
rajasegar / bundles.js
Created Nov 17, 2018
Ember Build multiple app trees
View bundles.js
/* jshint node : true */
module.exports = [{
name: 'contacts',
packages: ['contacts'],
handledRoutesPatterns: ['/contact'],
routeNames: ['^contact']
rajasegar / publish-docs
Created Oct 8, 2018
Publish demo app to gh-pages
View publish-docs
REPO_NAME=$(sed -n '/name/p' package.json | awk '{print $2}' | sed 's/"//g; s/,//g')
# Clean up dist folder
# Run the build
npm run build
rajasegar / publish-docs
Last active Sep 17, 2018
npm script to publish Ember addon dummy app as demo in github pages
View publish-docs
rm -Rf dist/*
ember build --env=production
mkdir /tmp/ember-aria-accordion
cp -R dist/* /tmp/ember-aria-accordion
git checkout gh-pages
rm -Rf ./*
cp -R /tmp/ember-aria-accordion/* ./
git add .
git commit -m "Publishing docs for $(git describe --tags)"
View logical-cohesion2.js
function inputTimeCard(timeCard) {
// Input all the employee time-card information
function inputInventory(inventory) {
// Input all the inventory data
function inputCustomer(customer) {
// Input all the customer names
You can’t perform that action at this time.